Page 1 of 2
SEF P.G. image module and plugin
Posted: 21 May 2015, 13:52
by morpi
Hello.
I'm having problems configuring SEF in Phoca Gallery image module and Phoca Gallery plugin, I did everything as written in the article,
https://www.phoca.cz/documents/16-joomla ... -in-joomla - but nothing works.
I have such a URL - 5anvi.com/yumor/7-yumor/detail/141-khochu?detail=7&buttons=0,
but I want this 5anvi.com/yumor/7-yumor/detail/141-khochu
Here is my website - 5anvi.com, if the aid is necessary to provide access to the admin panel, I can do it.
Or write, what I need to do, to help me.
I use Joomla 3.4.1 and Phoca Gallery 4.1.2
Re: SEF P.G. image module and plugin
Posted: 23 May 2015, 15:47
by Jan
Hi, not sure what you exactly mean but the both parameters in GET: detail and buttons are needed, this is why they are included, if there will be no there, then some features will not work? To remove them and lost some features, you need to modify directly the php code
Jan
Re: SEF P.G. image module and plugin
Posted: 23 May 2015, 17:31
by morpi
Jan wrote:Hi, not sure what you exactly mean but the both parameters in GET: detail and buttons are needed, this is why they are included, if there will be no there, then some features will not work? To remove them and lost some features, you need to modify directly the php code
Jan
Thanks for the tip, I edited the file php plugin (plugins/content/phocagallery/phocagallery.php) and comment out a line:
Code: Select all
if ($ tmpl ['detail_window'] == 7) {
$ suffix = 'detail ='. $ tmpl ['detail_window']. '& buttons ='. $ detail_buttons;
}
else {
$ suffix = 'tmpl = component & detail ='. $ tmpl ['detail_window']. '& buttons ='. $ detail_buttons;
}
Now type links:
http://5anvi.com/yumor/7-yumor/detail/1 ... &buttons=0
become such as I would like

, without:
http://5anvi.com/yumor/7-yumor/detail/141-khochu
I did not notice the changes, the transition takes place normally on the picture, and appearance plugin also has not changed.
Maybe You know, on what will affect the comment that row, if will affect

?
Re: SEF P.G. image module and plugin
Posted: 23 May 2015, 18:01
by Jan
Hi, then the parameters will be taken from component, so you cannot change the component settings for other parts on your site (you need to have detail windows set to 7 and no buttons displayed)
Jan
Re: SEF P.G. image module and plugin
Posted: 24 May 2015, 17:48
by morpi
Jan wrote:Hi, then the parameters will be taken from component, so you cannot change the component settings for other parts on your site (you need to have detail windows set to 7 and no buttons displayed)
Jan
Thanks for the help.
I still have one question about the SEF.
When I turn on the photo viewing, i have navigation buttons at the bottom there, and so - crux of the problem:
with included Joomla SEF links, on the navigation buttons, look like:
5anvi.com/component/phocagallery/7-yumor/detail/140-bezumie?Itemid=1
into links to pictured ascribed to, at the beginning
and
in the end.
But if turn off the Joomla SEF, links look like
5anvi.com/index.php?option=com_phocagallery&view=detail&catid=7:yumor&id=140:bezumie&Itemid=208
and exactly the same in navigation buttons only change the ID photos.
Please tell me how to do that would link not change their appearance with:
5anvi.com/yumor/7-yumor/detail/140-bezumie
and changed them only ID photos, with the inclusion of Joomla SEF
Sorry for my English, I use a translator...

Re: SEF P.G. image module and plugin
Posted: 26 May 2015, 22:44
by Jan
Hi, the first link is a link which is built for SEF but it is not correctly created. When component/phocagallery/ is displayed, this means that SEF feature didn't find any menu link to Phoca Gallery. You need to do a link to Phoca Gallery first to have fully SEF link.
Jan
Re: SEF P.G. image module and plugin
Posted: 28 May 2015, 18:29
by morpi
Jan wrote:Hi, the first link is a link which is built for SEF but it is not correctly created. When component/phocagallery/ is displayed, this means that SEF feature didn't find any menu link to Phoca Gallery. You need to do a link to Phoca Gallery first to have fully SEF link.
Jan
Sorry, but I do not understand what I need to do.
Please write more in detail that to do, what would have been without links
/component/phocagallery/.

Re: SEF P.G. image module and plugin
Posted: 28 May 2015, 22:58
by Benno
Hi,
just create a menu link to Phoca Gallery Component. List Of Categories(Categories View)
Kind regards,
Benno
Re: SEF P.G. image module and plugin
Posted: 30 May 2015, 20:14
by morpi
Benno wrote:Hi,
just create a menu link to Phoca Gallery Component. List Of Categories(Categories View)
Kind regards,
Benno
I made a menu item, but nothing has changed...

Re: SEF P.G. image module and plugin
Posted: 03 Jun 2015, 11:43
by Jan
Hi, hmm, do you still get this format of URL:
5anvi.com/component/phocagallery/7-yumor/detail/140-bezumie
Such format is only displayed when SEF menu link is not created or it is not active
- is the menu link to Phoca Gallery active? (published)
Jan