Image field: Widgetkit bug / improvement

More
11 years 2 weeks ago #41743 by Rooney
Hi,
since Widgetkit support is implemented into the image field there are two bugs, that I always have to remove updating FC:
1. I always have to remove the overlay manually.
Code:
<div class="overlay"> .'<b>'.$title.'</b>: '.$desc.' </div>
Setting the overlay to off does not work.

2. The second bug is that the title is put two times into the popup caption as well as into the tooltip! So I always have to remove
Code:
.' | '. ($desc ? $desc : $title)
from
Code:
$title_attr = $title .' | '. ($desc ? $desc : $title);
manually.

I have two images attached to display the issues.
Rooney

Joomla! 3.9.24 and FC 3.3.9
Attachments:

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

More
11 years 2 weeks ago #41749 by micker
thanks for return

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
11 years 2 weeks ago #41759 by ggppdk
Hello

I will replace:
Code:
title_attr = $title .' | '. ($desc ? $desc : $title); $title_attr = flexicontent_html::escapeJsText($title_attr,'s')
with:
Code:
$title_attr = flexicontent_html::escapeJsText($desc ? $desc : $title,'s');

So the description will be shown if it exists otherwise the title
Can you test the above ?

-- About overlay: you mean we are not using the "setting" that is configured in the widgetkit parameters, right ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
11 years 2 weeks ago #41763 by Rooney

ggppdk wrote:
So the description will be shown if it exists otherwise the title
Can you test the above ?

This is working now. For popup caption and tooltip. Thanks!

ggppdk wrote: -- About overlay: you mean we are not using the "setting" that is configured in the widgetkit parameters, right ?

Yes. There is no need for an additional overlay text if a caption below the image is shown anyway.

Rooney

Joomla! 3.9.24 and FC 3.3.9

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

More
11 years 2 weeks ago #41773 by ggppdk
Hello

the image caption is added by the widgetkit?
or is it a parameter ?

e.g. if we remove the overlay, then will the caption be always added or you configure widgetkit not to show it ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
11 years 2 weeks ago #41774 by Rooney

ggppdk wrote: the image caption is added by the widgetkit?
or is it a parameter ?

I am using the parameter in the FC image field: "Show title"

ggppdk wrote: e.g. if we remove the overlay, then will the caption be always added or you configure widgetkit not to show it ?

Widgetkit has an own settimg "Show Overlay on/off". Actually for me I do not need the overlay, but others might use it!

Rooney

Joomla! 3.9.24 and FC 3.3.9

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.403 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline