Interaction Phocaplugin and article categories

Phoca Gallery plugins - plugins for Phoca Gallery extension
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Interaction Phocaplugin and article categories

Post by Jan »

Hi, on your site there is some problem with url creating, not only to gallery images but to e.g. icons too ... :-( maybe the seo method doesn't work correctly there :-(

Jan
If you find Phoca extensions useful, please support the project
MatthieuBrucher
Phoca Member
Phoca Member
Posts: 10
Joined: 08 Dec 2008, 23:38

Re: Interaction Phocaplugin and article categories

Post by MatthieuBrucher »

I didn't see a problem with icons, but it may be. I see the main icons, the only that are obviously missing are those from the Phoca plugin, and only for the slideshow. The images themselves are OK.
MatthieuBrucher
Phoca Member
Phoca Member
Posts: 10
Joined: 08 Dec 2008, 23:38

Re: Interaction Phocaplugin and article categories

Post by MatthieuBrucher »

Hi,

I don't think the error comes from the site, but from the plugin. This is one of the link I have in the previous page: "./images/phocagallery/creation-objet/stickers/thumbs/phoca_thumb_m_stickers tour eifel.jpg".
It should be "http://www.eifelle.com/images/phocagall ... m_stickers tour eifel.jpg", not a relative link that can be corrupted by SEO.
MatthieuBrucher
Phoca Member
Phoca Member
Posts: 10
Joined: 08 Dec 2008, 23:38

Re: Interaction Phocaplugin and article categories

Post by MatthieuBrucher »

In phocagallery.php :
Line 898:

Code: Select all

					$output .= '<img src="'JURI::root().$image->linkthumbnailpath.'" alt="'.$image->title.'" />';
Line 942:

Code: Select all

							$output .= '<img src="'.JURI::root().'components/com_phocagallery/assets/images/icon-view.'.$tmpl['formaticon'].'" alt="'.$image->title.'" />';
Line 960:

Code: Select all

							$output .= '<img src="'.JURI::root().'components/com_phocagallery/assets/images/icon-download.'.$tmpl['formaticon'].'" alt="'.$image->title.'" />';
Those are dirty patches, as I don't know much about Phocagallery and Joomla, but the purpose is to add the correct site prefix to the link.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Interaction Phocaplugin and article categories

Post by Jan »

Hi, yes this is OK, I will take a look at it, will test it and if all ok I will use your changes... Thank you for this info.

Jan
If you find Phoca extensions useful, please support the project
MatthieuBrucher
Phoca Member
Phoca Member
Posts: 10
Joined: 08 Dec 2008, 23:38

Re: Interaction Phocaplugin and article categories

Post by MatthieuBrucher »

Jan wrote:Hi, yes this is OK, I will take a look at it, will test it and if all ok I will use your changes... Thank you for this info.

Jan
You're welcome ;) I suppose there are other places to check, for instance the overlib use, but I don't know enough to help much more ;)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Interaction Phocaplugin and article categories

Post by Jan »

yes, I check all places (it is ok in component but I forgot to check it in plugin)

Jan
If you find Phoca extensions useful, please support the project
Post Reply