4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: julien on February 04, 2003, 03:38:42 PM
-
Hi.
For an easier edition & correlation between admin/edition and tree of folder:
1/ open admin/category.php
2/ find echo "<img src=\"".ROOT_PATH."admin/images/folder.gif\" alt=\"\"><b><a href=\"".$site_sess->url(ROOT_PATH."categories.php?cat_id=".$cats['cat_id'])."\" target=\"_blank\">".$cats['cat_name']."</a>\n</b> ";
3/ replace by echo "<img src=\"".ROOT_PATH."admin/images/folder.gif\" alt=\"\"> <b>".$cats['cat_id']."</b> <b><a href=\"".$site_sess->url(ROOT_PATH."categories.php?cat_id=".$cats['cat_id'])."\" target=\"_blank\">".$cats['cat_name']."</a>\n</b> ";
or put $cats['cat_id'] where you want !
It shows the folder/category number on the category edition panel. :D
-
Salut !
Tres pratique ! ca m'evite de poser la souris sur le lien :-)
-
c'est pour cela que je l'ai fait :)
je bosse aussi sur le fait de retrouver exactement la même arborescence dans les répertoires que dans l'organisation des galeries qui, de plus, auraient un nom plus parlant que leur Id ;)
mais bon, c'est casse-pied de reprendre les scripts des autres
Si tu veux voir ma galerie, pointe toi sur julienbayle.net (http://julienbayle.net) d'ici demain ou après-demain :)
A+
-
Super ;-) j'irais voir ton site.
J'ai posté un mod hier pour utiliser 4images sur un serveur avec restriction safe mode ! vu que l'auteur voulais pas le faire ;-(
@+ :-p
-
héhé :wink:
faut bien se débrouiller :D
-
Très bien :wink:
Very good.
It's a good solution although I usually just put the mouse pointer over the category (in admin or when browsing) and see the cat ID number in the URL.
-
Ok :D
I'm working on the fact that folder should have a name corresponding to category name and not to category id number ...
Inform you when it's done :)
-
simple mais tres pratique
thk