display the description of a category at the top of the list of subcategories

  • English:

    Hello,

    I do not speak English well. Sorry.

    Is it possible to display a category description at the top of the subcategory list please?

    Cordially.


    French :

    Bonjour,

    Je parle pas bien l'anglais. Désolé.

    Est il possible d'afficher la description d'une catégorie en haut de la liste des sous-catégories s'il vous plait ?

    Cordialement.

  • Elfangor93

    Hat das Thema freigeschaltet.
  • English :


    Hello,

    In the default.php file I have the second line:

    Code
    echo $this->loadTemplate('header');

    I don't have:

    Code
    echo $this->loadTemplate('head');
    echo $this->loadTemplate('subcategories');


    I would like :



    Français :


    Bonjour,

    Dans le fichier default.php j'ai en deuxième ligne :

    Code
    echo $this->loadTemplate('header');


    Je n'ai pas :

    Code
    echo $this->loadTemplate('head');
    echo $this->loadTemplate('subcategories');



    J'aimerais :


  • English :


    Its good.


    I had copied the "detail" folder instead of the "category" folder.


    Code
    I put the code:
    <? php defined ('_ JEXEC') or die ('Direct Access to this location is not allowed.');
    echo $ this-> loadTemplate ('header');
    if (count ($ this-> categories)): echo $ this-> loadTemplate ('head'); echo $ this-> loadTemplate ('subcategories');
    endif;
    if (count ($ this-> images)): echo $ this-> loadTemplate ('head'); echo $ this-> loadTemplate ('images');
    endif;
    echo $ this-> loadTemplate ('footer');


    and in the JoomaGallery settings:
    "Category display" tab / "General parameters" sub-tab / "Category description" option, I put "Yes"


    Thank you so much.



    French :

    C'est bon.


    J'avais copié le dossier "detail" au lieu du dossier "category".


    J'ai mis le code :

    et dans les paramètres de JoomaGallery :

    Onglet "Affichage des catégories" / sous-onglet "Paramètres généraux" / Option "Description de la catégorie", j'ai mis "Oui"


    Merci beaucoup.