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!

Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0001162 [In-Portal CMS] Front End feature request N/A 2011-11-09 10:49 2012-07-25 05:32
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.2.0-B1
Status closed Product Version 5.1.3 Target Version 5.2.0
Time EstimateNo estimate
Summary 0001162: Ability to specify module in theme.xml file
Description Starting with In-Portal 5.0.0 there is ability to create "theme.xml" file under "_install" folder in theme. This file holds meta-information that is used to interact with theme templates.
You can even create "_install" folder under each module sub folder in one theme, e.g.

/themes/theme_folder/_install/theme.xml - in-portal file
/themes/theme_folder/in-commerce/_install/theme.xml - in-commerce module file

Right now I'm integrating (infusing pure HTML slice-up with In-Portal tags) new In-Commerce theme and I don't have any "in-commerce" module sub-folder to place it's theme.xml into it.
So I've decided, that you can specify alternative module directly in theme.xml file to place all module-specific theme information into single theme.xml file.

Here the sample:

<theme>
    <default_design>designs/general</default_design>
    <section_design module="in-commerce">designs/section</section_design>
    <item_design module="in-commerce">products/details</item_design>
    <form_design>designs/form</form_design>
    <form_thankyou>thankyou</form_thankyou>
</theme>

In the above example is the contents of /themes/theme_folder/_install/theme.xml file and you can see how "section_design" and "item_design" have "module" attribute specified.
Additional Information
Tags No tags attached.
Reference https://groups.google.com/d/topic/in-portal-dev/zDguLYxkpBo/discussion
Change Log Message Allows to specify "module" attribute within "theme.xml" file
Estimate Points 1
Attached Files patch file icon module_in_theme_xml_feat.patch [^] (11,679 bytes) 2011-11-09 10:51 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0004148)
alex (manager)
2011-11-09 10:51

Will test all together later.
User avatar (0004149)
alex (manager)
2011-11-09 10:51

Fix committed to 5.2.x branch. Commit Message:

Fixes 0001162: Ability to specify module in theme.xml file
User avatar (0004150)
alex (manager)
2011-11-09 10:52

Main changes are in kThemesHelper class and other file changes are just a refactoring.
User avatar (0005058)
alex (manager)
2012-07-25 05:32

Since 5.2.0 version was released.

- Related Changesets
In-Portal CMS: 5.2.x r14753
Timestamp: 2011-11-09 10:51:47
Author: alex
Details ] Diff ]
Fixes 0001162: Ability to specify module in theme.xml file
mod - /in-portal/branches/5.2.x/core/install/install_toolkit.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/managers/rewrite_url_processor.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/helpers/mod_rewrite_helper.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/helpers/themes_helper.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2012-07-25 05:32 alex Note Added: 0005058
2012-07-25 05:32 alex Status resolved => closed
2011-11-09 10:52 alex Note Added: 0004150
2011-11-09 10:51 alex File Added: module_in_theme_xml_feat.patch
2011-11-09 10:51 alex Note Added: 0004149
2011-11-09 10:51 alex Status reviewed and tested => resolved
2011-11-09 10:51 alex Fixed in Version => 5.2.0-B1
2011-11-09 10:51 alex Resolution open => fixed
2011-11-09 10:51 alex Assigned To !COMMUNITY => alex
2011-11-09 10:51 alex Changeset attached 5.2.x r14753
2011-11-09 10:51 alex Note Added: 0004148
2011-11-09 10:51 alex Status needs testing => reviewed and tested
2011-11-09 10:51 alex Assigned To => !COMMUNITY
2011-11-09 10:51 alex Developer => alex
2011-11-09 10:51 alex Status active => needs testing
2011-11-09 10:51 alex Reference => https://groups.google.com/d/topic/in-portal-dev/zDguLYxkpBo/discussion
2011-11-09 10:49 alex New Issue
2011-11-09 10:49 alex Change Log Message => Allows to specify "module" attribute within "theme.xml" file
2011-11-09 10:49 alex Estimate Points => 1



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

Powered by Mantis Bugtracker