Anonymous | Login | Signup for a new account | 2024-04-26 15:40 CDT |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Dependency Graph | [ View Issue ] [ Relation Graph ] [ Vertical ] | |||
|
||||
|
Viewing Issue Simple Details | |||||
ID | Category | Type | Reproducibility | Date Submitted | Last Update |
0001429 | [In-Portal CMS] Template System | bug report | always | 2012-11-05 10:43 | 2012-11-07 06:10 |
Reporter | alex | View Status | public | ||
Assigned To | alex | ||||
Priority | normal | Resolution | fixed | ||
Status | resolved | ||||
Summary | 0001429: Incorrectly included templates via <inp2:m_ModuleInclude tag | ||||
Description |
In-Portal has 2 tags, that allow to use same template multiple times on other different templates: * <inp2:m_Include - includes 1 given template * <inp2:m_ModuleInclude - includes given template from each module There is a problem with m_ModuleInclude tag in Admin Console, where he uses "core/" prefix to include templates from core module (see attached image). This works of course (otherwise whole "Structure & Data" section would be dead), but when you need to replace template, that is included (e.g. "catalog_tab" from core module), then you need to write "core/" before replaced template name. What I've described might not be a bug, but because of "Sections" tab in "Structure & Data" page is loaded via ajax and is accessing "catalog_tab" (and not "core/catalog_tab", that was replaced) resulting page uses original non-replaced template. Solution: Inside m_ModuleInclude tag when we have "core/" as module path, then strip it. This way template replacement will work. |
||||
Additional Information | We might try to risk and actually remove "core/" from Modules table and see how it will work afterwards. |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic In-Portal Open Source CMS |