request.element.isStatic = 0; posts = attributes.elementInfo.elementData.propertyValues;

Latest Blog Posts

For #monthAsString(request.params.month)#/#request.params.year#

// Get the comments for the posts commentCount = application.ptBlog2.cedata.getCountForElementField(ceName="Comments2", fieldName="postID", fieldValue=posts[itm].values.postID); // Check if comments are allowed if ( posts[itm].values.allowComments EQ 1 ) renderComments = true; else renderComments = false;

#posts[itm].values.title#

#dateFormat(posts[itm].values.datePosted, "mmmm dd, yyyy")#
#posts[itm].values.slug#

Tags: #replace(tagNameList, "^", ", ", "all")#