Support Forums

userindex.tpl help required please

This is a discussion on userindex.tpl help required please within the Templates, HTML, CSS, and Design Help forums, part of the General category; Hi all, When I am trying to do is to allow a line of text to appear in the userindex.tpl ...


Go Back   68 Classifieds Forums > General > Templates, HTML, CSS, and Design Help

Reply
 
Thread Tools Display Modes
Old 02-12-2010, 11:26 AM   #1
Customer
 
jason1971's Avatar
 
Join Date: Jan 2009
Location: England
Posts: 147
Rep Power: 13
jason1971 is on a distinguished road
Default userindex.tpl help required please

Hi all,

When I am trying to do is to allow a line of text to appear in the userindex.tpl page but only to show up to registered business users when they access their account page.

{if $extra3 =="Y"} To add / amend or delete your logo and company info click on Modify Your Account Below{/if}

I have also tried adding {if $entry.extra3 =="Y"} but still nothing any thoughts anybody please ?

Thanks

Jason
__________________
v4.1.8 Hosted - using Templatecodes neo2- green template
jason1971 is offline   Reply With Quote
Old 02-12-2010, 11:34 AM   #2
curmudgeon
 
Join Date: Mar 2006
Posts: 5,413
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

In order for you to evaluate the value of a variable, you have to make sure the variable exists on the page where you want to test its value.

when you are viewing the userindex.tpl page is the $extra3 variable availabe to you????
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 02-12-2010, 12:52 PM   #3
Customer
 
jason1971's Avatar
 
Join Date: Jan 2009
Location: England
Posts: 147
Rep Power: 13
jason1971 is on a distinguished road
Default

Hi Larry,

Keep forgetting about the debug thingy it is not available to me, guess I will have to think of another way around it.

Thanks

Larry
__________________
v4.1.8 Hosted - using Templatecodes neo2- green template
jason1971 is offline   Reply With Quote
Old 02-12-2010, 12:55 PM   #4
curmudgeon
 
Join Date: Mar 2006
Posts: 5,413
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Are you saying the var isnt available or debug?
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 02-12-2010, 01:18 PM   #5
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

If you have the SEO module on, then turn it off.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 02-12-2010, 10:15 PM   #6
Customer
 
jason1971's Avatar
 
Join Date: Jan 2009
Location: England
Posts: 147
Rep Power: 13
jason1971 is on a distinguished road
Default

Hi Larry sorry I mean that var isnt available

Seymour not sure even if I have a SEO mod, and dont have a clue how to turn it off. If should appear in admin/modules then no I dont have it.
__________________
v4.1.8 Hosted - using Templatecodes neo2- green template
jason1971 is offline   Reply With Quote
Old 02-13-2010, 02:50 AM   #7
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,089
Rep Power: 35
bowers01 is on a distinguished road
Default

Quote:
Originally Posted by jason1971
Hi Larry sorry I mean that var isnt available

Seymour not sure even if I have a SEO mod, and dont have a clue how to turn it off. If should appear in admin/modules then no I dont have it.
I have a module to make$ extra3 avalible on more pages.
Shoot me a PM with your email address and i will send it to you. I made a thread about it but dont have time to look for it.
Nick
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
68Green userindex.php dphibb Templates, HTML, CSS, and Design Help 2 06-26-2007 03:17 PM


All times are GMT -4. The time now is 03:16 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0