Hi all!
First of all i want to congratulate phoca's creators because it's simply wonderful!
I want just to ask for a problem:
I'm using Joomla 1.5.2.2 and Phoca 2.7.5 to build my pics gallery.
Everything works fine but if i click on the "close window" button while i'm sliding the pics, nothing happens.
I've to re-digit the website URL in order to return on the home page.
I have this problem with every browser: IE, chrome, firefox.
Any idea about a possible solution? Or alternatively...how can i make a static pointer to the home page mapped to "close window" click event?
Thx in advance!
Sergio
Close window problem..
-
- Phoca Newbie
- Posts: 3
- Joined: 30 Apr 2011, 18:29
Re: Close window problem..
Hi all!
I respond myself...
The problem is between "close window" button and the particular joomla template you're using.
I have solved this issue modifying directly the file renderdetailbutton.php at this line:
$close = '<a href="'.JRoute::_('mytest').'" onclick="%onclickclose%" title="'.JText::_( 'Close window').'" >'. JHTML::_('image', 'components/com_phocagallery/assets/images/icon-exit.' . $this->_formaticon, JText::_( 'Close window' )).'</a>';
return $close;
}
Now, clicking on close window you'll be redirect on \root\mytest page
I think that's the unique solution!
Sergio
I respond myself...
The problem is between "close window" button and the particular joomla template you're using.
I have solved this issue modifying directly the file renderdetailbutton.php at this line:
$close = '<a href="'.JRoute::_('mytest').'" onclick="%onclickclose%" title="'.JText::_( 'Close window').'" >'. JHTML::_('image', 'components/com_phocagallery/assets/images/icon-exit.' . $this->_formaticon, JText::_( 'Close window' )).'</a>';
return $close;
}
Now, clicking on close window you'll be redirect on \root\mytest page
I think that's the unique solution!
Sergio
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Close window problem..
Hi, thank you for the guide.
Jan
Jan
If you find Phoca extensions useful, please support the project