View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004267 | OXID eShop (all versions) | 3.1. Design, GUI, UX | public | 2012-07-17 16:40 | 2015-03-09 11:54 |
| Reporter | Souleater | Assigned To | |||
| Priority | normal | Severity | feature | Reproducibility | always |
| Status | closed | Resolution | suspended | ||
| Target Version | 4.9.0_5.2.0_RC1 | ||||
| Summary | 0004267: Dynamic layout for 0, 1 and 2 sidebars | ||||
| Description | When we have no sidebars and delete the sidebarLeft class from the page layout to utilize the full width of the page, then we have a problem with the categories in tpl/page/list/list.tpl because of [{if $iSubCategoriesCount%4 == 0}] it adds the 5th box directly behind the 4th without the padding So because the sidebar is missing we have 1 more column so it should be then [{if $iSubCategoriesCount%5 == 0}] If we have both sidebars, it should be [{if $iSubCategoriesCount%3 == 0}] So we should check if there is a sidebar (classes exist sidebarLeft / sidebarRight? if $sidebar) and then decide how many columns we have for the category boxes So it automatically changes the layout and output for the category boxes and we do not have to manually change it in the tpl file Live Demo: http://s3.euroblaze.de/462/Kiteboarding/ Delete the node / element / the left sidebar with firebug or something else and change <div id="page" class=" sidebarLeft"> to <div id="page" class=""> | ||||
| Tags | Category | ||||
| Theme | Azure | ||||
| Browser | All | ||||
| PHP Version | any | ||||
| Database Version | any | ||||