Edit sectiontablefooter

Phoca Gallery - image gallery extension
Luca
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 19 Jan 2010, 01:04

Edit sectiontablefooter

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Edit sectiontablefooter

Post 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
If you find Phoca extensions useful, please support the project
Luca
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 19 Jan 2010, 01:04

Re: Edit sectiontablefooter

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Edit sectiontablefooter

Post 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
If you find Phoca extensions useful, please support the project
Luca
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 19 Jan 2010, 01:04

Re: Edit sectiontablefooter

Post by Luca »

Ok, so i will try to find this. Thanks :-)
Post Reply