WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Category types on main page
<--BEGIN REGULAR showing other types

Version: 3.26
printPrint


Category types on main page
mrowton
Forum Regular
Avatar

Usergroup: Customer
Joined: Feb 19, 2004
Location: Michigan
Total Topics: 59
Total Posts: 189

Last Blog:

Posted 10/04/05 - 10:47 AM:
quote post
#1
Previously I had a a category that was type "special"

I dont want the special category to show up on the main page, so I never added the below to the template.

<!-- BEGIN SPECIAL -->
stuff here
<!-- END SPECIAL -->

Now that I've upgraded to 3.26 the special category is showing up even without the above tags.

I can't use "hide category from listing" because this hides it from toplists, doesn't allow people to view it when you manually link to it, etc.

All I want is for it to not show up on the main page category listing.


http://www.packetsource.com/
Directory of Security Papers
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6339
Posted 10/05/05 - 11:02 AM:
quote post
#2
Since people tend to forget about the template, 3.2x helpfully defaults it to whatever type it can find. You need to add the category type even if you don't show anything for it. Just leave the content as a blank space.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
mrowton
Forum Regular
Avatar

Usergroup: Customer
Joined: Feb 19, 2004
Location: Michigan
Total Topics: 59
Total Posts: 189

Last Blog:

Posted 10/05/05 - 07:05 PM:
quote post
#3
After adding the category types with nothing between them it fixes the problem.

However the following is now displayed in its place (not in the template but the acutual html)

{REGULARTEMP}
{REGULARTEMP}

I'm sure this is caused by me using old templates with a newer version of WSN Links. I've tried to look through and see what is different but nothing sticks out at me. Do you happen to know what would cause this to happen?

If not I can spend more time on it and do a "proper" upgrade (templates and all).

http://www.packetsource.com/
Directory of Security Papers
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6339
Posted 10/05/05 - 10:18 PM:
quote post
#4
Do you have a <!-- BEGIN REGULAR -->? Just post your template.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.