ThemeRepublic

Premium Joomla Templates

  • Categories
    Categories
    View categories that are created for the site and filter discussions by categories.
raaman on Tuesday, September 18 2012, 12:34 PM

pagination

0
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.
Resolved
The discussion has been resolved.
       
  • Replied by zahir on Tuesday, September 18 2012, 12:54 PM · Hide · #1
    What component are you using? Is your site online? If so, please post a link to the page in question.
  •  
  • Replied by raaman on Tuesday, September 18 2012, 02:25 PM · Hide · #2
    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
  •  
  • Replied by zahir on Tuesday, September 18 2012, 06:31 PM · Hide · #3
    Interesting... Some quick questions:

      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?
  •  
  • Replied by raaman on Wednesday, September 19 2012, 06:14 AM · Hide · #4
    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.

    Attachments:

  •  
  • Replied by zahir on Wednesday, September 19 2012, 04:45 PM · Hide · #5
    Hi Raaman,

    I doubt this is a problem with the template - the template only provides the css styling for your html. The template does not control your url routing or the pagination itself.
  •  
  • Replied by zahir on Wednesday, September 19 2012, 05:01 PM · Hide · #6
    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>
  •  
  • Replied by raaman on Thursday, September 20 2012, 06:28 AM · Hide · #7
    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
  •  
  • Replied by zahir on Thursday, September 20 2012, 10:01 AM · Hide · #8
    Have a look at the com_content component - neutrino works perfectly with it and has been designed for this in mind.
  •  
  • Replied by zahir on Thursday, September 20 2012, 10:02 AM · Hide · #9
    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?
  •  
  • Replied by raaman on Thursday, September 20 2012, 01:26 PM · Hide · #10
    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?

    Attachments:

  •  
  • Replied by zahir on Thursday, September 20 2012, 02:49 PM · Hide · #11
    Raaman, Sorry, I cannot assist you with diagnosing problems with your component.
  •  
  • Replied by raaman on Friday, September 21 2012, 11:27 AM · Hide · #12
    thanks zahir for all your support. i have fixed the problem myself. the last problem had all to do with the form action. i tried in trial/error basis and found the solution. thankyou somuch once again for the support
  •  
  •  
    Replied by zahir on Friday, September 21 2012, 11:31 AM · Hide · #13
    You're welcome. Glad you managed to fix it.
Your Response
Please login first in order for you to submit comments

Recent Themes

The Joomla!™ name is used under a limited license from Open Source Matters in the United Statesand other countries.
ThemeRepublic.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.