hi friends.
i have problem with my phoca gallery.
in detail view my theme is no-pop up. i want my visitors can change images by clicking on the current image.
next button is not comfortoble and its hard to see..
can u help me pls.
in /components/com_phocagallery/views/detail folder default.php
i see this rows
.'<a href="#" onclick="'.$this->tmpl['detailwindowclose'].'">'.$this->item->linkimage.'</a>';
if u delete # and enter a url the image goes to that url. but i want it to go next image .
i tried this but it did not work :
<a href="'.JRoute::_('index.php?option=com_phocagallery&view=detail&catid='. $value->catslug.'&id='.$value->slug.$tmplCom.'&Itemid='. JRequest::getVar('Itemid', 1, 'get', 'int')).'"'
.' title="'.JText::_( 'Next image' ).'" id="next" onclick="disableBackAndNext()" >
can u help me pls?
how to open next image when u click on the current image
-
afatipsy
- Phoca Newbie

- Posts: 3
- Joined: 09 Jun 2010, 03:54
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: how to open next image when u click on the current image
Did you copy the right "next link" to the Image link?
If you find Phoca extensions useful, please support the project
-
afatipsy
- Phoca Newbie

- Posts: 3
- Joined: 09 Jun 2010, 03:54
Re: how to open next image when u click on the current image
yes.
this is it.
but it dont work.
this is it.
but it dont work.
Code: Select all
<a href="'.JRoute::_('index.php?option=com_phocagallery&view=detail&catid='. $value->catslug.'&id='.$value->slug.$tmplCom.'&Itemid='. JRequest::getVar('Itemid', 1, 'get', 'int')).'"'
.' title="'.JText::_( 'Next image' ).'" id="next" onclick="disableBackAndNext()" >-
afatipsy
- Phoca Newbie

- Posts: 3
- Joined: 09 Jun 2010, 03:54
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: how to open next image when u click on the current image
Hi, no idea why it does not work (no experiences with it), if you get access login, maybe the image is included in category which is not accessible, or maybe some wrong parameter was added to the url so the script didn't find the right information as has locked the access
Jan
Jan
If you find Phoca extensions useful, please support the project