| Author |
Message |
Plasma
Lieutenant


Joined: Jan 02, 2004
Posts: 261
|
Posted:
Sat May 13, 2006 5:48 am |
  |
I have this line of code:
| Code: |
| if ($name=='Forums') { /* Don't display it. */ } else { blocks(left); } |
but how would I add other modules to that so the left blocks won't show when the module is loaded? in my case, the module will be gallery2.
thank you for you help. |
|
|
   |
 |
Plasma
Lieutenant


Joined: Jan 02, 2004
Posts: 261
|
Posted:
Sat May 13, 2006 6:02 am |
  |
nevermind, i found it..
| Code: |
| if ($name=='Forums') { /* Don't display it. */ } else if ($name=='gallery2') { /* Don't display it. */ } else { blocks(left); } |
|
|
|
   |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12368
|
Posted:
Sun May 14, 2006 7:07 pm |
  |
|
     |
 |
Plasma
Lieutenant


Joined: Jan 02, 2004
Posts: 261
|
Posted:
Thu Apr 19, 2007 2:13 pm |
  |
Have a new issue. this theme doesn't have the same setup as listed above. could someone look at it and suggest how I would hide the left blocks in the forum? thx
for some reason I cannot post the code, so here is a link to a txt file that has the code:
"removed link" |
Last edited by Plasma on Fri Apr 20, 2007 5:25 pm; edited 1 time in total |
|
   |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12368
|
Posted:
Thu Apr 19, 2007 8:44 pm |
  |
|
     |
 |
Plasma
Lieutenant


Joined: Jan 02, 2004
Posts: 261
|
Posted:
Fri Apr 20, 2007 3:30 am |
  |
| Evaders99 wrote: |
I'm not sure what the $swapleftright is supposed to do in this code, but the relevant line to modify is
|
i've tried modifing it according to what was posted above, but I just get an error and the website won't load. could you repost the correct way to modify the
blocks(left);
so I can try it again? |
|
|
   |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12368
|
Posted:
Fri Apr 20, 2007 11:30 am |
  |
|
     |
 |
Plasma
Lieutenant


Joined: Jan 02, 2004
Posts: 261
|
Posted:
Fri Apr 20, 2007 5:25 pm |
  |
|
   |
 |
|
|