Le template des tableaux

More
16 years 5 months ago #7 by micker
hello a tous
voila je voudrais savoir ou est le teplate pour les tableaux de catégorie.
est il possible d'afficher les entêtes même si on masquer les étiquettes coté admin ?
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 5 months ago #9 by vistamedia
Replied by vistamedia on topic Le template des tableaux
La réponse est oui ;)
Mais cela nécessite la création d'un template perso au niveau des tableaux de catégories.
Le template de catégories correspondant aux tableaux se nomme "default" et se trouve ici : components/com_flexicontent/views/category/tmpl/default...
Tu peux trouver un guide complet sur la logique et les éléments à ta disposition à cette adresse: www.flexicontent.org/documentation/tutorials/template-creation
Bonne continuation,
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
16 years 5 months ago #12 by micker
Replied by micker on topic Le template des tableaux
genial !!!!
a suivre donc ...

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 #17 by micker
Replied by micker on topic Le template des tableaux
hello alors je reviens sur mon histoire de tableau
j'ai fait mon template tableau
j'affecte mes champs
je fais un lien vers la catégorie depuis mon menu en affectant mon template en souscatégorie et article
et la le lien ne fonctionne plus il me met
erreur 500 Layout "bijou_category" not found
des idées ?

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 #26 by vistamedia
Replied by vistamedia on topic Le template des tableaux
Si tu mets un des templates par défaut en paramètre, est ce que cela fonctionne?

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
16 years 5 months ago #33 by micker
Replied by micker on topic Le template des tableaux
hello ou ca fonctionne si je met le template par defaut

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 #38 by vistamedia
Replied by vistamedia on topic Le template des tableaux
Ben tu as a déjà une piste 8-)
C'est ton template qui comporte une erreur ;)

