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..
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.
_________________
dezina Support Mod
Joined: Jun 09, 2003
Posts: 1713
Location: England
Posted:
Wed Jan 11, 2006 10:36 pm
TRY...
Code:
In your theme.php find:
if ($index == 1) {
and change to:
if (defined('INDEX_FILE')) {
_________________
Backup files BEFORE altering
Use PHPNuke 7.6 with patches!!
No private messages please, POST in forums.
tekjansen Private
Joined: Jan 03, 2006
Posts: 37
Posted:
Sat Jan 14, 2006 12:42 am
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.)
Evaders99 Site Admin
Joined: Aug 17, 2003
Posts: 12389
Posted:
Sat Jan 14, 2006 1:56 pm
Removing the index check completely will make it always show right blocks
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.
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.
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