Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Caption Text Help Please

  • bcoots
  • bcoots's Avatar Topic Author
  • Offline
  • New Member
More
15 years 9 months ago #21924 by bcoots
Caption Text Help Please was created by bcoots
Hey guys/gals.... is there a way to format the text in the captions? Here is an example of what I am doing now.


What I am looking for is to have their name on one line and their title underneath their name like this... and everything centered.
Chris White
Chief

Chuck Bryant
Fire Marshal

You get the idea...

If anyone could help me I would greatly appreciate it.

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
15 years 9 months ago #21925 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Caption Text Help Please
Hi there!

You can use the labels.txt in this way
image1.jpg|Chuck Bryant
Fire Marshal
image2.jpg|Gene Necklaus
Training Officer
In this way, using the "
" you can have break in the lines.

BUT you have make a change in the sigpro code
Change the line 351
$final_caption = htmlentities($labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_.'/'.$images[$a])],ENT_QUOTES);
to
$final_caption =$labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_.'/'.$images[$a])];

Thank you!

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #21926 by Alexandre PINART
Replied by Alexandre PINART on topic Re: Caption Text Help Please
Hi,

I have the same question for SIG Pro 2.0.5  :-[

I cannot find the line 351 in sigpro.engine.php  :-[

Could you help me please ?

Many thanks in advance  :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum