Champs personnalisés dans tableau

More
12 years 5 months ago #26177 by starscream
Je peux te donner mon mail en MP ? Ou Skype / MSN ?

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

More
12 years 5 months ago #26180 by micker
restons sur le forum
poste ton nouveau template ...
et si tu peus met un lien vers le site pour qu'on y vois clair
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
12 years 5 months ago #26189 by starscream
Voilà le contenu de item.xml :
Code:
<?xml version="1.0" encoding="utf-8"?> <form> <author>Emmanuel Danan</author> <website>www.flexicontent.org</website> <email>emmanuel@vistamedia.fr</email> <license>GPLv2</license> <version>1.1</version> <release>25 november 2009</release> <description>Modular item layout suitable for faq, file manager, or directory</description> <fields name="attribs"> <fieldset name="attribs" addfieldpath="/administrator/components/com_flexicontent/elements"> <field name="title_cut_text" type="text" size="3" default="200" label="FLEXI_TITLE_MAXLEN" description="FLEXI_TITLE_MAXLEN_DESC" /> <field name="top_cols" type="list" default="two" label="FLEXI_ITEM_TOP_COLS" description="FLEXI_ITEM_TOP_COLS_DESC"> <option value="">FLEXI_USE_GLOBAL</option> <option value="one">FLEXI_1_COL</option> <option value="two">FLEXI_2_COLS</option> </field> <field name="bottom_cols" type="list" default="two" label="FLEXI_ITEM_BOTTOM_COLS" description="FLEXI_ITEM_BOTTOM_COLS_DESC"> <option value="">FLEXI_USE_GLOBAL</option> <option value="one">FLEXI_1_COL</option> <option value="two">FLEXI_2_COLS</option> </field> </fieldset> </fields> <fieldgroups> <group>name</group> <group>support_name</group> <group>publication_type</group> <group>campaign_name</group> <group>announce_format</group> <group>delivery_date</group> <group>release_date</group> <group>country</group> <group>statut</group> </fieldgroups> <cssitem> <file>css/item.css</file> </cssitem> <jsitem> </jsitem> </form>

Le contenu de item.php :
Code:
<?php defined( '_JEXEC' ) or die( 'Restricted access' ); // on définit ici le nom du template $tmpl = $this->tmpl; ?> <div id="name"><?php if (isset($this->item->positions['name'])) : ?> <div class="name"> <?php foreach ($this->item->positions['name'] as $field) : ?> <span class="element <?php echo $columnmode; ?>"> <?php if ($field->label) : ?> <span class="fclabel field_<?php echo $field->name; ?>"><?php echo $field->label; ?></span> <?php endif; ?> <span class="fcvalue field_<?php echo $field->name; ?><?php echo !$field->label ? ' nolabel ' : ''; ?>"><?php echo $field->display; ?></span> </span> <?php endforeach; ?> </div> <?php endif; ?></div> <div id="support_name"><?php if (isset($this->item->positions['support_name'])) : ?> <div class="support_name"> <?php foreach ($this->item->positions['support_name'] as $field) : ?> <span class="element <?php echo $columnmode; ?>"> <?php if ($field->label) : ?> <span class="fclabel field_<?php echo $field->name; ?>"><?php echo $field->label; ?></span> <?php endif; ?> <span class="fcvalue field_<?php echo $field->name; ?><?php echo !$field->label ? ' nolabel ' : ''; ?>"><?php echo $field->display; ?></span> </span> <?php endforeach; ?> </div> <?php endif; ?></div> <div id="publication_type"><?php if (isset($this->item->positions['publication_type'])) : ?> <div class="publication_type"> <?php foreach ($this->item->positions['publication_type'] as $field) : ?> <span class="element <?php echo $columnmode; ?>"> <?php if ($field->label) : ?> <span class="fclabel field_<?php echo $field->name; ?>"><?php echo $field->label; ?></span> <?php endif; ?> <span class="fcvalue field_<?php echo $field->name; ?><?php echo !$field->label ? ' nolabel ' : ''; ?>"><?php echo $field->display; ?></span> </span> <?php endforeach; ?> </div> <?php endif; ?></div> <div id="campaign_name"><?php if (isset($this->item->positions['campaign_name'])) : ?> <div class="campaign_name"> <?php foreach ($this->item->positions['campaign_name'] as $field) : ?> <span class="element <?php echo $columnmode; ?>"> <?php if ($field->label) : ?> <span class="fclabel field_<?php echo $field->name; ?>"><?php echo $field->label; ?></span> <?php endif; ?> <span class="fcvalue field_<?php echo $field->name; ?><?php echo !$field->label ? ' nolabel ' : ''; ?>"><?php echo $field->display; ?></span> </span> <?php endforeach; ?> </div> <?php endif; ?></div> <div id="announce_format"><?php if (isset($this->item->positions['announce_format'])) : ?> <div class="announce_format"> <?php foreach ($this->item->positions['announce_format'] as $field) : ?> <span class="element <?php echo $columnmode; ?>"> <?php if ($field->label) : ?> <span class="fclabel field_<?php echo $field->name; ?>"><?php echo $field->label; ?></span> <?php endif; ?> <span class="fcvalue field_<?php echo $field->name; ?><?php echo !$field->label ? ' nolabel ' : ''; ?>"><?php echo $field->display; ?></span> </span> <?php endforeach; ?> </div> <?php endif; ?></div> <div id="delivery_date"><?php if (isset($this->item->positions['delivery_date'])) : ?> <div class="delivery_date"> <?php foreach ($this->item->positions['delivery_date'] as $field) : ?> <span class="element <?php echo $columnmode; ?>"> <?php if ($field->label) : ?> <span class="fclabel field_<?php echo $field->name; ?>"><?php echo $field->label; ?></span> <?php endif; ?> <span class="fcvalue field_<?php echo $field->name; ?><?php echo !$field->label ? ' nolabel ' : ''; ?>"><?php echo $field->display; ?></span> </span> <?php endforeach; ?> </div> <?php endif; ?></div> <div id="release_date"><?php if (isset($this->item->positions['release_date'])) : ?> <div class="release_date"> <?php foreach ($this->item->positions['release_date'] as $field) : ?> <span class="element <?php echo $columnmode; ?>"> <?php if ($field->label) : ?> <span class="fclabel field_<?php echo $field->name; ?>"><?php echo $field->label; ?></span> <?php endif; ?> <span class="fcvalue field_<?php echo $field->name; ?><?php echo !$field->label ? ' nolabel ' : ''; ?>"><?php echo $field->display; ?></span> </span> <?php endforeach; ?> </div> <?php endif; ?></div> <div id="country"><?php if (isset($this->item->positions['country'])) : ?> <div class="country"> <?php foreach ($this->item->positions['country'] as $field) : ?> <span class="element <?php echo $columnmode; ?>"> <?php if ($field->label) : ?> <span class="fclabel field_<?php echo $field->name; ?>"><?php echo $field->label; ?></span> <?php endif; ?> <span class="fcvalue field_<?php echo $field->name; ?><?php echo !$field->label ? ' nolabel ' : ''; ?>"><?php echo $field->display; ?></span> </span> <?php endforeach; ?> </div> <?php endif; ?></div> <div id="statut"><?php if (isset($this->item->positions['statut'])) : ?> <div class="statut"> <?php foreach ($this->item->positions['statut'] as $field) : ?> <span class="element <?php echo $columnmode; ?>"> <?php if ($field->label) : ?> <span class="fclabel field_<?php echo $field->name; ?>"><?php echo $field->label; ?></span> <?php endif; ?> <span class="fcvalue field_<?php echo $field->name; ?><?php echo !$field->label ? ' nolabel ' : ''; ?>"><?php echo $field->display; ?></span> </span> <?php endforeach; ?> </div> <?php endif; ?></div>

