Author Topic: different templates for categories  (Read 6503 times)

0 Members and 1 Guest are viewing this topic.

Offline ahmed_badawy

  • Newbie
  • *
  • Posts: 48
    • View Profile
different templates for categories
« on: March 14, 2009, 04:13:11 AM »
hello ,,

Is there any way to use different templates for Certain categories

thanx

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: different templates for categories
« Reply #1 on: March 14, 2009, 07:35:09 AM »

Offline ahmed_badawy

  • Newbie
  • *
  • Posts: 48
    • View Profile
Re: different templates for categories
« Reply #2 on: March 14, 2009, 09:51:59 PM »
« on: September 12, 2002, 12:07:48 PM »

This is what I want, but unfortunately does not work with the new version Is there any amendments?

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: different templates for categories
« Reply #3 on: March 14, 2009, 11:49:48 PM »
doesn't work how?
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 ahmed_badawy

  • Newbie
  • *
  • Posts: 48
    • View Profile
Re: different templates for categories
« Reply #4 on: March 15, 2009, 01:02:22 AM »
i try open categories.php?cat_id=1 Working the old template

i Make sure to changed header_1.html

see Attach

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: different templates for categories
« Reply #5 on: March 15, 2009, 01:06:42 AM »
I don't know where your header_1.html came from, but if you read carefully the mod's instructions, you'll find that only categories_<cat_id>.html is what you need.
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 ahmed_badawy

  • Newbie
  • *
  • Posts: 48
    • View Profile
Re: different templates for categories
« Reply #6 on: March 15, 2009, 01:42:49 AM »
It is working only with categories file ??

I want her working with these files Is there a way to do that

header.html
footer.html

thanx for your time :)

Offline ahmed_badawy

  • Newbie
  • *
  • Posts: 48
    • View Profile
Re: different templates for categories
« Reply #7 on: March 15, 2009, 01:58:20 AM »
Thank you, I got in the way

Those who want to know

in categories_2.html

Delete {header} and {footer}

Add what you want at the beginning and end of file

The way it work, there may be a better way  :roll: