Clan Adverts

Custom PHPNuke Scripts

 

www.clan-themes.co.uk :: View topic - Left and right blocks

 Welcome To Clan Themes 

As the board grows please remember the Search Option and we hope you find our community useful.

We also monitor Private Messages to stop members from abusing our sites system.
If you are asking for assistance please provide your site link and nuke version, Thanks.

Left and right blocks

3 Replies / 476 Views


Post new topic   Reply to topic  

   www.clan-themes.co.uk Forum Index » PhpNuke Theme Edits

View previous topic :: View next topic


DarthMartel
Reputation: 1.8
Local time: 8:25 AM


Status: Offline
0.07 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: 450.3
votes: 17
Local time: 3:25 PM
Location: Great British Empire
uk.gif

Status: Offline
2.93 posts per day
Medals: 2 (View more...)
Dedicated User (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 06 Jul 2008
Posts: 1759
Points: 8482 

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

DarthMartel
Reputation: 1.8
Local time: 8:25 AM


Status: Offline
0.07 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: 488
votes: 1
Local time: 3:25 PM

poland.gif

Status: Offline
0.10 posts per day
Medals: 0

Joined: Dec 09, 2006
Last Visit: 06 Jul 2008
Posts: 55
Points: 1822 

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.clan-themes.co.uk Forum Index » PhpNuke Theme Edits

«««« Quick Reply »»»»
 
3 Replies / 476 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