Anonymous | Login | Signup for a new account | 2023-05-30 19:32 CDT | ![]() |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Viewing Issue Simple Details [ Jump to Notes ] [ Wiki ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||
ID | Category | Type | Reproducibility | Date Submitted | Last Update | |
0001400 | [In-Portal CMS] Front End | feature request | N/A | 2012-09-16 06:47 | 2012-09-16 06:47 | |
Reporter | alex | View Status | public | Project Name | In-Portal CMS | |
Assigned To | Developer | |||||
Priority | normal | Resolution | open | Fixed in Version | ||
Status | active | Product Version | 5.1.3 | Target Version | 5.3.0 | |
Time Estimate | No estimate | |||||
Summary | 0001400: MenuHelper improvements | |||||
Description |
Right now we have nice <inp2:st_CachedMenu .../> tag, that prints every menu on website without doing a database query. This works good, however in some projects I came across situations where a new database field (e.g. extra css class name) was added to a page (category) and this field needs to be used during menu printing. This requires to override 2 methods in MenuHelper class. I'm proposing to create an array (as a property of MenuHelper class), where mapping is created between Categories database table fields and parameter names, used to retrieve their values from template. Here is an example array: Array ( 'parent_path' => 'ParentPath', 'icon' => Array ('Icon', 'resize:100x100'), ); Then these parameters would be used with GetField method. |
|||||
Additional Information | Also need to reset menu cache, when either of these new fields will be changed in a category record. | |||||
Tags | No tags attached. | |||||
Reference | https://groups.google.com/d/topic/in-portal-dev/RZZdi1nXX0k/discussion | |||||
Change Log Message | Adds ability to display any fields inside a menu elements | |||||
Estimate Points | 1 | |||||
Attached Files | ||||||
|
![]() |
|
There are no notes attached to this issue. |
![]() |
|||
Date Modified | Username | Field | Change |
2012-09-16 06:47 | alex | New Issue | |
2012-09-16 06:47 | alex | Reference | => https://groups.google.com/d/topic/in-portal-dev/RZZdi1nXX0k/discussion |
2012-09-16 06:47 | alex | Change Log Message | => Adds ability to display any fields inside a menu elements |
2012-09-16 06:47 | alex | Estimate Points | => 1 |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic![]() In-Portal Open Source CMS |