I read the FAQ and decided to add the pagination navigation to my connection since it seemed to be easy to do. So, I opened my connection, switched to front list, switched to list display, selected Table, and in the footer section, added the magic _PAGINATION_NAV_ from the help section. When I test the connection, nothing shows up.
Well, I noticed that the help mentioned using Java code as well to do this. I went back to the list display of my table for my front list and replaced _PAGINATION_NAV with $this->view->Paginator->getNav();. When testing the connection, now it displays "$this->view->Paginator->getNav();" under the list of rows. It seems it's just ignoring the command. Is there a trick?
I checked the permissions and set all of them for public so it shouldn't be a permission problem.
What's going on and what am I missing?
Well, I noticed that the help mentioned using Java code as well to do this. I went back to the list display of my table for my front list and replaced _PAGINATION_NAV with $this->view->Paginator->getNav();. When testing the connection, now it displays "$this->view->Paginator->getNav();" under the list of rows. It seems it's just ignoring the command. Is there a trick?
I checked the permissions and set all of them for public so it shouldn't be a permission problem.
What's going on and what am I missing?
Hi nemesyssoft,
Please try:
If that doesn't work then please try switching temporarily to a default Joomla! template and see if that works, if it does then there may be some problem/conflict with the template CSS.
Bob
Please try:
<?php
$this->view->Paginator->getNav();
?>
If that doesn't work then please try switching temporarily to a default Joomla! template and see if that works, if it does then there may be some problem/conflict with the template CSS.
Bob
Hi nemesyssoft,
Please try:
<?php
$this->view->Paginator->getNav();
?>
If that doesn't work then please try switching temporarily to a default Joomla! template and see if that works, if it does then there may be some problem/conflict with the template CSS.
Bob
Thanks, Bob. I tried it but it's still not showing up. This time, it doesn't show anything, e.g. it doesn't show the $this->view->Paginator->getNav(); instruction.
Not sure how to resolve the problem or conflict with the template CSS..
Is it possible that the navigation would not show up if you don't have at least the maximum number of rows displayed on the page?
I'm thinking that this could be the case because I decided to add the _PAGINATOR_LIST_ macro to the footer and this one is showing just fine...
Replying to my own post since this forum doesn't seem very active. The pagination navigation will show up only if you have more than the maximum number of rows (30, hardcoded) on a single page.
I tried the php code, but it didn't show the navigation widget.
Then I found another thread http://www.chronoengine.com/forums/posts/t99150/p344750/pagination-issue.html#p344750 which had "echo" in front. This works!
Hi nemesyssoft,
Please try:
<?php
$this->view->Paginator->getNav();
?>
Then I found another thread http://www.chronoengine.com/forums/posts/t99150/p344750/pagination-issue.html#p344750 which had "echo" in front. This works!
<?php
echo $this->view->Paginator->getNav();
?>
This topic is locked and no more replies can be posted.