Author Topic: category description only on specific category page  (Read 5069 times)

0 Members and 1 Guest are viewing this topic.

Offline sylvia

  • Pre-Newbie
  • Posts: 6
    • View Profile
category description only on specific category page
« on: February 25, 2003, 10:59:41 AM »
I wonder if anyone can help me with this.

I only want to see the description of a category (and sub category) on the actual category page. Not on the homepage and on other category pages. (I still like to keep the description so deleting the description altogether is not really an option).

Where and how can I change this.

Any help much appreciated.

sylvia

Offline sylvia

  • Pre-Newbie
  • Posts: 6
    • View Profile
category description
« Reply #1 on: February 26, 2003, 10:49:45 PM »
is there really no way to do this?

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
category description only on specific category page
« Reply #2 on: February 27, 2003, 01:20:13 AM »
do u mean like here? at left side
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 sylvia

  • Pre-Newbie
  • Posts: 6
    • View Profile
category description only on specific category page
« Reply #3 on: February 27, 2003, 01:36:23 AM »
Hi V@no,

Thanks for your reply.

No I don't have a category box on the side. The categories are listed at the top. (standard) When you click on the category you go to the images in that category and there is a description of that category on the top of that page.

Now at the moment that  category description is also on the frontpage at the top where the categories are.

What I want is that you do see the category description on the category page but not on the other pages where the categories are listed.

Does this make sense?

Sylvia

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
category description only on specific category page
« Reply #4 on: February 27, 2003, 01:39:40 AM »
ah, ok, lets see if I got it right:
open /templates/<yourtemplate>/category_bit.html
and delete this:
Code: [Select]
{if cat_description}
<TR>
<TD width="100%" valign="bottom"> <SPAN class="smalltext">{cat_description}</SPAN><BR /></TD>
</TR>
{endif cat_description}

in your template it might be little different, but the main point is {...} tags and inbetween them.
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 sylvia

  • Pre-Newbie
  • Posts: 6
    • View Profile
category description only on specific category page
« Reply #5 on: February 27, 2003, 02:06:37 AM »
Hi V@no,

That is exactly what I was looking for!

Many thanks.

Sylvia