Page 1 of 1

No line break in picture description

Posted: 22 Dec 2014, 19:22
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

Re: No line break in picture description

Posted: 23 Dec 2014, 01:15
by Jan
Hi, can you paste a screenshot what you exactly mean?

Thank you, Jan

Re: No line break in picture description

Posted: 23 Dec 2014, 21:25
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

Re: No line break in picture description

Posted: 24 Dec 2014, 01:03
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

Re: No line break in picture description

Posted: 25 Dec 2014, 21:14
by Tom
Is there a way somehow get added yet?

or is there another possibility, unless another popup method?

Tom

Re: No line break in picture description

Posted: 25 Dec 2014, 22:54
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

Re: No line break in picture description

Posted: 27 Dec 2014, 20:34
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

Re: No line break in picture description

Posted: 01 Jan 2015, 23:47
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