Custom Entry

It is first important to note that you have access to all of your custom fields used to build your custom module. They can be accessed in the template by their variable name found in the admin, preceded by their object name. This would look something like:

{{ entry.first_name }}

Where entry is the object name, and first_name is the variable name.

Admin example:

Retrieve the id of the custom entry.

{{ entry.id }}

Retrieve the title of the custom entry.

{{ entry.title }}

Retrieve the body of the custom entry.

{{ entry.body }}

Retrieve the parent of the custom entry.

{{ entry.parent }}

Retrieve the created_at date of the custom entry.

{{ entry.created_at }}

Retrieve the updated_at date of the custom entry.

{{ entry.updated_at }}

Retrieve the publish date of the custom entry.

{{ entry.publish_date }}

Retrieve the expiration date of the custom entry.

{{ entry.expire_date }}

Retrieve the url path of the custom entry.

{{ entry.url_path }}

Check to see if the custom entry.allows comments.

{{ entry.allow_comments? }}

Check to see comments are closed for a custom entry.

{{ entry.comments_closed? }}

Check to see comments are expired for a custom entry.

{{ entry.comments_expired? }}

Check to see if there is next custom entry.in sequential order.

{{ entry.next? }}

Check to see if there is previous custom entry.in sequential order.

{{ entry.previous? }}

Retrieve the next custom entry.in sequential order.

{{ entry.next }}

Retrieve the previous custom entry.in sequential order.

{{ entry.previous }}

Check to see if there are breadcrumbs associated with the custom entry.

{{ entry.breadcrumbs? }}

Check to see if there are comments associated with the custom entry.

{{ entry.comments? }}

Check to see if there are tags associated with the custom entry.

{{ entry.tags? }}

Retrieve the comments count of the custom entry.

{{ entry.comments_count }}

Retrieve the breadcrumbs of the custom entry.

{{ entry.breadcrumbs }}

Retrieve the comments associated with the custom entry.

{{ entry.comments }}

Retrieve the tags associated with the custom entry.

{{ entry.tags }}