Changes between Version 20 and Version 21 of Plugin_Hooks
- Timestamp:
- Jul 9, 2009 5:52:53 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Plugin_Hooks
v20 v21 451 451 452 452 453 === template_container === 454 455 Allows a plugin the add HTML content to a specific container.[[BR]] 456 A skin template may specify several containers (e.g. taskbar, toolbar, etc...). This hook is triggered when the template engine processes such a container and it is also internally used for adding buttons using {{{$this->add_button(attrib, container)}}}. Remember to always add or prepend to the {{{content}}} argument and never replace it entirely. 457 458 ''Arguments:'' 459 * name: ''Name of the container'' 460 * content: ''The container content'' 461 462 ''Return values:'' 463 * content 464 465 453 466 === render_page === 454 467 455 Triggered after a temp alte was parsed, just before sending the HTML page to the client.[[BR]]468 Triggered after a template was parsed, just before sending the HTML page to the client.[[BR]] 456 469 This is the place where plugins can add additional content to the page which is not related to any template object. Use {{{$rcmail->output->add_footer()}}} or {{{$this->include_script()}}} to extend the html page. Of course it's also possible to directly alter the {{{content}}} attribute. 457 470
