You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 70 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Left Column Hide (Story Page not Story Index) [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
lost3
Lieutenant
Lieutenant


Joined: Aug 16, 2004
Posts: 163


PostPosted: Tue Dec 11, 2007 11:53 am Reply with quoteBack to top

Hello,

I was wondering if anyone could tell me if it's possible to hide the Left Column on the Story Page but not on the Story Index.

I added the:

Code:
    if ($name=='News') {
    /* Don't display it. */
    }
    else {
    blocks(left);
    }


code but of course it takes it off both the index and story page.

Whadaya say? Do you think it's possible?
Any response will be appreciated.
Thank you for your time.
Find all posts by lost3View user's profileSend private message
lost3
Lieutenant
Lieutenant


Joined: Aug 16, 2004
Posts: 163


PostPosted: Tue Dec 11, 2007 12:21 pm Reply with quoteBack to top

Whatever. I copied the news module and renamed it so I would be able to do this. Still I would like to do it the right way if it's possible.

_________________
Evaders99 and VinDSL for President !!!!!!!!!!!!!!!!
Find all posts by lost3View user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12397


PostPosted: Tue Dec 11, 2007 3:32 pm Reply with quoteBack to top

You could check against the filename, the call is something like
modules.php?name=News&file=article so check on the $file variable

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.444 Seconds - 354 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::