blogData = structNew(); comments = arrayNew(1); // TODO remove after development is completed request.element.isStatic = 0; blogDataArray = attributes.elementInfo.elementData.propertyValues; if( arrayLen(blogDataArray) ) { blogData = blogDataArray[1].values; blogData.dataPageID = blogDataArray[1].pageID; } blogFormID = application.ptBlog2.getBlogFormID(); commentsFormID = application.ptBlog2.getCommentsFormID(); comments = application.ptBlog2.commentsDAO.getCommentsByContentID(request.page.metadata.blogs2.postID, commentsFormID, "dateCreated", "desc"); // Get the contact data for the user who posted the blog if ( StructKeyExists(blogData, "createdBy") AND LEN(blogData.createdBy) ) contactQry = application.ptBlog2.csData.getContactData(userID=blogData.createdBy); else contactQry = QueryNew("null"); application.ptBlog2.scripts.loadJQuery(); application.ptBlog2.scripts.loadJQueryUI(); // Check if comments are allowed if ( blogData.allowComments EQ 1 ) renderComments = true; else renderComments = false;

#blogData.title#

#dateFormat(blogData.datePosted, "mmmm dd, yyyy")#
 
#blogData.content#

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

Leave a comment
 
--->

Comments

 
    #commentHTML#
 

Post A Comment

" class="feed">Subscribe to comments feed --->