-
-
Save thetrickster/0febde7316e8f66ff013 to your computer and use it in GitHub Desktop.
Default Business Catalyst Blog Post List Layout at "/Layouts/Blog/postlist.html"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="blog-post"> | |
<h2 class="post-title">{tag_blogposttitle}</h2> | |
<div class="post-details">{tag_blogpostauthor} - {tag_blogpostdate}</div> | |
<div class="post-body">{tag_blogpostbodypreview, Read More} | |
<div class="links"><a onclick="document.getElementById('comments_{tag_blogpostid}').style.display='inline';return false;" href="#">Comments ({tag_commentcount})</a> | <a onclick="document.getElementById('trackbacks_{tag_blogpostid}').style.display='inline';return false;" href="#">Trackbacks ({tag_trackbackcount})</a> | {tag_permalink}</div> | |
</div> | |
<div id="trackbacks_{tag_blogpostid}" class="trackbacks" style="display: none;"> | |
<dl> | |
<dt>Trackback Link</dt> | |
<dd>{tag_trackbacklink}</dd> | |
<dt>Trackbacks</dt> | |
<dd>{tag_trackbacklist}</dd> | |
</dl> | |
</div> | |
<!-- END #trackbacks --> | |
<div id="comments_{tag_blogpostid}" style="display: none;"> | |
<div class="comment-list"> | |
<h5>Comments</h5> | |
{tag_commentlist}<hr /> | |
<form onsubmit="return checkWholeForm(this)" action="/RatingProcess.aspx?OID={tag_blogpostid}&OTYPE={tag_blogposttype}" method="post"> | |
<h5>Post a Comment</h5> | |
<div class="form"> | |
<div class="item"> <label>Name (optional)</label><br /> | |
<input maxlength="255" name="fullname" class="cat_textbox_small" /> </div> | |
<div class="item"> <label>Website (optional)</label><br /> | |
<input maxlength="255" name="website" class="cat_textbox_small" /> </div> | |
<div class="item"> <label>Email Address (optional)</label><br /> | |
<input maxlength="255" name="emailaddress" class="cat_textbox_small" /> </div> | |
<div class="item"> <label>Please fill in the text in the image in the box below</label><br /> | |
<img src="/CaptchaProcess.aspx?color=skyblue" alt="Captcha Image" /><br /> | |
<input class="cat_textbox_small" id="Captcha" name="Captcha" /> <input id="CaptchaH" type="hidden" value="{module_captcha}" name="CaptchaH" /> </div> | |
<div class="item"> <label>Your comment</label><br /> | |
<textarea name="Feedback" class="cat_listbox_small"></textarea> </div> | |
<div class="item"> <input type="submit" value="Submit" /> </div> | |
</div> | |
<script type="text/javascript" src="/CatalystScripts/ValidationFunctions.js"></script> | |
<script type="text/javascript"> //<![CDATA[ function checkWholeForm(theForm){var why = "";if (theForm.EmailAddress) if (theForm.EmailAddress.value.length > 0) why += checkEmail(theForm.EmailAddress.value);if (theForm.Captcha && theForm.CaptchaH)if(formfield(theForm.Captcha.value,'allupper')!= theForm.CaptchaH.value)why += appendBreak("- Word verification is incorrect.");if (why != ""){alert(why);return false;}return true;} //]]> </script> | |
</form> | |
</div> | |
<!-- END .comment-list --></div> | |
<!-- END #comments --></div> | |
<!-- END .blog-post --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment