Author Topic: Category images count in ACP  (Read 7114 times)

0 Members and 1 Guest are viewing this topic.

Offline Robin1973

  • Pre-Newbie
  • Posts: 9
    • View Profile
    • Agencja modelek modelki fotomodelki zdjęcia
Category images count in ACP
« on: May 04, 2006, 05:39:39 PM »
Hi,

I like to remove all my empty categories.
I am looking for MOD/fix for admin/categories.php in ACP to display number of images in each category.
I tried to do it myself but i can't.

Can enybody help me?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Category images count in ACP
« Reply #1 on: May 05, 2006, 12:45:01 AM »
4images version please!
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline ManniC

  • Full Member
  • ***
  • Posts: 182
    • View Profile
    • photographic impressions
Re: Category images count in ACP
« Reply #2 on: May 05, 2006, 07:30:41 AM »
Viele Grüße / Best Regards
Manfred
------------------------------------------------------
photographic impressions powered by mc-com.de[/color][/url][/size]

Offline Robin1973

  • Pre-Newbie
  • Posts: 9
    • View Profile
    • Agencja modelek modelki fotomodelki zdjęcia
Re: Category images count in ACP
« Reply #3 on: May 05, 2006, 08:20:14 PM »
4images version please!
my Version: 1.7

this some lines from my categories.php in ACP

Code: [Select]
echo "<img src=\"".ROOT_PATH."admin/images/folder.gif\" ><b>
    <a href=\"".$site_sess->url(ROOT_PATH."categories.php?cat_id=".$cats['cat_id'])."\" target=\"_blank\">".$cats['cat_name']."</a>\n</b>&nbsp;&nbsp;&nbsp;&nbsp;";
    show_text_link($lang['edit'], "categories.php?action=editcat&cat_id=".$cats['cat_id']);
    show_text_link($lang['delete'], "categories.php?action=removecat&cat_id=".$cats['cat_id']);
    show_text_link($lang['add_subcategory'], "categories.php?action=addcat&cat_parent_id=".$cats['cat_id']);
    echo "\n</td>\n<td align=\"center\">";

i like to insert here something like $cat_numimages to display how many imeges are in each category.


Offline Robin1973

  • Pre-Newbie
  • Posts: 9
    • View Profile
    • Agencja modelek modelki fotomodelki zdj&#281;cia
Re: Category images count in ACP
« Reply #4 on: May 05, 2006, 08:27:14 PM »
Try the Mod Sitemap:
http://www.4homepages.de/forum/index.php?topic=9299.0
http://www.mc-com.de/4images/sitemap.php

Thank You for reply.
I use sitemap. Work very good, but i like have similar image count in Admin Control Panel because from ACP i can delete unused catalogs.

This is my sitemap


Offline henary

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: Category images count in ACP
« Reply #5 on: May 05, 2006, 11:13:07 PM »
Hello,

try this http://www.4homepages.de/forum/index.php?topic=5026.msg44175#msg44175

If you need this in english, please ask!

bye,
Henry

Offline Robin1973

  • Pre-Newbie
  • Posts: 9
    • View Profile
    • Agencja modelek modelki fotomodelki zdj&#281;cia
Re: Category images count in ACP
« Reply #6 on: May 06, 2006, 11:52:27 AM »