Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: [HACK] Show phpNuke Right Side Blocks  (Read 3741 times)

0 Members and 1 Guest are viewing this topic.

ryndog

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
[HACK] Show phpNuke Right Side Blocks
« on: November 16, 2003, 11:48:31 pm »

I have installed CPG 1.2.0 for phpnuke, and I would like to ACTIVATE the RIGHT side blocks.  It looks by default, they are turned off.  I have tried adding the line '$index-1;' in the index.php file, but there was no change.

If there is anymore information you need to know, I would be happy to provide it.  Thanks.
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
[HACK] Show phpNuke Right Side Blocks
« Reply #1 on: November 17, 2003, 03:37:43 am »

No we put the function hidden for a upcomming config feature.

Open include/init.inc.php and go the end of the file.
replace:
Code: [Select]
if (isset($home)) $index = $home;
else $index=0;


With
Code: [Select]
if (isset($home)) $index = $home;
else $index=1;
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

ryndog

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
[HACK] Show phpNuke Right Side Blocks
« Reply #2 on: November 17, 2003, 06:03:58 pm »

Works, thanks for tyhe help!
Logged
Pages: [1]   Go Up
 

Page created in 0.035 seconds with 19 queries.