Bold Some Text Description

Permalink Browser Info Environment
is there any way to make some of the text Bold in the description?
I already have it inside the text box and it will wrap, but have had a request to bold certain things.

Thanks
Brett

Type: Discussion
Status: New
Brettrwebber
View Replies:
jordanlev replied on at Permalink Reply
jordanlev
Hi Brett,
Apologies for not responding to your earlier inquiries sooner. Thanks for purchasing the addon, and if it doesn't meet your needs for whatever reason I'm happy to refund your money. But hopefully we can make it work...

You can enable HTML tags in the image captions by adding the following line to your config/site.php file:

define('DELUXE_IMAGE_GALLERY_HTML_CAPTIONS', true);

Then for bold text you use the HTML <b> tag in your captions, like so:

This is the caption <b>and this is the bold part</b>.

Let me know how it goes.

-Jordan

> On Oct 17, 2013, at 8:49 PM, concrete5 Community <discussions@concretecms.com> wrote:
Brettrwebber replied on at Permalink Reply
Brettrwebber
Thank you for your reply...I'm sure we can.

I have added that line in the config/site.php but I see no effect.
is there something I need to do for it to pick up the change?

Thanks again!
jordanlev replied on at Permalink Reply
jordanlev
When you put the <b> tags in your captions, are you seeing actual "<b>" tags outputted to the page, or just the plain text with those tags missing?
Brettrwebber replied on at Permalink Reply
Brettrwebber
The tags are showing.
Thanks
Brett
jordanlev replied on at Permalink Reply
jordanlev
Sorry this is so much trouble.
Would you be able to provide me with a link to the site and an admin login so I can take a look? You can email it to me directly at concrete@jordanlev.com

-Jordan

> On Oct 18, 2013, at 4:23 PM, concrete5 Community <discussions@concretecms.com> wrote:
Brettrwebber replied on at Permalink Reply
Brettrwebber
Supremecarpet.net
Admin
skw032866

I was testing on carpet tiles page.

Thanks

Sent from my iPhone

> On Oct 18, 2013, at 7:30 PM, concrete5 Community <discussions@concretecms.com> wrote:
Brettrwebber replied on at Permalink Reply
Brettrwebber
Jordan,

Sorry to bother you, have you had a chance to look at this yet?

Thanks
Brett
jordanlev replied on at Permalink Reply
jordanlev
Hi Brett,
I am so sorry for being unresponsive on this. I *promise* I will take care of this for you tomorrow morning.

Thanks for your patience.

-Jordan

> On Oct 22, 2013, at 5:01 PM, concrete5 Community <discussions@concretecms.com> wrote:
Brettrwebber replied on at Permalink Reply
Brettrwebber
Sorry to bother you again. Have you had a chance to look into this?

Thanks
Brett
Brettrwebber replied on at Permalink Reply
Brettrwebber
The <b> is showing.

Sent from my iPhone

> On Oct 18, 2013, at 1:20 PM, concrete5 Community <discussions@concretecms.com> wrote:
jordanlev replied on at Permalink Reply
jordanlev
Hi Brett,
Apologies again for the delay.
The confusion here is because this addon has a "title" and a "caption". The "caption" is what gets displayed in the enlarged lightbox. But the "title" is what gets shown underneath the thumbnails. To allow the titles to have HTML tags in them as well, you'll need to modify the block controller. Edit this file on your server:
packages/deluxe_image_gallery/blocks/deluxe_image_gallery/controller.php

...find this line of code (should be around line #44):
$image['title'] = htmlentities($file['title'], ENT_QUOTES, APP_CHARSET);

...and change that line to this:
$image['title'] = $file['title'];


Now the various html tags should be rendered properly in the thumbnail titles.

Hope that helps!

-Jordan
Brettrwebber replied on at Permalink Reply
Brettrwebber
Jordan,

Made the change and still the same...do I have to refresh anything?

Thanks
Brett
jordanlev replied on at Permalink Reply
jordanlev
Hi Brett,
Yeesh, I am really very sorry this has been so troublesome... I'm not sure why it wouldn't be working. Please email me directly at:

concrete@jordanlev.com

...I will respond with further instructions (it will be easier to resolve this privately with emails so I can get account info from you in order to look at the actual files on your server, without you needing to post info publicly here in the forums).

Thanks,
Jordan

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.