Pourrais-tu coller le code que je jette un coup d'oeil ?

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
16 years 5 months ago #52 by micker
Replied by micker on topic Le template des tableaux
hello voici le php
Code:
<?php defined( '_JEXEC' ) or die( 'Restricted access' ); ?> <div id="flexicontent" class="flexicontent"> <p class="buttons"> <?php // echo flexicontent_html::favouritesbutton( $this->params ); ?> <?php echo flexicontent_html::mailbutton( 'category', $this->params, $this->category->slug ); ?> <?php // echo flexicontent_html::addbutton( $this->params ); ?> </p> <?php if ($this->params->get( 'show_page_title', 1 ) && $this->params->get('page_title') != $this->category->title) : ?> <h1 class="componentheading"> <?php echo $this->params->get('page_title'); ?> </h1> <?php endif; ?> <?php if (($this->category->id > 0) && ((!empty($this->category->image) && $this->params->get('show_description_image', 1)) || ($this->params->get('show_description', 1)))) : ?> <?php echo $this->loadTemplate('category'); ?> <?php endif; ?> <?php //only show this part if subcategries are available if (count($this->categories) && $this->category->id > 0) : ?> <?php echo $this->loadTemplate('subcategories'); ?> <?php endif; ?> <?php //only show this part if items are available //$n = count($this->items); //if ($n || $this->lists['filter']) : ?> <?php echo $this->loadTemplate('items'); ?> <?php // endif; ?> <!--pagination--> <?php if ($this->params->get('show_pagination', 2) != 0) : ?> <div class="pageslinks"> <?php echo $this->pageNav->getPagesLinks(); ?> </div> <?php if ($this->params->get('show_pagination_results', 1)) : ?> <p class="pagescounter"> <?php echo $this->pageNav->getPagesCounter(); ?> </p> <?php endif; endif; ?> </div>
le xml
Code:
<?xml version="1.0" encoding="utf-8"?> <metadata> <layout title="bijou_CATEGORY_TABLE"> <message> <![CDATA[FLEXICONTENT_CATEGORY_TABLE_TIP]]> </message> </layout> <state> <name>bijou_CATEGORY_TABLE</name> <description>bijou_CATEGORY_TABLE_DESC</description> <url addpath="/administrator/components/com_flexicontent/elements"> <param name="cid" type="qfcategory" default="0" label="FLEXI_SELECT_ONE_CATEGORY" description="FLEXI_SELECT_ONE_CATEGORY_DESC" /> </url> <params addpath="/administrator/components/com_flexicontent/elements"> <param name="@spacer" type="spacer" default="" label="" description="" /> <param name="show_description" type="radio" default="1" label="FLEXI_CAT_DESCRIPTION" description="FLEXI_CAT_DESCRIPTION_DESC"> <option value="0">Hide</option> <option value="1">Show</option> </param> <param name="show_description_image" type="radio" default="1" label="FLEXI_CAT_IMAGE" description="FLEXI_CAT_IMAGE_DESC"> <option value="0">Hide</option> <option value="1">Show</option> </param> <param name="limit" type="text" size="4" default="10" label="FLEXI_NUM_PER_PAGE" description="FLEXI_NUM_PER_PAGE_DESC"/> <param name="@spacer" type="spacer" default="" label="" description="" /> <param name="show_alpha" type="radio" default="1" label="FLEXI_SHOW_ALPHA" description="FLEXI_SHOW_ALPHA_DESC"> <option value="0">Hide</option> <option value="1">Show</option> </param> <param name="@spacer" type="spacer" default="" label="" description="" /> <param name="show_subcategories" type="radio" default="1" label="FLEXI_SHOW_SUBCATS" description="FLEXI_SHOW_SUBCATS_DESC"> <option value="0">Hide</option> <option value="1">Show</option> </param> <!-- <param name="subcategories_display" type="list" default="0" label="Subcategories display" description="Choose the way you wish to display the Subcategories"> <option value="0">List</option> <option value="1">Comma separated list</option> </param> --> <param name="show_itemcount" type="radio" default="1" label="FLEXI_SHOW_ITEMS_COUNT" description="FLEXI_SHOW_ITEMS_COUNT_DESC"> <option value="0">Hide</option> <option value="1">Show</option> </param> <param name="clayout" type="categorylayout" label="FLEXI_CHOOSE_SPECIFIC_SUBCATEGORY_LAYOUT" description="FLEXI_CHOOSE_SPECIFIC_SUBCATEGORY_LAYOUT_DESC" /> <param name="ilayout" type="itemlayout" label="FLEXI_CHOOSE_SPECIFIC_CATITEMS_LAYOUT" description="FLEXI_CHOOSE_SPECIFIC_CATITEMS_LAYOUT_DESC" /> <param name="item_depth" type="list" default="O" label="FLEXI_ITEM_DEPTH" description="FLEXI_ITEM_DEPTH_DESC"> <option value="0">FLEXI_ROOT</option> <option value="1">FLEXI_LEVEL_1</option> <option value="2">FLEXI_LEVEL_2</option> <option value="3">FLEXI_LEVEL_3</option> <option value="4">FLEXI_LEVEL_4</option> <option value="5">FLEXI_LEVEL_5</option> </param> <param name="fields" type="fields" size="10" default="0" label="FLEXI_SELECT_FIELDS" description="FLEXI_SELECT_FIELDS_DESC" /> <param name="@spacer" type="spacer" default="" label="" description="" /> <param name="use_filters" type="radio" default="0" label="FLEXI_SHOW_FILTERS" description="FLEXI_SHOW_FILTERS_DESC"> <option value="0">No</option> <option value="1">Yes</option> </param> <param name="use_search" type="radio" default="0" label="FLEXI_SHOW_SEARCH" description="FLEXI_SHOW_SEARCH_DESC"> <option value="0">No</option> <option value="1">Yes</option> </param> <param name="filters" type="filters" size="10" default="0" label="FLEXI_SELECT_FILTERS" description="FLEXI_SELECT_FILTERS_DESC" /> </params> <advanced addpath="/administrator/components/com_flexicontent/elements"> <param name="orderby" type="list" default="" label="Primary Order" description="Order that the items will be displayed in."> <option value="">Default</option> <option value="date">Oldest first</option> <option value="rdate">Most recent first</option> <option value="alpha">Title Alphabetical</option> <option value="ralpha">Title Reverse-Alphabetical</option> <option value="author">Author Alphabetical</option> <option value="rauthor">Author Reverse-Alphabetical</option> <option value="hits">Most Hits</option> <option value="rhits">Least Hits</option> <option value="order">Ordering</option> </param> <param name="show_pagination" type="list" default="2" label="Pagination" description="Show/Hide Pagination support"> <option value="0">Hide</option> <option value="1">Show</option> <option value="2">Auto</option> </param> <param name="show_pagination_results" type="radio" default="1" label="Pagination Results" description="PARAMPAGINATIONRESULTS"> <option value="0">Hide</option> <option value="1">Show</option> </param> <param name="show_feed_link" type="radio" default="1" label="Show a feed link" description="PARAMSHOWFEEDLINK"> <option value="0">Hide</option> <option value="1">Show</option> </param> </advanced> </state> <fieldgroups> <group>titre</group> <group>type</group> <group>date</group> <group>heure</group> <group>prix-fnac</group> </fieldgroups> </metadata>
j'ai reverifié le default marche ... mais la c'est le defaut juste changer de nom coté admin mes champs sont bien pris en compte.
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 #54 by micker
Replied by micker on topic Le template des tableaux
pour avancé j'ai essayer de modifié le template tableau pour changer les chose que je voulais mais je n'ai trouver les items que dans le fichier default items avec les td ....
je ne pense pas avoir trouver la bonne approche
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 #97 by micker
Replied by micker on topic Le template des tableaux
svp personne pour me mettre sur la pistes des templates de tableau ?
Merci d'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.

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