Notes |
|
(0003934)
|
erik
|
2011-09-28 10:40
|
|
Patch attached - needs testing |
|
|
(0003981)
|
alex
|
2011-10-03 12:33
|
|
1. It's not efficient solution to create small "config_updated_notice.tpl" file and include it in other files. For this task you should have created DefineElement into "config_blocks.tpl" file, that is included in needed places anyway and use RenderElement tag to show it.
2. In "config_updated_notice.tpl" file there is no need to use pass_params parameter, since there are no parameters passed to "config_updated_notice.tpl" template, that are needed to be passed into "form_message" design block.
3. Tag m_ParamEquals is deprecated. You should use "equals_to" parameter with check="m_Param" attribute instead. Actually you can simply check:
<inp2:m_if check="m_Param" name="is_warning"> ... </inp2:m_if>
This approach is widely used across "core" In-Portal code.
4. You've changed "style_template.css" but there is nor updated skin version in install_data.sql file neither patch in upgrades.css file.
Please:
- put "style_template.css" contents into your current skin (except top comment) - export record from Skins table into install_data.sql file (keep DEFAULT instead of skins id)
- use "Create Patch ..." command of TortoiseSVN to create patch from "style_template.css" file
- place content of the patch under proper version in "upgrades.css" file
- keep empty line at the end of the file
- test upgrade from previous In-Portal version and verify, that primary skin is really updated with your new CSS style
5. Why there is check for "system_tools" template name. If possible, then just add:
$event->SetRedirectParam('action_completed') or similar at the end of needed events and check it in template using <inp2:m_if check="m_Get" name="action_completed"> ... </inp2:m_if> construct. |
|
|
(0004001)
|
erik
|
2011-10-04 09:20
|
|
save_config_message_1118.2.patch attached - needs testing |
|
|
(0004019)
|
alex
|
2011-10-05 08:22
|
|
Tested, but few things that were fixed:
1. Patch added to "upgrades.css" should combine all skin css file changes aross 5.2.0-B1 version.
2. Session variable name changed from "conf_was_updated" to "config_was_updated".
3. Design "form_message" parameter is_warning="1/0" replaced to type="warning/notice".
4. Notice message color changed from black to green.
Also added fixes (not related to this task, but too small to create new one):
1. debugger reports were not deleted when "Clear Template Cache" button was clicked
2. there were several warning message during template cache delete, when folders without PHP files were processed |
|
|
(0004020)
|
alex
|
2011-10-05 08:22
|
|
Fix committed to 5.2.x branch. Commit Message:
Fixes 0001118: Show "saved message" on Saving Configuration Settings in Admin
Commit on behalf of Erik |
|
|
(0005104)
|
alex
|
2012-07-25 05:33
|
|
Since 5.2.0 version was released. |
|