logo
WSN Links PHP Directory Software
Features Showcase Reviews Demos Purchase Manual Support
 

Possible missing WSN code.
Trying to move login/register to diff location

Version:


Possible missing WSN code.
Telejoke
Beginner

Usergroup: Customer
Joined: Oct 10, 2004
Total Topics: 4
Total Posts: 8
Posted 10/10/04 - 06:29 PM:
quote post
#1
Hello,

I'm trying to move some of the items at the bottom of the wrapper template to a bar on top. You can see the ugliness at www.buyprolife.com. The output is below. I THINK I may have missed some "IF" statements or put too many ending "IF"s. I can post the relevant section of the code here if it todesn't take up too much

This is what the problematic area of the template looks like during parsing:
Line #141:
Line #142: You're logged in as Admin.
Line #143:
Line #144:
Line #145:
Line #146: View Profile

After some work, deleting extra [/IF] statements, I got the thing to work....except for:

The error is picked up on by php at line 308 of the output.
This is what the problematic area of the template looks like during parsing:
Line #303:
Line #304:
Line #305:
Line #306:
Line #307:
Line #308:

What is odd is that everything appears on the page as expected...except for the error at the top of the page.


Thanks,
Tony

Edited by Telejoke on 10/10/04 - 06:54 PM. Reason: Found more info about problem
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 56
Total Posts: 5844
Posted 10/10/04 - 10:11 PM:
quote post
#2
Check the default template and compare them, or remove all conditionals and carefully reinsert them.

_____________________
"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
Telejoke
Beginner

Usergroup: Customer
Joined: Oct 10, 2004
Total Topics: 4
Total Posts: 8
Posted 10/12/04 - 04:31 PM:
quote post
#3
Thanks... I did a search and destroy mission to make sure all of the IFs and /IFs had matching buddies. Now I'm back to the original issue (which I didn't report here):

This is what the problematic area of the template looks like during parsing:
Line #328: Admin Control Panel
Line #329:
Line #330:
Line #331:
Line #332:
Line #333:


Please note that I've had sevaral variations of this error, and cannot find a line after the closing tag.

Thanks again,
Tony
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 56
Total Posts: 5844
Posted 10/12/04 - 06:24 PM:
quote post
#4
I can't write your templates for you (see resources section for companies that can create custom template sets for you), so please just go back to the working template. Attached.

Attached Files:
wrapper.tpl
(3 KB, 14 downloads)

_____________________
"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.

Admin Control Panel

   
Home    |    Features    |    Showcase    |    Reviews    |    Demos    |    Purchase    |    Manual    |    Support
© 2008 Paul Knierim. All rights reserved.