WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
<pre class="code"><ul id="myGallery" class="image-overlay"><li><a href="http://www.domain.tld"> <img alt="Image 1" src="yourimages/Image1.jpg"/> <div class="caption"> <h3>My Image</h3> <p>click for more info</p> </div> </a> </li></ul></pre>
sort_by... 5:= number of comments
Seems to work. It would be good to display number of comments after the date in news list.
<tt>COMMENTS: </tt>{COMMENTS}<br />
<div class="anynews"><h2>{TXT_HEADER}</h2><!-- BEGIN news_block --><p><strong>{TITLE} {POSTED_WHEN}</strong></p>{CONTENT_SHORT}<!-- BEGIN readmore_link_block --><p><a href="{LINK}">{TXT_READMORE}</a></p><!-- END readmore_link_block --><hr /><!-- END news_block --></div>
<div class="anynews"><h2>{TXT_HEADER}</h2>Number of comments: {COMMENTS}<br /><!-- BEGIN news_block --><p><strong>{TITLE} {POSTED_WHEN}</strong></p>{CONTENT_SHORT}<!-- BEGIN readmore_link_block --><p><a href="{LINK}">{TXT_READMORE}</a></p><!-- END readmore_link_block --><hr /><!-- END news_block --></div>
<div class="anynews"><h2>{TXT_HEADER}</h2><!-- BEGIN news_block --><p><strong>{TITLE} {POSTED_WHEN}</strong></p>Number of comments: {COMMENTS}<br />{CONTENT_SHORT}<!-- BEGIN readmore_link_block --><p><a href="{LINK}">{TXT_READMORE}</a></p><!-- END readmore_link_block --><hr /><!-- END news_block --></div>
if (function_exists('displayNewsItems')) { displayNewsItems( $group_id = 2, $max_news_items = 10, $max_news_length = -1, $display_mode = 1, $lang_id = 'auto', $strip_tags = true, $allowed_tags = '<p><a><img>', $custom_placeholder = false, $sort_by = 1, $sort_order = 1, $not_older_than = 0 );}