MM_Content_Data SmartTag

This tag outputs data associated with the page/post ID passed or the current page/post.


id (optional) - The ID associated with the page/post to retrieve data for. If this is not set, the ID of the current page/post will be used.

name - Indicates what type of data to output for the page/post. Below is a list of acceptable values:

Value Description
dateAvailable Outputs the date the page/post became/becomes avaialable to the current member
noAccessMessage (optional) By default, this tag will output nothing when the current member doesn't have access to the page/post ID specified. If you want to have a custom message be displayed in this case then you would set it here. You can use text or valid HTML here.
dateFormat (optional) By default, dates will be output in the format: Oct 14, 2013. If you want to use a custom date format, use this attribute to specify what format you want the date to be in. Use standard PHP date format rules when defining a custom format.

title Outputs the title of the page/post


<a href="[MM_Content_Link id='120']">[MM_Content_Data id='120' name='title']</a>

Date Available: [MM_Content_Data name='dateAvailable' dateFormat='M j, Y g:i a' noAccessMessage='no access']

Feedback and Knowledge Base