My solution "Link for Blog"

Phoca Gallery - image gallery extension
HiopsNerevar
Phoca Member
Phoca Member
Posts: 32
Joined: 17 Feb 2011, 18:08
Location: Russia
Contact:

My solution "Link for Blog"

Post by HiopsNerevar »

This solution will add the textarea block with thumbnail img and link to full img code. :wink:
Open default.php in components\com_phocagallery\views\detail\tmpl
and insert this code somewhere in info box.

Code: Select all

<textarea type="text" rows="3" cols="50"><a href="'.JURI::root().'image/phocagallery/'.$this->item->filenameno.'" title="'.$this->item->title.'"><img src="'.JURI::root().str_replace ('phoca_thumb_l_','phoca_thumb_m_',$this->item->linkthumbnailpath).'" title="'.$this->item->title.'"></a></textarea>
WARNING!
1)I use a slightly modified image output template. He combined the usual detail view and download view. (show large thumbnail and below the download link)
2)Also I use a different folder for the gallery. site/gallery/ instead site/image/phocagallery/

But i think you will not have problems!
If interested I attached the file. http://daoblog.ru/files/default.zip you may put him on html folder on you Joomla template.

Kind regards, Hiops.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: My solution "Link for Blog"

Post by Jan »

Hi, thank you very much for the guide.

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