In-Portal Issue Tracker - Custom (Dev. Kit)
Viewing Issue Advanced Details
1008 [In-Portal CMS] Admin Interfaces refactoring always 2011-03-01 17:42 2011-03-30 09:58
Dmitry  
alex  
normal  
closed 1.1.2-B1  
fixed  
 
none 1.1.2-RC1  
https://groups.google.com/d/topic/in-portal-dev/5xuIr0Fp5Mo/discussion
Improved Admin templates to use default parameters
0
0001008: Use Default Template parameters in Admin templates
Currently in list/edit templates at least 3 words are repeated a lot, which makes harder to create one section from another:

- unit config prefix
- grid name

We could unify them by using <inp2:m_DefaultParam tag like this:

<inp2:m_DefaultParam prefix="widget" grid="Default" title_preset="widget_list" section="custom:widgets" edit_template="custom/widgets/widget_edit" id_field="WidgetId"/>

and where needed replace "widget" with $prefix (when inside the tag) and with <inp2:m_Param name="prefix"/> (when inside HTML).
patch Default-Template-Parameters-in-Admin-WIDGETS.patch (13,885) 2011-03-01 17:42
http://tracker.in-portal.org/file_download.php?file_id=955&type=bug
Issue History
2011-03-30 09:58 Dmitry Note Added: 0003378
2011-03-30 09:58 Dmitry Status resolved => closed
2011-03-22 05:58 alex Fixed in Version 1.1.2 => 1.1.2-RC1
2011-03-22 05:57 alex Note Added: 0003309
2011-03-22 05:57 alex Status reviewed and tested => resolved
2011-03-22 05:57 alex Fixed in Version => 1.1.2
2011-03-22 05:57 alex Resolution open => fixed
2011-03-22 05:57 alex Assigned To !COMMUNITY => alex
2011-03-22 05:57 alex Changeset attached 1.1.x r14287
2011-03-22 05:56 alex Note Added: 0003308
2011-03-22 05:56 alex Status needs testing => reviewed and tested
2011-03-01 17:43 Dmitry Note Added: 0003285
2011-03-01 17:43 Dmitry Assigned To => !COMMUNITY
2011-03-01 17:43 Dmitry Developer => Dmitry
2011-03-01 17:43 Dmitry Status active => needs testing
2011-03-01 17:42 Dmitry New Issue
2011-03-01 17:42 Dmitry File Added: Default-Template-Parameters-in-Admin-WIDGETS.patch
2011-03-01 17:42 Dmitry Reference => https://groups.google.com/d/topic/in-portal-dev/5xuIr0Fp5Mo/discussion
2011-03-01 17:42 Dmitry Change Log Message => Improved Admin templates to use default parameters

Notes
(0003285)
Dmitry   
2011-03-01 17:43   
Please test
(0003308)
alex   
2011-03-22 05:56   
ok
(0003309)
alex   
2011-03-22 05:57   
Fix committed to 1.1.x branch. Commit Message:

Fixes 0001008: Use Default Template parameters in Admin templates
(0003378)
Dmitry   
2011-03-30 09:58   
Closing, since 1.1.2 release has been released.