zesty.io

Product

Use Cases

Integrations

Learn

Instance Functions

Learn how to use all of Parsley's instance functions to access instance variables.

instance.cdn

#

Access the full url to the Satellite™ CDN.

instance.date()

#

Access the date from the Satellite. Additional formatting options.

Please note that this Parsley call outputs the current date in GMT time zone.

instance.host_env

#

Shows the instance's webengine URL. This only works in preview - not on live.

instance.host_live

#

Shows you the instance's first registered domain. This only works in preview - not on live.

instance.host_preview (or instance.host_relative)

#

Shows an instance's preview URL. This only works in preview - not on live.

instance.host_protocol

#

Shows the instance's protocol based on its settings. This only works on preview - not on live.

instance.searchformatted(search_term)

#

Search a Satellite's meta titles and descriptions.

Returns search results in this format:

Parsley code used to return the the search results:

instance.domain

#

If domain is set for the instance, this call will return it.

instance.lorem(number)

#

Generate lorem ipsum placeholder text on the fly.

instance.sendemail(subject, body, to_address)

#

Send an email with a Parsley call. This requires a verified email in settings > contact form. Use ,, the ascii code for a comma in place of commas in the subject and body arguments.

instance.subnav()

#

Generate a formatted Sub Navigation.

show two sub levels and the auto generated header

instance.truepath(ZUID)

#

Truepath takes in a UUID-like identifier, called a "ZUID", which can be located in the the Zesty.io Manager url. Truepath returns a perfect url path to the znode content id. Use true path to ensure links never break.

Connect with Content Experts

Book a free 15-minute consultation with a content expert. Discuss your application, pain points and requirements. Understand how Zesty's lower total cost of ownership, features, functionality can elevate your business by creating extraordinary digital experiences.

Trusted By

zesty customer logo Sonyzesty customer logo Rocket Leaguezesty customer logo Singlifezesty customer logo Acornszesty customer logo Phoenix Sunszesty customer logo Wattpadzesty customer logo Corner Shopzesty customer logo Bjs

Enter your details to connect with a Content Expert

First Name

Last Name

Email

Phone (optional)

Company

Please tell us about your project (optional)

G2 MOMENTUM LEADER

zesty customer logo zesty customer logo zesty customer logo zesty customer logo