Show description in Shadowbox

Phoca Gallery - image gallery extension
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Show description in Shadowbox

Post by Jan »

Hi, I have tested it one year ago, so for now I don't know exactly what should be changed, but you should see the shadowbox documentation, there is described where is the title displayed (some html tag in the code) and this tag should be edited in:

components/com_phocagallery/views/category/tmpl/default.php

Jan
If you find Phoca extensions useful, please support the project
MDodge
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 10 Nov 2009, 15:35

Re: Show description in Shadowbox

Post by MDodge »

components/com_phocagallery/views/category/tmpl/default.php

in row 104

i change

Code: Select all

echo ' title="'. $value->title. '"';
on

Code: Select all

echo ' title="'. $value->title.$value->description.'"';
But now title and description in 1 column, and script add to description div tag, how change this to do in 1 row?
MDodge
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 10 Nov 2009, 15:35

Re: Show description in Shadowbox

Post by MDodge »

Fix, it was JCE component.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Show description in Shadowbox

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
MDodge
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 10 Nov 2009, 15:35

Re: Show description in Shadowbox

Post by MDodge »

Thanks for your help.
fish
Phoca Member
Phoca Member
Posts: 15
Joined: 16 Nov 2010, 01:33

Re: Show description in Shadowbox

Post by fish »

MDodge wrote:components/com_phocagallery/views/category/tmpl/default.php

in row 104

i change

Code: Select all

echo ' title="'. $value->title. '"';
on

Code: Select all

echo ' title="'. $value->title.$value->description.'"';
But now title and description in 1 column, and script add to description div tag, how change this to do in 1 row?
so this worked fine in Joomla 1.5 and phocagallery v 2.x.
i am on Joomla 2.5 and Phoca Gallery 3.2.
is there any code that can be altered to get the descriptions in Shadowbox?
i no next to nothing about this, except i followed the old instructions.
JSshadowbox website simply states "descriptions are not supported in Shadowbox.
all the other detail window scripts are ugly and clunky looking in my opinion.
any ideas? HELP!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Show description in Shadowbox

Post by Jan »

Hi, try to see similar posts here, there were some guides (not easy, there were problems in different versions of the shadowbox)
If you find Phoca extensions useful, please support the project
Post Reply