No line break in picture description

Phoca Gallery - image gallery extension
Tom
Phoca Member
Phoca Member
Posts: 24
Joined: 22 Dec 2014, 19:05

No line break in picture description

Post by Tom »

Hello,

In the detailed view, I have chosen for the details pane "small box".
Some pictures I've added a description over several lines, but this is only shown on one line.

How can I change this?

Tom
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: No line break in picture description

Post by Jan »

Hi, can you paste a screenshot what you exactly mean?

Thank you, Jan
If you find Phoca extensions useful, please support the project
Tom
Phoca Member
Phoca Member
Posts: 24
Joined: 22 Dec 2014, 19:05

Re: No line break in picture description

Post by Tom »

Here is the image description

Image

and here is the detail view.
The description is on one line, not centered and before "v.l. Alois Scheckenbach, " is no line break

Image

Here the link to my site. (Image 4)

thank you

Tom
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: No line break in picture description

Post by Jan »

Aha, now I understand, in some javascript popup methods, html formatting cannot be used, so only raw text is displayed there :idea:

Jan
If you find Phoca extensions useful, please support the project
Tom
Phoca Member
Phoca Member
Posts: 24
Joined: 22 Dec 2014, 19:05

Re: No line break in picture description

Post by Tom »

Is there a way somehow get added yet?

or is there another possibility, unless another popup method?

Tom
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: No line break in picture description

Post by Jan »

Hi, there are different possibilities:

- to customize it directly in the javascript popup library
- to use another popup or no popup
- try to somehow check if e.g. updated version allows to display the html correctly inside the description and customize it then :idea:

Jan
If you find Phoca extensions useful, please support the project
Tom
Phoca Member
Phoca Member
Posts: 24
Joined: 22 Dec 2014, 19:05

Re: No line break in picture description

Post by Tom »

Jan wrote: - to customize it directly in the javascript popup library
i think it's too difficult for me, but which files i must be change?
Jan wrote: - to use another popup or no popup
the other pop ups do not have the right features
Jan wrote: - try to somehow check if e.g. updated version allows to display the html correctly inside the description and customize it then :idea:
do you mean a new version of phoca gallery?
when it is finished :P

Tom
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: No line break in picture description

Post by Jan »

Hi, no, I mean, updated version of the popup you need - but yes, this requires php and javascript knowledges :-( :-(

Javascript libraries are stored in:
components/com_phocagallery/assets folder

the php files are in category view:

components/com_phocagallery/views/category/tmpl ... :idea:

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