dcistudios2009-05-05 17:43 | Hi all, I am trying to add the subpages of a News section (cat 25) to my homepage, right underneath the left menu. Spent hours on this forum and could not find an answer. Any help would be greatly appreciated. » Quick.Cms v2.x |
treewood (OpenSolution)2009-05-06 07:11 | edit templates/themes/default.php and paste:
<!-- BEGIN SUBPAGES_LIST_1 --><li class="l$aData[sStyle]"><h4><a href="$aData[sLinkName]">$aData[sName]</a></h4>$aData[sDescriptionShort]</li> <!-- END SUBPAGES_LIST_1 -->
|
dcistudios2009-05-06 08:07 | Treewood. Thanks a bunch. |
cgan2009-05-07 13:30 | dcistudios - try to use "pages_news.tpl" just for your home page and use "pages_default.tpl" for your other pages. cgan |
dcistudios2009-05-07 16:17 | cgan...youre right, that will work. Tks |
dcistudios2009-06-12 16:37 | Hi Treewood, |
Makaron2009-06-15 07:45 | You can make another theme for start page: http://opensolution.org/Quick.Cms/docs/?id=tips#themes_-_changing_design_of_all_page_on_particular_subpage |
info@german-fight-company.de2012-08-30 12:20 | Hy, how does it work in v4? it looks like that the system dont use the template file page_news.tpl it uses the default list template from pages_default.tpl. |