Champs sur deux colonnes en item

More
13 years 5 months ago #16426 by bsky92
Dans un de mes templates, je voudrais que les champs soient disposés sur deux colonnes pour une des rubriques, comme dans les positions top ou bottom.

J(utilise le template tabs_improved, et je n'arrive pas à trouver le bon code pour mon fichier item.php . Pour info, à partir du template defaut, j'avais pu sans problème, mais je suis tres limitée en php

Voilà le code que je veux modifier
Code:
<div class="lineinfo Tab2"> <?php foreach ($this->item->positions['Tab2'] as $field) : ?> <span class="element"> <?php if ($field->label && $this->params->get('show_label2') == 1) : ?> <span class="label field_<?php echo $field->name; ?>"><?php echo $field->label; ?></span> <?php endif; ?> <span class="value field_<?php echo $field->name; ?>"><?php echo $field->display; ?></span> </span> <?php endforeach; ?> </div>

merci d'avance

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

More
13 years 5 months ago #16427 by micker
hello
tu veus ajouter 2 colonnes dans ta tabs c'est bien ca ?
je propose (je suis pas terrible en code ..)
de créer 2 positions
1 par colone
ca n'irai pas ?

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
13 years 5 months ago #16428 by bsky92
C'est bien ca , deux colonnes dans une tab ....

je vais regarder comment on crée des positions alors ...

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

More
13 years 5 months ago #16429 by micker
le soucis c'est que tu va pas pouvoir créer de position dans une position ....
il va falloir enlever la position tabs pour mettre tes 2 colones
a+

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
13 years 5 months ago #16434 by bsky92
ahhhhhhhhhhhh
dans ce cas ca ne me convient pas, parce que je veux mes tabs pour l'article, mais je vais mettre cette partie d'infos en dehors d'un tab ...

bricolage de code à la brigitte ce soir :)

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

More
13 years 5 months ago #16435 by micker
lol

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