Premium Joomla Templates
pagination
have anybody come across pagination problem in Neutrino template? infact i am sure its not templates problem but i don't really understand whats wrong.
Well, the pagination of the template works perfectly in the frontpage but in my own component it doesn't work. If i keep the default pagination of the template then my component pagination do not work and if i fix my component pagination then the template pagination do not work.
I am using the default pagination class of joomla but i really like the neutrino pagination. please guide me how i can fix this issue and tell me how i can use the neutrino pagination class in my component.
Well, the pagination of the template works perfectly in the frontpage but in my own component it doesn't work. If i keep the default pagination of the template then my component pagination do not work and if i fix my component pagination then the template pagination do not work.
I am using the default pagination class of joomla but i really like the neutrino pagination. please guide me how i can fix this issue and tell me how i can use the neutrino pagination class in my component.
The discussion has been resolved.
13 responses Add Yours
-
i have built my own component. infact in the backend the same code works perfectly fine but in the frontend i find the pagination not working. Plus the problem is that in the frontend i find the pagination link in distorted order whereas in backend its ok.
My site is not online but i have posted the issue in joomla forum too. You can view the post http://forum.joomla.org/viewtopic.php?f=642&t=753764 -
The problem has something to do with joomla template i suppose. When i click on NEXT or END i m directed to index page of the component. Infact my actual url is only http://localhost/joomla2.5.4/index.php?option=com_xxx&Itemid=106 but in my pagination link limitstart is added http://localhost/joomla2.5.4/index.php?option=com_tenders&Itemid=106&limitstart=5. I don't know if it is the problem because of that.
-
FYI: Here is the structure for the pagination that will automatically be styled with neutrino... Just make sure that everything is enclosed by div with the class of "pagination" as shown below:
<div class="pagination"> <p class="counter">Page 1 of 2</p> <ul> <li class="pagination-start"><span class="pagenav">Start</span></li> <li class="pagination-prev"><span class="pagenav">Prev</span></li> <li><span class="pagenav">1</span></li> <li><a title="2" href="#" class="pagenav">2</a></li> <li class="pagination-next"><a title="Next" href="#" class="pagenav">Next</a></li> <li class="pagination-end"><a title="End" href="#" class="pagenav">End</a></li> </ul> </div>
-
Zahir, i accept template has nothing to do here but i wonder why it doesn't work? afterall the same code works perfect in the backend. I even tried the pagination override method but it doesn't help.
Anyway, have you got a component of your own which works fine in neutrino template? i mean with the pagination working. If you have i will be happy to have a look at it and accordingly fix my problem -
If you would like me to assist, can you answer the questions I posted above:
- How does the pagination behave with the default joomla template?
- Can you post the html output of your view with neutrino? (you can post it on http://pastebin.com)
- Can you also attach a screenshot of the pagination with neutrino? -
zahir, please note the pagination is working if i directly display the view list. but in my case i have a form to filter the records as shown in the attachment below. If i access the list on filtration by the form below then the pagination do not work else if i directly access the list the problem is not there. Do you have any idea on that?
And along with that the pagination is ugly and how should i apply the template's css to the pagination buttons?
ThemeRepublic.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.