Le template des tableaux

More
16 years 5 months ago #166 by micker
Replied by micker on topic Le template des tableaux
pour l'instant sur mon site ces a la main
pour flexicontent c'est en ordre vers le plus rescent avec 10 article par tableau
le mieux serait de pouvoir faire des trie de tableau par mois comme pour les blogs
...
a voir
a suivre

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
16 years 5 months ago #167 by micker
Replied by micker on topic Le template des tableaux
a désoler j'avais oublié j'auto archive les articles d'une catégorie à une autre et comme le tableau check que la bonne c'est toujours le dernier concert ...
si tu veus le plugin y a pas de problèmes.
sin vili j'ai fait le tableau mais les infos ne ce chargent pas
a voir ici
www.le-bijou.net/newbijou/index . ... &Itemid=65

voici mon code
Code:
<fieldgroups> <group>Artiste</group> <group>Genre</group> <group>Date</group> <group>Heure</group> <group>Tarif</group> </fieldgroups>
et
Code:
<?php if ($this->items) : ?> <table id="flexitable" class="faqitemtable" width="100%" border="0" cellspacing="0" cellpadding="0" summary="flexicontent"> <thead> <tr> <th id="flexi_title">Artiste</th> <?php if ($this->fields) : $i = 0; foreach ($this->fields as $field) : if (in_array('Artiste'.$tmpl, $field->positions)) : $i++; endif; endforeach; if ($i > 0) : ?> <?php foreach ($this->fields as $field) : if (in_array('Artiste'.$tmpl, $field->positions)) : if (!empty($field->value)) : if (!$field->parameters->get('hidden')) : ?> <td class="colonne1 field_<?php echo $field->name; ?>"> <?php echo $field->display; ?> <div class="clear"></div> </td> <?php endif; endif; endif; endforeach; endif; endif; ?> <th id="flexi_title">Genre</th> <?php if ($this->fields) : $i = 0; foreach ($this->fields as $field) : if (in_array('Genre'.$tmpl, $field->positions)) : $i++; endif; endforeach; if ($i > 0) : ?> <?php foreach ($this->fields as $field) : if (in_array('Genre'.$tmpl, $field->positions)) : if (!empty($field->value)) : if (!$field->parameters->get('hidden')) : ?> <td class="colonne1 field_<?php echo $field->name; ?>"> <?php echo $field->display; ?> <div class="clear"></div> </td> <?php endif; endif; endif; endforeach; endif; endif; ?> <th id="flexi_title">Date</th> <?php if ($this->fields) : $i = 0; foreach ($this->fields as $field) : if (in_array('Date'.$tmpl, $field->positions)) : $i++; endif; endforeach; if ($i > 0) : ?> <?php foreach ($this->fields as $field) : if (in_array('Date'.$tmpl, $field->positions)) : if (!empty($field->value)) : if (!$field->parameters->get('hidden')) : ?> <td class="colonne1 field_<?php echo $field->name; ?>"> <?php echo $field->display; ?> <div class="clear"></div> </td> <?php endif; endif; endif; endforeach; endif; endif; ?> <th id="flexi_title">Heure</th> <?php if ($this->fields) : $i = 0; foreach ($this->fields as $field) : if (in_array('Heure'.$tmpl, $field->positions)) : $i++; endif; endforeach; if ($i > 0) : ?> <?php foreach ($this->fields as $field) : if (in_array('Heure'.$tmpl, $field->positions)) : if (!empty($field->value)) : if (!$field->parameters->get('hidden')) : ?> <td class="colonne1 field_<?php echo $field->name; ?>"> <?php echo $field->display; ?> <div class="clear"></div> </td> <?php endif; endif; endif; endforeach; endif; endif; ?> <th id="flexi_title">Tarif</th> <?php if ($this->fields) : $i = 0; foreach ($this->fields as $field) : if (in_array('Tarif'.$tmpl, $field->positions)) : $i++; endif; endforeach; if ($i > 0) : ?> <?php foreach ($this->fields as $field) : if (in_array('Tarif'.$tmpl, $field->positions)) : if (!empty($field->value)) : if (!$field->parameters->get('hidden')) : ?> <td class="colonne1 field_<?php echo $field->name; ?>"> <?php echo $field->display; ?> <div class="clear"></div> </td> <?php endif; endif; endif; endforeach; endif; endif; ?> </tr> </thead> </table>
j'ai foiré où ?
Merci pour ton aide
ps tu t'occupe de quel site ?

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
16 years 5 months ago #186 by Doywan
Replied by Doywan on topic Le template des tableaux
oki avec ça
Code:
<?php if ($this->items[0]->fields) : foreach ($item->fields as $field) : // step 1 : start the loop on the object if (in_array('colonne1'.$tmpl, $field->positions)) : // step 2 : assigned to this group ?> <td><?php echo $field->display ? $field->display : ''; ?></td> <?php endif; // end step 2 endforeach; // end step 1 endif; ?>
à insérer dans la balise <tr> du template de base défaut ça marche, il faut juste mettre un style css sur le titre de la colonne.

