Page 1 of 1

My solution "Link for Blog"

Posted: 22 Mar 2013, 01:06
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.

Re: My solution "Link for Blog"

Posted: 22 Mar 2013, 02:24
by Jan
Hi, thank you very much for the guide.

Jan