Feature proposal #2415
closedtemplate files for integrations
Description
Add the ability for template files to be used in integrations, if none found use hardcoded template. Also check for CSS files in relation to the plugin. For example if the plugin is cbgroupjiveabout then it will look for cbgroupjiveabout.php and cbgroupjiveabout.css in template folder to be used for display. Structure would be as follows (just an example!).
File Names:
cbgroupjiveabout (main display)
cbgroupjiveabout_edit (edit display, if any)
cbgroupjiveabout_params (parameter display in Group/Category edit)
Classes:
HTML_cbgroupjiveabout
HTML_cbgroupjiveaboutEdit
HTML_cbgroupjiveaboutParams
Functions:
showAbout
showAboutEdit
showAboutParams
Updated by krileon almost 14 years ago
- Assignee set to krileon
- Target version set to 2.1
Test implementation to About plugin successful. Please note if a PHP replacement is not found it won't affect the loading of CSS so you could have cbgroupjiveabout.css and replace the core display CSS of the integration! Will be integrated into remaining integrations.
Updated by krileon almost 14 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Implemented in r1644