i have some "trouble" to understand this:
The plugin pagebreak.php can be override and the plugin pagenavigation.php can´t override

Where is my mistake?
What she said! This is what I want to do also.Chrissy wrote: Hi again
Im starting to get frustrated.
All i want to do is to change the two >> in the links in to a single ».
I have changed all the othyer >> on the site without problem.
Im sure its not suppose to be this complicated.![]()
Code: Select all
...
$chromePath = JPATH_THEMES.DS.$mainframe->getTemplate().DS.'html'.DS.'pagenavigation.php';
if (file_exists($chromePath))
require_once ($chromePath);
if (!function_exists('plgContentNavigation')) {
function plgContentNavigation( &$row, &$params, $page=0 )
{
//...
}
}
//move this to the end to ensure the function is available:
$mainframe->registerEvent( 'onBeforeDisplayContent', 'plgContentNavigation' );
rexkramer wrote:PageNav with Title Display
http://www.eboga.org/cms/joomla/page-navigation.html
Is this possible with Overrides?
Is this too much additional code, cause overrides do mostly cosmetics?!?
TIA!
Thank you for your investigations! Makes sense.The pagination.php override works because the core pagination.php itself is set up to check for an override. It would be good to have a similar check within core pagenavigation.php as well.
But why? May be it's some kind of bug?dpk wrote:With 68Portal in Joomla 1.5.7 the pagebreak overrides have no effect and there is only raw output for the article table of contents. I have the same problem with another early 2008 template, so it may be a problem with certain templates and recent versions of Joomla.
Hello,Efedro wrote:But why? May be it's some kind of bug?dpk wrote:With 68Portal in Joomla 1.5.7 the pagebreak overrides have no effect and there is only raw output for the article table of contents. I have the same problem with another early 2008 template, so it may be a problem with certain templates and recent versions of Joomla.
Code: Select all
<table class="pagenav" align="center">
<tbody>
<tr>
<th class="pagenav_prev">
<a href="url-here">< Prev</a>
</th>
<td width="50"> </td>
<th class="pagenav_next">
<a href="url-here">Next ></a>
</th>
</tr>
</tbody>
</table>