Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.219
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ? This s...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriously...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - Left and right blocks
Left and right blocks

3 Replies / 2234 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » PhpNuke Theme Edits

View previous topic :: View next topic


DarthMartel
Reputation: 1.8 Add RepSubtract Rep
Local time: 6:01 PM


Noob
Noob

0.01 posts per day
Medals: 0

Joined: Feb 21, 2008
Last Visit: 05 Apr 2008
Posts: 10
Points: 348 

Post Left and right blocks Posted: Sun Mar 16, 2008 4:58 pm

Hey guys,

I've been trying to figure this out on my own but, haven't had much luck. Hope you can help me out. I haven't been able to get my page to display the right column blocks. The left ones appeared automatically with no problems. If I go into the block admin section and set a particular block to be on the right (for example the language block), once it's set I'll go to the front page and it will just disappear and there is still nothing on the right. If I go to set it back to appearing on the left it shows up on the left. I've even added different themes that show having blocks on the left and right in the example/demo but, when I use it on my site it just gives me blocks on the left. What do I need to change or edit to get blocks on the right to show up. Thanks very much

Darth
 

 
View user's profileSend private message Reply with quote

Ped
Reputation: 93.4 Add RepSubtract Rep
votes: 37
Local time: 1:01 AM
Location: Great British Empire
uk.gif

Site Founder
Site Founder

1.82 posts per day
Medals: 2 (View more...)
Super Dedicated User (Amount: 1)
Theme Guru
Theme Guru
Joined: Nov 13, 2006
Last Visit: 24 May 2012
Posts: 3670
Points: 191811 

Post Re: Left and right blocks Posted: Sun Mar 16, 2008 6:20 pm

Shop Purchases:
Clan Roster 2.0 · Bad Company 2 Vietnam Xtreme Theme

Search the tutorials m8 for the "no right blocks fix" LMAO
 

 
View user's profileSend private messageSend e-mail Reply with quote

DarthMartel
Reputation: 1.8 Add RepSubtract Rep
Local time: 6:01 PM


Noob
Noob

0.01 posts per day
Medals: 0

Joined: Feb 21, 2008
Last Visit: 05 Apr 2008
Posts: 10
Points: 348 

Post Left and right blocks Posted: Sun Mar 16, 2008 9:34 pm

thanks friend... I did do a search prior to posting but, I wasn't exact in what I was looking for so didn't find it. I searched using the words you gave me and came up with exactly what I was looking for. I appreciate pointing me in the right direction. I will post what I found so others may be able to find the answer if my topic comes up in their search.

Courtesy of a post made by Scorpion

" If you install a theme and it wont show you the right blocks try this fix.

Open up the theme.php of the theme you wish to fix.

FIND:
if ($index == 1) {

REPLACE WITH:
if (defined('INDEX_FILE') || ($index == 1)) {

This should fix your issue."
 

 
View user's profileSend private message Reply with quote


Guardian
Reputation: 535.9 Add RepSubtract Rep
votes: 1
Local time: 1:01 AM

slovakia.gif



0.04 posts per day
Medals: 0
Respected Member
Respected Member
Joined: Dec 09, 2006
Last Visit: 16 Apr 2012
Posts: 74
Points: 4757 

Post Left and right blocks Posted: Mon Mar 17, 2008 5:29 pm

Actually, that is a better fix than just setting INDEX_FILE to true as in
Code:
define(I'NDEX_FILE','true');

because the code you posted will work on both 'patched' and unpatched nuke versions - nice one!
 

 
View user's profileSend private messageVisit poster's website Reply with quote
Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » PhpNuke Theme Edits

«««« Quick Reply »»»»
 
3 Replies / 2234 Views
Page 1 of 1
All times are GMT
Display posts from previous:   
 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum