HI,
On the description, it does not include the formatting of when I submit an album.
a rough example---
This is an example of the description
Picture name: pic 1
taken from a 3/4 view
How it ends up looking---
This is an example of the description Picture name: pic 1 taken from a 3/4 view
If you go to edit the description, it looks as intended.
It seems to strip any formatting.
Thank you
Piwigo version: 2.8.1
PHP: 5.6.21
MySQL version: 5.6.22
Offline
Hello,
What theme are you using?
What browser?
Have you a link?
Note: on firefox with stripped, it's working perfectly on my set up.
Enjoy!
DéHème
Offline
Actually, I ended up using the below in personal plugin
add_event_handler('render_category_description', 'render_comment_content');
Works fine now.
I am using Chrome and FF.
I am using the 'dark' theme
Thank you
Offline
oops, just quit working. Everything is one long paragraph again. Can't figure this one out.
Offline
Figured it out, but an odd resolve
$conf['allow_html_descriptions'] = true;
Must be set to $conf['allow_html_descriptions'] = false;
Along with the
add_event_handler('render_category_description', 'render_comment_content');
Offline
Hi,
Well, I thought I had it.
If I have the setting $conf['allow_html_descriptions'] = false;
Then the formatting is correct on the descriptions
EXAMPLE of a description
======
headlight bezel in a bright red color.
Customer Name: Tom McGill
Year, Make, Model: 2013 V-Rod - customized
======
But I cannot use extended description - the tag gets stripped <!--more-->
But if I set $conf['allow_html_descriptions'] = true;
I can use extended description but the formatting is no good
EXAMPLE of description
======
headlight bezel in a bright red color. Customer Name: Tom McGill Year, Make, Model: 2013 V-Rod - customized
======
I need for the description to hold the formatting AND I can use extended description.
Any ideas??
Thank you
Offline
yes
use html or [extension by P@t] FCK Editor
Offline
Well, I tried that, and that didn't work.
I do have another Piwigo gallery that I use, it was 2.8.0 and I just updated it to 2.8.1 and it works perfectly with html "on" and the extended description still works.
But something on this one I'm currently working on does not work correctly
With the html "on" the description text gets condensed (shows fine when editing). With html "off" it looks fine, BUT I cannot use extended description (due to this using html).
I turned off all plugins and this did not change it.
I also took out all my code on local config and saved it - no change
I also took out all my code on personal plugin and saved it - no change.
I also had some saved templates and reverted back to default - no change
I also uploaded all new 2.8.1 files - no change
So something is causing the format to break...just can't figure it out.
Attached is an imaged with the html on (condensed text)
and with html off (normal and correct text) - cannot use extended description
Any other ideas?
Thank you
Offline
screenshot with html on
Last edited by tazattitude (2016-07-03 16:42:20)
Offline