c'est hyper moche, mais j'ai juste testé le code ça donne ça (troisième colonne) :

Dev et rédacteur en chef Fonky les bons tuyaux
www.fonkyt.com - magasine online de l'événementiel culturel et loisirs d'Orléans et son agglO

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

More
16 years 5 months ago #189 by micker
Replied by micker on topic Le template des tableaux
hello
j'ai ca comme erreur
Warning: Invalid argument supplied for foreach() in /web/lebijou/www/newbijou/components/com_flexicontent/views/category/tmpl/bijou_items.php
sur cette ligne
Code:
foreach ($item->fields as $field) :
une autre idée ?
Vraiment merci pour ton aide

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
16 years 5 months ago #191 by Doywan
Replied by Doywan on topic Le template des tableaux
Tu as bien fermé le foreach ? Assigné ta catégorie en template tableau dans Flexicontent, crée un menu correspondant de type tableau ? autorisé les champs à être vu dans cette catégorie ?

Dev et rédacteur en chef Fonky les bons tuyaux
www.fonkyt.com - magasine online de l'événementiel culturel et loisirs d'Orléans et son agglO

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

More
16 years 5 months ago #192 by micker
Replied by micker on topic Le template des tableaux
voici mon code de page issu du defaut
Code:
<table id="flexitable" class="faqitemtable" width="100%" border="0" cellspacing="0" cellpadding="0" summary="flexicontent"> <thead> <tr> <th id="flexi_title">Artiste</th> <?php if ($this->items[0]->fields) : foreach ($item->fields as $field) : // step 1 : start the loop on the object if (in_array('Artiste'.$tmpl, $field->positions)) : // step 2 : assigned to this group ?> <td><?php echo $field->display ? $field->display : ''; ?></td> <?php endif; // end step 2 endforeach; // end step 1 endif; ?> <th id="flexi_title">Genre</th> <?php if ($this->items[0]->fields) : foreach ($item->fields as $field) : // step 1 : start the loop on the object if (in_array('Genre'.$tmpl, $field->positions)) : // step 2 : assigned to this group ?> <td><?php echo $field->display ? $field->display : ''; ?></td> <?php endif; // end step 2 endforeach; // end step 1 endif; ?> <th id="flexi_title">Date</th> <?php if ($this->items[0]->fields) : foreach ($item->fields as $field) : // step 1 : start the loop on the object if (in_array('Date'.$tmpl, $field->positions)) : // step 2 : assigned to this group ?> <td><?php echo $field->display ? $field->display : ''; ?></td> <?php endif; // end step 2 endforeach; // end step 1 endif; ?> <th id="flexi_title">Heure</th> <?php if ($this->items[0]->fields) : foreach ($item->fields as $field) : // step 1 : start the loop on the object if (in_array('Heure'.$tmpl, $field->positions)) : // step 2 : assigned to this group ?> <td><?php echo $field->display ? $field->display : ''; ?></td> <?php endif; // end step 2 endforeach; // end step 1 endif; ?> <th id="flexi_title">Tarif</th> <?php if ($this->items[0]->fields) : foreach ($item->fields as $field) : // step 1 : start the loop on the object if (in_array('Tarif'.$tmpl, $field->positions)) : // step 2 : assigned to this group ?> <td><?php echo $field->display ? $field->display : ''; ?></td> <?php endif; // end step 2 endforeach; // end step 1 endif; ?> </tr> </thead> </table>
et Mes entrées sont bien publié
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
16 years 4 months ago #201 by micker
Replied by micker on topic Le template des tableaux
j'ai bo ne mettre que
Code:
<table id="flexitable" class="faqitemtable" width="100%" border="0" cellspacing="0" cellpadding="0" summary="flexicontent"> <thead> <tr> <?php if ($this->items[0]->fields) : foreach ($item->fields as $field) : // step 1 : start the loop on the object if (in_array('Artiste'.$tmpl, $field->positions)) : // step 2 : assigned to this group ?> <td><?php echo $field->display ? $field->display : ''; ?></td> <?php endif; // end step 2 endforeach; // end step 1 endif; ?> </tr> </thead> </table>
toujour cette même erreur ...
qqun à la solution ?
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
16 years 4 months ago #210 by micker
Replied by micker on topic Le template des tableaux
RE doywan ne m'abandonne pas svp, je sais je suis un boulet .....

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
16 years 4 months ago #220 by Doywan
Replied by Doywan on topic Le template des tableaux
Désolé je ne t'abandonne pas ne t'inquiète pas ! Je suis juste en plein lancement de notre site, je suis donc pas mal occupé. Promis demain j'essaye de regarder ça.

Dev et rédacteur en chef Fonky les bons tuyaux
www.fonkyt.com - magasine online de l'événementiel culturel et loisirs d'Orléans et son agglO

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

More
16 years 4 months ago #222 by micker
Replied by micker on topic Le template des tableaux
l'adresse ! l'adresse !
courage alors

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