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

Register | Forgot Password

Variable in Toplist-Condition - PROBLEM!

Version:
printPrint


Variable in Toplist-Condition - PROBLEM!
studentxy
Beginner

Usergroup: Member
Joined: Jan 06, 2005
Total Topics: 1
Total Posts: 2
Posted 01/06/05 - 11:14 PM:
quote post
#1
Hello!
Im using version 3.13 of wsnlinks and it rocks!
BUT

now i have a big problem.

I want to call the following toplist:



categories,name,100,ascending,parent='{CATPARENT}'

{CATNAME}




But it seems, as if the variables (e.g. {CATPARENT}) are parsed AFTER the Toplist-Function.

How can I handle this problem?
I found this thread: http://www.webmastersite.net/forums/thread/3447/1

but the line: $commands = templateextract($blanktemplate, '', '');

doesnt exist in my end.php, and so i dont know what to change.


Your Support would be nice.

This Toplist Function is VERY IMPORTANT for me.

Thx so far

Chris
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6316
Posted 01/07/05 - 09:53 PM:
quote post
#2
Where are you putting this toplist? {CATPARENT} should work within displaylinks.tpl, but would be logically meaningless anywhere else.

Edited by Paul on 01/07/05 - 09:58 PM

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

Usergroup: Member
Joined: Jan 06, 2005
Total Topics: 1
Total Posts: 2
Posted 01/08/05 - 12:10 PM:
quote post
#3
i put it in disolylinks.tpl and it DOESNT work for sure,
I tested for many hours now.

Any other solution?

thx so far

chris
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.