Project

General

Profile

Actions

Feature proposal #2415

closed

template files for integrations

Added by krileon over 11 years ago. Updated over 11 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 #1

Updated by krileon over 11 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.

Actions #2

Updated by krileon over 11 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Implemented in r1644

Actions #3

Updated by krileon over 11 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF