View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004266 | OXID eShop (all versions) | 1.04. Content, static (register, contact etc.) pages | public | 2012-07-17 16:15 | 2013-01-24 15:05 |
Reporter | ray | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.6.2 revision 46646 | ||||
Summary | 0004266: not possible to sort category-CMS-page to the end of categories | ||||
Description | If you choose "category" as option for a CMS page, you are asked to insert it before an already existing category. It is not possible to sort it after an existing category. So the idea to sort it as last category was, to create a new "dummy" category, activate and hide it, then sort the CMS page before this new one. But as long as this dummy is set to "hide", the CMS-page will not be diplayed as well. Please implement either the option to insert a category-CMS after an existing category - or prevent hiding when assigned category is hided. | ||||
Tags | Category, CMS | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
Hi, to make it visible, you should change the templates as follows: azure/tpl/widget/sidebad/categoriestree.tpl line 7, set as follows: [{foreach from=$categories item=_cat}] [{* CMS category *}] [{if $_cat->getContentCats() && $deepLevel > 1 }] [{foreach from=$_cat->getContentCats() item=_oCont}] <li class="[{if $oContentCat && $oContentCat->getId()==$_oCont->getId() }] active [{else}] end [{/if}]" > <a href="[{$_oCont->getLink()}]">[{ $_oCont->oxcontents__oxtitle->value }]</a> [{/foreach}] [{/if }] [{if $_cat->getIsVisible() }] [{* subcategories *}] <li class="[{if !$oContentCat && $act && $act->getId()==$_cat->getId() }]active[{elseif $_cat->expanded}]exp[{/if}][{if !$_cat->hasVisibleSubCats}] end[{/if}]"> <a href="[{$_cat->getLink()}]"><span></span>[{$_cat->oxcategories__oxtitle->value}] [{ if $oView->showCategoryArticlesCount() && ($_cat->getNrOfArticles() > 0) }] ([{$_cat->getNrOfArticles()}])[{/if}]</a> [{if $_cat->getSubCats() && $_cat->expanded}]
[{/if}] [{/if}] this will fix sidebar categories list. This place requires some refactoring, so that CMS pages as categories would not be assigned to actual categories. We will look into making this happen. For future notes, please refear to 0004831 ticket. |
|
Closing as duplicate, refear to 0004831 ticket. |