PC Playground  

Go Back   PC Playground > The Core > Scripting/Programming
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-28-2003, 01:39 AM
Junior Member
 
Join Date: Sep 2003
Posts: 5
Default Block Question...

Is there anyway to have both the left (ie. menu) and right (ie. polls) blocks appear when accessing http://WWW.MYSITE.COM, but when I want to go deeper into the site, remove the right blocks. For example, leave the menu on the screen, but remove the poll?

When accessing, say, the categories or sections, I put the focus on the content by removing the right-side blocks. This would still allow for navigation via the menu and login/logout on the left.

Thanks for your help!
Reply With Quote
  #2 (permalink)  
Old 09-28-2003, 02:16 AM
Administrator
 
Join Date: Jan 2003
Posts: 1,348
Default

To hide the right menu you need to edit the module code.


Right blocks showing:
Code:
require_once("mainfile.php"); $pagetitle = "- My Page Title"; $index = 1; include("header.php");

Right blocks NOT showing:
Code:
require_once("mainfile.php"); $pagetitle = "- My Page Title"; $index = 0; include("header.php");
Notice the value of $index changes?.....
Reply With Quote
  #3 (permalink)  
Old 09-28-2003, 02:29 AM
Junior Member
 
Join Date: Sep 2003
Posts: 5
Default Thanks...

I check out the news, reviews, download, modules, and your post makes sense.

One thing I'm still not sure about - what you're saying is that I simply edit the code only on the modules I don't want the right menu to appear (that means the news, reviews, downloads modules). ?
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:37 AM.


Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.