Page 1 of 1
Edit sectiontablefooter
Posted: 19 Jan 2010, 01:12
by Luca
Hello.
In the Categoryview i want to edit the sectiontablefooter where the pagination is displayed.
Code: Select all
<div class="sectiontablefooter" style="margin: 0pt 10px; display: inline;">
<<
<span class="pagenav">Début</span>
< <span class="pagenav">Préc</span> <span class="pagenav">1</span> ...
Currently its displayed like this. I first want to put the name of the category and after only the pages as link ( 1 2 3 etc...)
In which file exactly can i find the code for make this changements?
Thanks for your help
Re: Edit sectiontablefooter
Posted: 20 Jan 2010, 00:27
by Jan
Hi, you should see the template files of different views (category, categories)
components/com_phocagallery/views/.../tmpl/default.php
and
this folder:
administrator\components\com_phocagallery\libraries\phocagallery\pagination\...
Jan
Re: Edit sectiontablefooter
Posted: 22 Jan 2010, 01:24
by Luca
Hello Jan.
Thanks for your help.
Unfortunately this didn't advanced me. I'm not sure if i'm clear enough in my first message ( English is not my standard language).
I allready made some changements in
components/com_phocagallery/views/.../tmpl/default.php
What i now try to do is following:
If pagination is for example set to 20 and i have 40 pictures, i have two sites too chose, this function is selected with this code in the default.php of category:
Code: Select all
echo '<div style="margin:0 10px 0 10px;display:inline;" class="sectiontablefooter'.$this->params->get( 'pageclass_sfx' ).'" >'
.$this->tmpl['pagination']->getPagesLinks()
.'</div>';
On the page this is displayed like this(my page is on french):
<< Début < Préc 1 2 Suivant > Fin >>
Now i want to do changes that it is displayed like this:
CategoryName 1 2
I allready looked in the different files but i'm not able too find where this code is made that i can change it.
I would be very happy if you could help me.
Re: Edit sectiontablefooter
Posted: 25 Jan 2010, 19:05
by Jan
Hi, the core pagination (design of its displaying) is a part of Joomla! framework, so you need to find it somewhere there. I only know using its method but didn't see the detail of this functions and don't know where to find it.

So for now I don't know where to find it
Jan
Re: Edit sectiontablefooter
Posted: 25 Jan 2010, 19:47
by Luca
Ok, so i will try to find this. Thanks
