joomla 2.5 view caching doesn't show JToolBarHelper stuff

For Joomla! 2.5 Coding related discussions, please use: http://groups.google.com/group/joomla-dev-general
Note: All 1.6, 1.7 and 3.5 releases have reached end of life and should be updated to 3.x.

Moderator: ooffick

Forum rules
Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.
Locked
kmchen
Joomla! Intern
Joomla! Intern
Posts: 57
Joined: Sat Oct 21, 2006 12:57 am
Location: marseille (13) france
Contact:

joomla 2.5 view caching doesn't show JToolBarHelper stuff

Post by kmchen » Fri Mar 25, 2016 5:39 pm

I use the controller display(true/false) for view catching.

The view's template contains some tootlbarHelpers like this:

Code: Select all

<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
JToolBarHelper :: title("Title shown in the cachable view" );
JToolBarHelper::help( 'help', JText::_( 'HELP ) );
?>
<div id='cachable_component'>
   ...some outputs
</div>
When the controller uses display(false) all the view is visible but when it uses display(true) the div is visible but not the JToolBarHelper. Did anyone faced that problem ?

Locked

Return to “Joomla! 2.5 Coding”