changer les couleurs des lignes

More
14 years 5 months ago #592 by micker
hello
voila je voudrais changer la couleur des lignes de mon tableau
mais une ligne sur 2 c'est possible ?
Merci par avance

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
14 years 5 months ago #597 by vistamedia
Hello Yannick,
Si PHP est ton ami oui ;-)
Fichier category_item.php du template de tableau (default) lignes 102 et 103, remplace:
Code:
<?php foreach ($this->items as $item) : ?> <tr class="sectiontableentry">
par:
Code:
<?php $k = 0; // un petit compteur foreach ($this->items as $item) : $class = ($k%2) ? ' sectiontableentry1' : ' sectiontableentry2'; // on vérifie si k est pair $k++; ?> <tr class="sectiontableentry<?php echo $class; ?>">
Et voila,
Manu.

FLEXIcontent lead developer.
www.vistamedia.fr web agency and custom development.
www.joomla.fr co-administrator.
Please no PM for support request, use the forum for that!!!

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

More
14 years 5 months ago #600 by micker
cool mille merci !!!!
ca marche du feux de dieux
a voir ici
www.le-bijou.net/newbijou/index . ... &Itemid=65
Merci

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
14 years 5 months ago #603 by bsky92
Whaouh, c'est super cool ...

mais comment faisait on avant flexicontent ?

je ne parle pas bien php, mais je retiens le tuyau :)

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

More
14 years 5 months ago #604 by micker
c'est y avais avant et apres flexicontent !!
Merci manu

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