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

Register | Forgot Password

Minimum for a custom template?

Version: 2.20
printPrint


Minimum for a custom template?
lepus
Beginner

Usergroup: Member
Joined: Jul 04, 2005
Location: Portland, OR
Total Topics: 4
Total Posts: 8
Posted 07/10/05 - 05:25 PM:
quote post
#1
What's the minimum code that needs to go into a custom template? I can't find that information in the online manual. I tried creating my own template which just has a toplist in it (a toplist to show all new images since the member's last visit), but all it does is parrot back the CONFIG code in the toplist, so I assume something essential is missing.
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6163
Posted 07/10/05 - 05:30 PM:
quote post
#2
Nothing. A blank custom template works fine if you don't want to show anything.

You're probably using a toplist number that's already used in the wrapper, or possibly the toplist is an illegal syntax, couldn't say since you haven't posted it.

"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
lepus
Beginner

Usergroup: Member
Joined: Jul 04, 2005
Location: Portland, OR
Total Topics: 4
Total Posts: 8
Posted 07/11/05 - 02:59 PM:
quote post
#3
I was trying to create an "all images since last login" feature, but v2.20 has one built in, so I don't need that anymore, but thanks.
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.