Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / Modifier la position du nom d'une catégorie

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

Modifier la position du nom d'une catégorie

More
12 years 4 months ago #5821 by Marrakchi
Bonjour,

1 ) je souhaiterais modifier la position du nom qui s'affiche par défaut à droite de l'image d'une catégorie sur la page d'accueil.
je voudrais placer le nom en dessous de l'image.
que faut-il modifier ?

2) est-il possible de ne pas afficher les sous catégories , sur la page accueil, mais les garder uniquement sur le menu principale?
Car lorsque il y a plusieurs sous catégories, cela n'est pas très beau sur l'accueil


merci pour votre aide
More
12 years 4 months ago #5833 by tompap
Bonjour,

1 et 2 Il faut jouer avec le fichier views/front/tmpl/default.php

et modifier le code

par exemple

foreach ($this->cats as $row) {
//remove the if if you want more than 1 sublevel
if ($row->level > 1) {
continue;
}

mettre $row->level >0
More
12 years 4 months ago #5843 by Marrakchi
Replied by Marrakchi on topic Modifier la position du nom d'une catégorie
Bonjour Tompap,

merci pour votre réponse.
j'ai bien fait les modifications, pour le NON affichage des sous catégories, mais cela ne change rien, elles sont toujours présente à la page accueil, en dessous des catégories.

ai-je fais une erreur ?

merci

<?php
$nbcatsperrow = $this->conf->display_nb_categories_per_row;
$classtype = (int) (12 / $nbcatsperrow);

$num = 1;
$divopen = false;

foreach ($this->cats as $row) {
//remove the if if you want more than 1 sublevel
if ($row->level >0) {
continue;
}


if ($row->level == 0) {
More
12 years 4 months ago #5844 by Marrakchi
Replied by Marrakchi on topic Modifier la position du nom d'une catégorie
re bonjour Tompap

OK, ça fonctionne, c’était le cache de chrome qui ne c'était pas rafraîchi !

1000 merci
More
12 years 4 months ago #5846 by Marrakchi
Replied by Marrakchi on topic Modifier la position du nom d'une catégorie
par contre , je ne vois pas où modifier pour que le nom de catégories s'affiche en dessous de l'icone photos et non pas à droite;
si vous pouviez me guider svp ?

grand merci
More
12 years 4 months ago #5850 by tompap
remplacer les span6 par des span12 dans cette partie du code.
Moderators: perry
Time to create page: 0.055 seconds
Powered by Kunena Forum