In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

View Revisions: Issue #359 All Revisions ] Back to Issue ]
Summary 0000359: Two different urls will lead to same physical template on Front-End
Revision 2009-10-08 11:40:08 by Dmitry
Additional Information
Revision 2009-10-08 11:40:08 by Dmitry
Additional Information I propose this fix:
1. during menu cache ("cms_menu" variable in Cache table) build also build special mapping (only for pages marked as IsMenu) where key is physical template name (plus path) and value is template name (plus path) used in url (e.g. Array ('terms' => 'terms-and-conditions')).
2. in m_Link tag, when given template name (with path) matches one, that is in mapping, then template name (with path) from mapping should be used.

Because st_CachedMenu only works with pages, that are marked as IsMenu, then proposed mapping will only cover that pages. Of course if anyone manually types physical template name in url, then it of course will be found too.



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker