In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
90 [In-Portal CMS] Front End bug report always 2009-06-17 08:41 2009-11-13 13:59
alex  
alex  
critical  
closed 5.0.0  
fixed  
 
none 5.0.0  
0
0000090: Sitemap Template is Broken
When I go to sitemap template (link in right footer corner on every page) I get error "Fatal Error: Rendering of undefined element more_link_elem". I've tried to use "more_link_elem1" block, that is defined in "categories.elm.tpl", that is included into sitemap, but that raised another error and so on.
jpeg SiteMap.jpeg (157,787) 2009-06-23 19:37
http://tracker.in-portal.org/file_download.php?file_id=15&type=bug
jpeg

? sitemap.tpl (1,689) 2009-06-23 19:39
http://tracker.in-portal.org/file_download.php?file_id=16&type=bug
? categories.elm.tpl (5,792) 2009-06-23 19:39
http://tracker.in-portal.org/file_download.php?file_id=17&type=bug
Issue History
2009-11-13 13:59 alex Note Added: 0001144
2009-11-13 13:59 alex Status resolved => closed
2009-11-13 13:59 alex Fixed in Version => 5.0.0
2009-11-13 12:57 Dmitry Changeset attached RC r11879
2009-11-13 12:57 Dmitry Changeset attached RC r11880
2009-11-13 12:57 alex Changeset attached RC r11893
2009-11-13 12:57 alex Note Added: 0001097
2009-11-13 12:57 alex Status closed => resolved
2009-11-13 12:57 alex Fixed in Version 5.0.0 =>
2009-10-03 07:56 administrator Note Added: 0000605
2009-10-03 07:56 administrator Status resolved => closed
2009-10-03 07:42 administrator Priority normal => critical
2009-07-01 04:46 alex Fixed in Version => 5.0.0
2009-07-01 04:45 alex Note Added: 0000115
2009-07-01 04:45 alex Status reviewed and tested => resolved
2009-07-01 04:45 alex Resolution reopened => fixed
2009-07-01 04:45 alex Changeset attached RC r11893
2009-07-01 04:45 alex Status needs work => reviewed and tested
2009-07-01 04:44 alex Status needs feedback => needs work
2009-07-01 04:44 alex Assigned To Dmitry => alex
2009-07-01 04:44 alex Note Added: 0000114
2009-07-01 04:44 alex Status resolved => needs feedback
2009-07-01 04:44 alex Resolution fixed => reopened
2009-06-29 13:51 Dmitry Changeset attached RC r11880
2009-06-29 13:46 Dmitry Note Added: 0000109
2009-06-29 13:46 Dmitry Status needs feedback => resolved
2009-06-29 13:46 Dmitry Resolution open => fixed
2009-06-29 13:46 Dmitry Changeset attached RC r11879
2009-06-24 12:10 alex Assigned To alex => Dmitry
2009-06-24 06:33 alex Note Edited: 0000107 bug_revision_view_page.php?bugnote_id=0000107#r85
2009-06-24 06:32 alex Status needs work => needs feedback
2009-06-24 06:32 alex Note Added: 0000107
2009-06-24 06:32 alex Status needs feedback => needs work
2009-06-24 06:29 alex Note Edited: 0000105 bug_revision_view_page.php?bugnote_id=0000105#r83
2009-06-23 19:39 Dmitry Assigned To Dmitry => alex
2009-06-23 19:39 Dmitry File Added: categories.elm.tpl
2009-06-23 19:39 Dmitry File Added: sitemap.tpl
2009-06-23 19:37 Dmitry File Added: SiteMap.jpeg
2009-06-23 19:37 Dmitry Note Added: 0000105
2009-06-23 19:37 Dmitry Status reviewed and tested => needs feedback
2009-06-18 23:43 Dmitry Assigned To => Dmitry
2009-06-18 23:43 Dmitry Status active => reviewed and tested
2009-06-18 23:43 Dmitry Target Version => 5.0.0
2009-06-18 23:43 Dmitry Summary Sitemap template is broken => Sitemap Template is Broken
2009-06-17 08:41 alex Category (No Category) => Front End
2009-06-17 08:41 alex New Issue

Notes
(0000105)
Dmitry   
2009-06-23 19:37   
(edited on: 2009-06-24 06:29)
There is really weird issue with ListCategories - it's repeating the same sub-categories for other categories (printed lower in the list).

Please take a look -- http://simone1.intechnic.com/dev/SVN/in-portal.full/index.php?env=-platform/site_map:m49-1-1-3-s-

Attaching:
- platform/site_map.tpl
- platform/elements/categories.elm.tpl

On another note - may be we should have a simple filter on IsMenu (via special or types) with ListCategories tag. In my opinion CachedMenu has a limited use and NOT the best for Sitemap.

(0000107)
alex   
2009-06-24 06:32   
(edited on: 2009-06-24 06:33)
1. For starters, there is types="menu" and except="menu" parameters for quite some time (created after prefixes "c" and "st" was merged). But it's possible, that links to categories built in result will differ from ones, that st_CachedMenu tag creates.
2. About repeating categories - does this happen with categories in sidebox on product listing page?

(0000109)
Dmitry   
2009-06-29 13:46   
Fix committed to RC branch. Commit Message:

Fixes 0000090: Sitemap fix, now lists "menu" sections using
    ,
  • elements
(0000114)
alex   
2009-07-01 04:44   
1. Fatal error when MoreLink tag is used (I have 30 sub-sections).
2. Link to sitemap in footer results in missing template.
(0000115)
alex   
2009-07-01 04:45   
Fix committed to RC branch. Commit Message:

1. Fixes 0000090: Sitemap Template is Broken.
2. PrintList2 tag wasn't passing parameters to MoreLink tag.
3. Block "more_link_elem" content was incorrect and this leaded to fatal error, when it was used.
4. Sitemap template was renamed from "site_map.tpl" to "sitemap.tpl", but references to it's old name in other templates were not.
(0000605)
administrator   
2009-10-03 07:56   
Closing issues from 5.0.0 version, because version was already released.
(0001097)
alex   
2009-11-13 12:57   
Fix committed to RC branch. Commit Message:

1. Fixes 0000090: Sitemap Template is Broken.
2. PrintList2 tag wasn't passing parameters to MoreLink tag.
3. Block "more_link_elem" content was incorrect and this leaded to fatal error, when it was used.
4. Sitemap template was renamed from "site_map.tpl" to "sitemap.tpl", but references to it's old name in other templates were not.
(0001144)
alex   
2009-11-13 13:59   
This task was resolved multiple times, because of themes were moved into separate modules. I will revert issue status and fixed in version fields back to normal manually.