Author Topic: Which line shows Sub subcategories ?  (Read 7062 times)

0 Members and 1 Guest are viewing this topic.

Offline dMark

  • Newbie
  • *
  • Posts: 15
    • View Profile
Which line shows Sub subcategories ?
« on: November 28, 2008, 02:47:37 PM »
Friends, help Russian man.
I speak the language poorly. Рainted!

This line in functions.php shows the image [18] of subcategories:
Code: [Select]
[".$cat_cache[$subcat_id]['num_images']."]
Which line shows ['+'] Sub subcategories in Index page ??? Рainted!:
« Last Edit: November 28, 2008, 03:49:42 PM by dMark »

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~

Offline dMark

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Which line shows Sub subcategories ?
« Reply #2 on: November 28, 2008, 10:04:40 PM »
:-( I'am only moderator.

Do not help me Kurt?

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: Which line shows Sub subcategories ?
« Reply #3 on: November 28, 2008, 10:56:11 PM »
:-( I'am only moderator.
But you can edit files, right?
Fix the copyright then, we'll talk.

Thank you.
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 dMark

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Which line shows Sub subcategories ?
« Reply #4 on: November 29, 2008, 12:18:56 PM »
We booked a site in the design studio. All done there.
I knew the script gallery "4images", and began its improvement.
Sorry. Copyright "Powered by customized 4images 1.7.x" made.

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: Which line shows Sub subcategories ?
« Reply #5 on: November 29, 2008, 06:42:57 PM »
Thank you for understanding ;)

For categories it's in templates/<your template>/category_bit.html

Code: [Select]
[{num_images}]
For subcategories search in includes/functions.php for:
Code: [Select]
$sub_cat_list .= "<a href=\"".$sub_url

P.S.
Any modifications in these files will affect all pages, not only home page.

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 dMark

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Which line shows Sub subcategories ?
« Reply #6 on: November 30, 2008, 09:20:38 AM »
Any modifications in these files will affect all pages, not only home page.
I know.

I should like:
if  There is a picture and No subSubcategories = images
if  There is a picture and There is a subSubcategories = subSubcategories
if  No picture and There is a subSubcategories = subSubcategories

Сan this be done in functions.php?
Result as in the picture:
« Last Edit: November 30, 2008, 03:14:33 PM by dMark »

Offline dMark

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Which line shows Sub subcategories ?
« Reply #7 on: December 02, 2008, 12:03:58 PM »
V@no so can we do?
I know the algorithm, but I do not know PHP.
Show code please.

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: Which line shows Sub subcategories ?
« Reply #8 on: December 02, 2008, 01:39:51 PM »
Sorry, I don't quiet understand what is it you want to do..
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)