Le contenu de category_items.xml :
Code:
<?php /** * @version 1.5 stable $Id: category_items.php 1224 2012-04-01 03:09:16Z ggppdk $ * @package Joomla * @subpackage FLEXIcontent * @copyright (C) 2009 Emmanuel Danan - www.vistamedia.fr * @license GNU/GPL v2 * * FLEXIcontent is a derivative work of the excellent QuickFAQ component * @copyright (C) 2008 Christoph Lukes * see www.schlu.net for more information * * FLEXIcontent is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ defined( '_JEXEC' ) or die( 'Restricted access' ); // first define the template name $tmpl = $this->tmpl; $user =& JFactory::getUser(); ?> <thead> <tr> <th>colonne1</th> <th>colonne2</th> <th>colonne3</th> <th>colonne4</th> <th>colonne5</th> <th>colonne6</th> <th>colonne7</th> <th>colonne8</th> <th>colonne9</th> </tr> </thead> <tbody>

Le contenu de category.xml :
Code:
<?xml version="1.0" encoding="utf-8"?> <form> <author>Emmanuel Danan</author> <website>www.flexicontent.org</website> <email>emmanuel@vistamedia.fr</email> <license>GPLv2</license> <version>1.1</version> <release>25 november 2009</release> <description>This layout presents category items in a table. Each field put in the table position will be rendered as a column</description> <fields name="attribs"> <fieldset name="attribs" addfieldpath="/administrator/components/com_flexicontent/elements"> <field name="show_field_labels_row" type="list" default="1" label="FLEXI_SHOW_LABELS_ROW" description="FLEXI_SHOW_LABELS_ROW_DESC"> <option value="">FLEXI_USE_GLOBAL</option> <option value="0">FLEXI_NO</option> <option value="1">FLEXI_YES</option> </field> </fieldset> </fields> <fieldgroups> <group>colonne1</group> <group>colonne2</group> <group>colonne3</group> <group>colonne4</group> <group>colonne5</group> <group>colonne6</group> <group>colonne7</group> <group>colonne8</group> <group>colonne9</group> </fieldgroups> <csscategory> <file>css/category.css</file> </csscategory> <jscategory> </jscategory> </form>

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

More
12 years 5 months ago #26191 by starscream
Et voici l'adresse du site en question, il n'y a que les titres des articles qui s'affichent, rien d'autre.

ns3000521.ovh.net/dev/gp/

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

More
12 years 5 months ago #26193 by micker
je comprend pas c'est un module flexicontent qui est afficher ?
peus tu enlever le sef pour qu'on y vois plus clair !
tu a bien créer un lien vers une categorie flexicontent (et non joomla)
puis la tu a glissé tes champs dans les positions du templates ?

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
12 years 5 months ago #26194 by starscream
Attends je vais te donner les codes admin en MP tu y verras peut être plus clair

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

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