Module filtre : ajouter une class aux champs

More
1 year 2 months ago #84377 by sorgina
Salut

J'ai un module de filtrage avec comme source des champs persos :



Pour pouvoir les placer comme je le désire, j'aimerais leur mettre une class avec le nom du champ perso qui leur correspond, qui sera plus claire que celle déjà présente (fc_filter_id_46, fc_filter_id_55, fc_filter_id_50, etc.) :



Je ferrai bien une surcharge, mais je ne sais pas comment faire pour ajouter le nom du champ en tant que class à la suite de fc_filter_id_46, fc_filter_id_55, fc_filter_id_50, etc.

FLEXI 4.2.1
Joomla 4.3.4

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

More
1 year 2 months ago #84378 by micker
non c'est pas possible a moins de faire des surcharges ...
mais en soit .fcfilter_line.fc_filter_id_50 => ca marche super non ?

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
1 year 2 months ago #84380 by sorgina

non c'est pas possible a moins de faire des surcharges...
C'est justement ce que j'aimerais mais je ne sais pas comment ajouter le nom du champ qui correspond à chacune des listes. Faire une surcharge je sais faire, mais c'est quel code mettre.

mais en soit .fcfilter_line.fc_filter_id_50 => ca marche super non ?
Oui, mais champ-montagnes est beaucoup plus parlant que fc_filter_id_46.

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

More
1 year 2 months ago #84382 by micker
faire une surcharge des filtres c'est lourd comparer a juste des id ...

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
1 year 2 months ago #84383 by sorgina
Je ne savais pas. Dans mon css je vais mettre des commentaires pour savoir à quoi correspondent chacune des class.

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

More
1 year 2 months ago #84385 by micker
ok

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.

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