Blocks Left Question But Not The Normal Q's

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Blocks Left Question But Not The Normal Q's
jcb
CZ Active Member
 Codezwiz Site Donator
uk.gif
Occupation: Soldier
Age: 49
Gender: Male
Fav. Sports Team: England
Status: Offline
Joined: Oct 20, 2003
0.02 posts per day
Posts: 135
Points: 7,618
   
Hi guys,

I have a custom page in my nuke root which I cant have as a module and dont want as a module.
Now, I know about the:

    global $name;
   
   if($name!=Forums)
   if($name!=Members_List)
   if($name!=Private_Messages)                   
    blocks(left);


In theme.php but how do you do this for a file on your nuke root.?

I have tried

if($name!="myfilename.php")

But that obviously doesnt work.

Anyone know what code I need to add to either theme.php or myfilename.php in order to to get rid of the left blocks when it is used.

Cheers all.

Jon



_________________
PHP Super NooB
Back to top Reply with quote
#2   
jcb
CZ Active Member
 Codezwiz Site Donator
uk.gif
Occupation: Soldier
Age: 49
Gender: Male
Fav. Sports Team: England
Status: Offline
Joined: Oct 20, 2003
0.02 posts per day
Posts: 135
Points: 7,618
   
I added:

if($name=='myfilename.php')

To the theme.php blocks left section and it completely removed the left blocks. icon_cry.gif




_________________
PHP Super NooB
Back to top Reply with quote
#3   
jcb
CZ Active Member
 Codezwiz Site Donator
uk.gif
Occupation: Soldier
Age: 49
Gender: Male
Fav. Sports Team: England
Status: Offline
Joined: Oct 20, 2003
0.02 posts per day
Posts: 135
Points: 7,618
   
Anybody got a solution to this?




_________________
PHP Super NooB
Back to top Reply with quote
#4   
jcb
CZ Active Member
 Codezwiz Site Donator
uk.gif
Occupation: Soldier
Age: 49
Gender: Male
Fav. Sports Team: England
Status: Offline
Joined: Oct 20, 2003
0.02 posts per day
Posts: 135
Points: 7,618
   
Cancell,

Its sorted now. icon_biggrin.gif




_________________
PHP Super NooB
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum