champ weblink et titre

More
10 years 1 month ago #49892 by seabird
Bonjour,

Je viens de remarquer un problème avec le champ weblink depuis que j'ai installé la version 2.2. En fait, seul le premier champ titre est pris en compte. Les titres suivant sont remplacés par le premier lors de l'affichage.
Ex si j'ai:
[img


alors tous les liens auront pour titre: titre1
J'ai testé la v2.2.0 r1932, r1974 et la r1995


I just noticed a problem with the weblink field since I installed version 2.2. Only the first title field is taken . The following titles are replaced by the first when display. All the links have title: titre1

Merci,

Eric

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

More
10 years 1 month ago #49897 by ggppdk
Replied by ggppdk on topic champ weblink et titre
Hello

at some point unified the code with extendedweblink:

So this code is wrong: (inside weblink.php)
Code:
if( empty($linktext) ) $linktext = $title ? $title: $this->cleanurl($value['link']);

it should be:
Code:
$linktext = $title ? $title: $this->cleanurl($value['link']);

thanks for report, will commit fix

Regards


-- 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.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.381 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