Project

General

Profile

Actions

Feature proposal #2415

closed

template files for integrations

Added by krileon about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
14 March 2011
Due date:
% Done:

100%

Estimated time:

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

Actions

Also available in: Atom PDF