WebsiteBaker 2.13.9 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
Hi there,I have a question. I implemented the blog menu in a codepage. When I click an item in the blocksection I've made, the news item appears in the contentbox but the list of history-items in the blocksection disappear (I hope you know what I mean).How can I change it?Regards,Ton
but the list of history-items in the blocksection disappear
After installing the menu can be called from a code section or from the template itself with the following function:Code: [Select]display_blog_menu($page_id,$date_option,$group_header,$history_header)
display_blog_menu($page_id,$date_option,$group_header,$history_header)
Snippet works as follows:Code: [Select]display_blog_menu($page_id,$date_option,$group_header,$history_header,$display_option)In which:page_id => the news page you want to generate the menu fromdate_option => 0:=summarize according posted date (default), 1:=summarize according published dategroup_header => header above the group menu (default: '<h1>Categories</h1>')history_header => header above the group menu (default: '<h1>History</h1>')display_option =>0:=show both history and categories (default); 1:=show only history; 2:=show only categories
display_blog_menu($page_id,$date_option,$group_header,$history_header,$display_option)
<?php if (PAGE_ID != 8) { display_news_items();} else { display_blog_menu(8,1,'<h2>Onderwerpen</h2>','<h2>Historie</h2>');}?>
Works great - running on WB2.7.
Changing this setting only affects future articles – it will not change the Commenting setting in existing articles!
None found
http://www.e-daktik.de/pages/artikel.php?g=6?g=6
http://www.e-daktik.de/pages/artikel.php?g=6
<td valign="top"><a href="[BACK]">[PAGE_TITLE]</a> >> <a href="[BACK]?g=[GROUP_ID]">[GROUP_TITLE]</a></td>
<td valign="top"><a href="/pages/artikel.php">[PAGE_TITLE]</a> >> <a href="/pages/artikel.php?g=[GROUP_ID]">[GROUP_TITLE]</a></td>