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, 55 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Right column missing in version 7.7 [ ]
 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
azism
Captain
Captain


Joined: May 20, 2004
Posts: 312

Location: Tucson, AZ

PostPosted: Tue Jan 10, 2006 10:26 am Reply with quoteBack to top

I just upgraded to php-Nuke 7.7 from 7.4 (via Fantastico). Now, in the custom themes the right column is always missing. I wanted it, in the past, to be hidden when in certain modules. Now It doesn't show at all. When I modify the code in theme.php (under themeheader()) to go back to the original "blocks(left);" code, it won't function at all..

Is there something here I need to be aware of? Question

_________________
Tom Wills
TI-99/4A On-Line UG Administrator
http://www.ti99ers.org/
Find all posts by azismView user's profileSend private messageVisit poster's website
shrek_rock
Captain
Captain


Joined: Nov 24, 2003
Posts: 709


PostPosted: Wed Jan 11, 2006 6:06 pm Reply with quoteBack to top

check to see if the upgraded version contains patched files. If it does then you will need to make the changes as outlined in the readme file for the patched files. It usually involved just changing one line in the theme.php file.

_________________
Image

Image
Find all posts by shrek_rockView user's profileSend private messageSend e-mailVisit poster's website
dezina
Support Mod
Support Mod


Joined: Jun 09, 2003
Posts: 1713

Location: England

PostPosted: Wed Jan 11, 2006 10:36 pm Reply with quoteBack to top

TRY...
Code:
In your theme.php find:
if ($index == 1) {

and change to:
if (defined('INDEX_FILE')) {

_________________
Image
Backup files BEFORE altering
Use PHPNuke 7.6 with patches!!
No private messages please, POST in forums.
Find all posts by dezinaView user's profileSend private messageVisit poster's website
tekjansen
Private
Private


Joined: Jan 03, 2006
Posts: 37


PostPosted: Sat Jan 14, 2006 12:42 am Reply with quoteBack to top

For that matter, I've got a lot of stuff I consider important in my Right Block, like the LINK TO US section and (an admittedly poorly paying) ad, but I want them on ALL my pages, not just the front. How do I get Right Blocks back in there in NukeNews? (I'll change themes if I have to, just prefer not to.)

Pretty please? (I find it helps when I ask super, duper nice.)
Find all posts by tekjansenView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12403


PostPosted: Sat Jan 14, 2006 1:56 pm Reply with quoteBack to top

Removing the index check completely will make it always show right blocks

The code

Code:

if (defined('INDEX_FILE')) {
...
}

Keep the lines in-between

_________________
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
tsoheili
Nuke Cadet
Nuke Cadet


Joined: Mar 28, 2006
Posts: 1


PostPosted: Tue Mar 28, 2006 12:05 pm Reply with quoteBack to top

The right column used to work, but after using some crap code from the phpNukeServices guys everything well to hell. Lets not get into the fact that I spent $40 for a module that does not work at all and they wont even reply to my emails about it. They were happy to answer emails before I gave them the money but I guess now that they got what they wanted they are happy and gone.

So back to my misssing right column issue. I removed the check for the INDEX file and so it now looks like this in the theme.php file.


//if (defined('INDEX_FILE')) {
echo "</td><td><img src=\"themes/Anagram/images/pixel.gif\" width=\"5\" height=\"1\" border=\"0\" alt=\"\"></td>\n"
."<td background=\"themes/Anagram/images/column-bg.gif\" valign=\"top\" width=\"150\">\n";
blocks(right);
//}


I dot know where to go from here though. If you look at the site you can tell, by highliting the page that there is a right column there and there should be three blocks in there but they are showing up. I can move the blocks to the middle or the left and they show up fine but the right they jsut disappear. See for yourself. http://GratisBay.com

Thanks for your help... I am beginning to lose hope in this and starting to think I should go to my 25% complete "from scratch" auction site.

Tim


Maybe I can just go into the PHPNuke Services code and make it do what I want but the whole module thing in PHPNuke seems strange to me, so who knows what will happen.
Find all posts by tsoheiliView user's profileSend private message
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.259 Seconds - 274 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::