Page 1 of 1

Cannot remove back button in no popup detail view

Posted: 14 Jul 2011, 21:06
by panbanisha
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.

Re: Cannot remove back button in no popup detail view

Posted: 17 Jul 2011, 12:53
by Jan
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

Re: Cannot remove back button in no popup detail view

Posted: 29 Jan 2013, 22:45
by phidias81
I have the same problem. I checked the file and the only code referring to the back button is at the beginning

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'];
}
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

Code: Select all

img[src*="icon-up-images"] {
    display: none;
}

div.pg-detail-view-multibox>p { display: none; }
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.

Re: Cannot remove back button in no popup detail view

Posted: 30 Jan 2013, 00:04
by phidias81
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; }