Hi there,
Is it possible to move the "Display Ordering Select Box", to the top of the gallery, just below the page title, instead of the bottom?
Thanks!
Move Display Ordering Select Box To Top of Page
-
- Phoca Professional
- Posts: 172
- Joined: 18 Jul 2008, 03:06
- Jan
- Phoca Hero
- Posts: 47883
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Move Display Ordering Select Box To Top of Page
Hi, there is no such option, so this needs to be customized directly in the output (e.g. per template override).
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Professional
- Posts: 172
- Joined: 18 Jul 2008, 03:06
Re: Move Display Ordering Select Box To Top of Page
What file would I use for the override?
Also, I just sent you an email re: Paypal.
Thanks!
Also, I just sent you an email re: Paypal.
Thanks!
- Jan
- Phoca Hero
- Posts: 47883
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Move Display Ordering Select Box To Top of Page
Hi,
if it should be done in Phoca Gallery category view, then:
components\com_phocagallery\views\category\tmpl\default.php
where you can just move the pagination from bottom to top (move following code):
Jan
if it should be done in Phoca Gallery category view, then:
components\com_phocagallery\views\category\tmpl\default.php
where you can just move the pagination from bottom to top (move following code):
Code: Select all
echo $this->loadTemplate('pagination');
If you find Phoca extensions useful, please support the project
-
- Phoca Professional
- Posts: 172
- Joined: 18 Jul 2008, 03:06
Re: Move Display Ordering Select Box To Top of Page
Thanks Jan. I'll check it out.
Just sent you another email
Just sent you another email
-
- Phoca Professional
- Posts: 172
- Joined: 18 Jul 2008, 03:06
Re: Move Display Ordering Select Box To Top of Page
Hi Jan,
I moved one but I'm not sure if it's the right one or if I moved it to the wrong place or if the override is not correct.
This is my override:
/templates/myTemplate/html/com_phocagallery/views/category/
Thanks!
I see the line above in 2 places so not sure which one to move. It's on approximately line 209 and 131.echo $this->loadTemplate('pagination');
I moved one but I'm not sure if it's the right one or if I moved it to the wrong place or if the override is not correct.
This is my override:
/templates/myTemplate/html/com_phocagallery/views/category/
Thanks!
-
- Phoca Hero
- Posts: 2735
- Joined: 28 Nov 2010, 17:20
Re: Move Display Ordering Select Box To Top of Page
Hi,
to be sure, you have: components\com_phocagallery\views\category\tmpl\default.php ?
I found this:
in line no. 105
Kind regards
Christine
to be sure, you have: components\com_phocagallery\views\category\tmpl\default.php ?
I found this:
Code: Select all
echo $this->loadTemplate('pagination');
Kind regards
Christine
-
- Phoca Professional
- Posts: 172
- Joined: 18 Jul 2008, 03:06
Re: Move Display Ordering Select Box To Top of Page
Hi there,
I'm still not getting this to work and I'm not sure what I'm missing:
I took a copy of the file from here:
components\com_phocagallery\views\category\tmpl\default.php
I add it to my template override here:
/templates/myTemplate/html/com_phocagallery/views/category/default.php
I also tried this but it didn't work either:
/templates/myTemplate/html/com_phocagallery/views/category/tmpl/default.php
I switched the pagination code above the images code like this:
What am I doing wrong please? Thanks!
I'm still not getting this to work and I'm not sure what I'm missing:
I took a copy of the file from here:
components\com_phocagallery\views\category\tmpl\default.php
I add it to my template override here:
/templates/myTemplate/html/com_phocagallery/views/category/default.php
I also tried this but it didn't work either:
/templates/myTemplate/html/com_phocagallery/views/category/tmpl/default.php
I switched the pagination code above the images code like this:
Code: Select all
echo $this->loadTemplate('pagination');
echo $this->loadTemplate('images');
echo '<div class="ph-cb"></div><div> </div>';
- Jan
- Phoca Hero
- Posts: 47883
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Move Display Ordering Select Box To Top of Page
Hi, the template override folder does not include subfolder views, it should be changed from:
/templates/myTemplate/html/com_phocagallery/views/category/default.php
to:
/templates/myTemplate/html/com_phocagallery/category/default.php
Jan
/templates/myTemplate/html/com_phocagallery/views/category/default.php
to:
/templates/myTemplate/html/com_phocagallery/category/default.php
Jan
If you find Phoca extensions useful, please support the project