Cannot remove back button in no popup detail view
-
panbanisha
- Phoca Newbie

- Posts: 1
- Joined: 14 Jul 2011, 21:00
Cannot remove back button in no popup detail view
How do I remove back button above the picture in detail view when it is set to show as no popup? I have found the settings (four settings about not showing back button), but none of them removes the back button that appairs when I use No Popup detail view for my pictures. Is there a sollution to this please, as the back button push the picture to far down at my site.
- Jan
- Phoca Hero

- Posts: 49149
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Cannot remove back button in no popup detail view
Hi, this needs to be customized in the code, the settings take an effect only on category view.
See:
components/com_phocagallery/views/detail/tmpl/default.php
Jan
See:
components/com_phocagallery/views/detail/tmpl/default.php
Jan
If you find Phoca extensions useful, please support the project
-
phidias81
- Phoca Enthusiast

- Posts: 70
- Joined: 05 Jan 2012, 01:20
- Contact:
Re: Cannot remove back button in no popup detail view
I have the same problem. I checked the file and the only code referring to the back button is at the beginning
Since I don't know anything about php and java, I just tried to delete it with no effect.
I found an alternative solution through CSS that I paste, it could be usueful for others, adding the following code
Clearly it's not the best, because it's hidden, but not deleted from the code.
So can be useful for other people like me, but if anybody will find the proper way throught the code I will be happy to change it.
Code: Select all
<?php defined('_JEXEC') or die('Restricted access');
echo '<div id="phocagallery" class="pg-detail-view'.$this->params->get( 'pageclass_sfx' ).'">';
if ($this->tmpl['backbutton'] != '') {
echo $this->tmpl['backbutton'];
}I found an alternative solution through CSS that I paste, it could be usueful for others, adding the following code
Code: Select all
img[src*="icon-up-images"] {
display: none;
}
div.pg-detail-view-multibox>p { display: none; }So can be useful for other people like me, but if anybody will find the proper way throught the code I will be happy to change it.
-
phidias81
- Phoca Enthusiast

- Posts: 70
- Joined: 05 Jan 2012, 01:20
- Contact:
Re: Cannot remove back button in no popup detail view
Actually it was working only in one of my pages, I add to add also this
Code: Select all
#pg-detail-view-multibox>p { display: none; }