Mod_flexicontent - Autre champ que description

More
10 years 8 months ago #45858 by Ithylis
Bonjour à tous,

Je voudrais savoir s'il existe un moyen de changer le champ description qui est choisit d'office pour afficher le texte des items en vedette ?

J'ai créé un champ introduction dont j'aimerai bien afficher son contenu à la place du champ description.

Je vous remercie par avance
Bonne journée

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

More
10 years 8 months ago #45861 by micker
alors n'affiche pas de texte de description et dans le scop champs flexicontent affiche ton champ intro ;)

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
10 years 8 months ago #45863 by Ithylis
Bonjour Micker,

Je te remercie ! J'ai tourné autours un long moment...

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

More
10 years 8 months ago #45868 by ggppdk
Hello

yes there is no option to select a different field as description,

but this question has been asked before and answered ;)

You can create a copy of the "news" template, see here (relatively easy):
How to create a custom Template for FLEXIcontent module

then find TWICE::
Code:
<?php echo $item->text; ?>
and replace with:
Code:
<?php FlexicontentFields::getFieldDisplay($item, 'myfieldname88'); echo $item->fields['myfieldname88']->display; ?>

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