Warning et Beta5

More
14 years 5 months ago #1316 by micker
Replied by micker on topic Warning et Beta5
hello moi aussi j'ai corriger mais j'ai pas le contenu des colonnes ... pourtant j'ai bien tout mis en minuscule ...
voici mon code
Code:
<?php /** * @version 1.5 beta 4 $Id: default_items.php 85 2009-10-10 13:48:04Z vistamedia $ * @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; ?> <script type="text/javascript"> function tableOrdering( order, dir, task ) { var form = document.getElementById("adminForm"); form.filter_order.value = order; form.filter_order_Dir.value = dir; document.getElementById("adminForm").submit( task ); } </script> <?php if ((($this->params->get('use_filters', 0)) && $this->filters) || ($this->params->get('use_search')) || ($this->params->get('show_alpha', 1))) : ?> <form action="<?php echo $this->action; ?>" method="post" id="adminForm"> <?php if ((($this->params->get('use_filters', 0)) && $this->filters) || ($this->params->get('use_search'))) : ?> <div id="fc_filter" class="floattext"> <?php if ($this->params->get('use_search')) : ?> <div class="fc_fleft"> <input type="text" name="filter" id="filter" value="<?php echo $this->lists['filter'];?>" class="text_area" onchange="document.getElementById('adminForm').submit();" /> <button onclick="document.getElementById('adminForm').submit();"><?php echo JText::_( 'FLEXI_GO' ); ?></button> <button onclick="document.getElementById('filter').value='';document.getElementById('adminForm').submit();"><?php echo JText::_( 'FLEXI_RESET' ); ?></button> </div> <?php endif; ?> <?php if ($this->filters) : ?> <div class="fc_fright"> <?php foreach ($this->filters as $filt) : echo '<span class="filter">'; echo $filt->html; echo '</span>'; endforeach; ?> </div> <?php endif; ?> </div> <?php endif; ?> <?php if ($this->params->get('show_alpha', 1)) : echo $this->loadTemplate('alpha'); endif; ?> <input type="hidden" name="option" value="com_flexicontent" /> <input type="hidden" name="filter_order" value="<?php echo $this->lists['filter_order']; ?>" /> <input type="hidden" name="filter_order_Dir" value="" /> <input type="hidden" name="view" value="category" /> <input type="hidden" name="letter" value="" id="alpha_index" /> <input type="hidden" name="task" value="" /> <input type="hidden" name="id" value="<?php echo $this->category->id; ?>" /> </form> <?php endif; ?> <?php if ($this->items) : ?> <table id="flexitable" class="flexitable" width="100%" border="0" cellspacing="0" cellpadding="0" summary="<?php echo $this->category->name; ?>"> <thead> <tr> <th>Artistes</th> <th>Genres</th> <th>Dates</th> <th>Horaires</th> <th>Prix</th> </tr> </thead> <tbody> <?php $k = 0; foreach ($this->items as $item) : $class = ($k%2) ? ' sectiontableentry1' : ' sectiontableentry2'; $k++; ?> <tr class="sectiontableentry<?php echo $class; ?>"> <td class="artistes" > <?php if ($this->params->get('link_titles', 0)) : ?> [url=<?php echo JRoute::_(FlexicontentHelperRoute::getItemRoute($item->slug, $this->category->slug)); ?>]<?php echo $this->escape($item->title); ?>[/url] <?php else : echo $this->escape($item->title); endif; ?> </td> <td class="genres" > <!-- BOF genres cell --> <?php if (isset($item->positions['genres'])) : ?> <?php foreach ($item->positions['genres'] as $field) : ?> <?php echo $field->display ? $field->display : ''; ?> <?php endforeach; ?> <?php endif; ?> <!-- EOF Genres cell --> </td> <td class="dates" > <!-- BOF dates cell --> <?php if (isset($item->positions['dates'])) : ?> <?php foreach ($item->positions['dates'] as $field) : ?> <?php echo $field->display ? $field->display : ''; ?> <?php endforeach; ?> <?php endif; ?> <!-- EOF Dates cell --> </td> <td class="horaires" > <!-- BOF horaires cell --> <?php if (isset($item->positions['horaires'])) : ?> <?php foreach ($item->positions['horaires'] as $field) : ?> <?php echo $field->display ? $field->display : ''; ?> <?php endforeach; ?> <?php endif; ?> <!-- EOF horaires cell --> </td> <td class="prix" > <!-- BOF prix cell --> <?php if (isset($item->positions['prix'])) : ?> <?php foreach ($item->positions['prix'] as $field) : ?> <?php echo $field->display ? $field->display : ''; ?> <?php endforeach; ?> <?php endif; ?> <!-- EOF prix cell --> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php endif; ?>
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 #1382 by bsky92
Replied by bsky92 on topic Warning et Beta5
dans ton category.xlm, tes intitulés de colonnes sont les mêmes? Et tu as revérifié l'affectation de tes champs?

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

More
14 years 5 months ago #1395 by micker
Replied by micker on topic Warning et Beta5
hello regarde mon xml
Code:
<?xml version="1.0" encoding="utf-8"?> <metadata> <layout title="FLEXICONTENT_CATEGORY_TABLE"> <message> <![CDATA[FLEXICONTENT_CATEGORY_TABLE_TIP]]> </message> </layout> <params addpath="/administrator/components/com_flexicontent/elements"> </params> <fieldgroups> <group>artiste</group> <group>genre</group> <group>date</group> <group>heure</group> <group>tarif</group> </fieldgroups> <csscategory> <file>css/category.css</file> </csscategory> <jscategory> </jscategory> </metadata>
tout m'a l'air bon !
et j'ai verifié ils sont affectés dans la partie template ...

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 #1428 by bsky92
Replied by bsky92 on topic Warning et Beta5
a priori tes groupes dans le fichier xlm sont au singulier
Code:
<fieldgroups> <group>artiste</group> <group>genre</group> <group>date</group> <group>heure</group> <group>tarif</group> </fieldgroups>


et dans le fichier php les appels de position sont au pluriel, non?
Code:
<td class="genres" > <!-- BOF genres cell --> <?php if (isset($item->positions['genres'])) : ?> <?php foreach ($item->positions['genres'] as $field) : ?> <?php echo $field->display ? $field->display : ''; ?> <?php endforeach; ?> <?php endif; ?> <!-- EOF Genres cell --> </td>

Essaie de tout mettre à l'identique - enfin, pas les titres des colonnes

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

More
14 years 5 months ago #1430 by kim
Replied by kim on topic Warning et Beta5
Oh, Bravo ! (sans s)

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

More
14 years 5 months ago #1457 by micker
Replied by micker on topic Warning et Beta5
aller 10 coups de fouets pour moi !
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.

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