PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
quickthrottle
Regular
Regular


Joined: Mar 18, 2006
Posts: 60

PostPosted: Thu Apr 06, 2006 6:00 pm Reply with quote Back to top

I found a new theme for my site and i have changed some of the graphics and have it looking the way i want it.
The only trouble is, It will not show the right side blocks.
The name of the theme is Gridlock.
it is at
Only registered users can see links on this board!
Get registered or login to the forums!

I have tried about 4 different fixes that i have found here but they don't seem to change nothing. Am i changing the right file?
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Thu Apr 06, 2006 7:43 pm Reply with quote Back to top

what fixes did you tried?
also this one ?

In your theme.php find:

if ($index == 1) {

and change to:

if (defined('INDEX_FILE')) {
View user's profile Send private message
quickthrottle
Regular
Regular


Joined: Mar 18, 2006
Posts: 60

PostPosted: Fri Apr 07, 2006 3:54 am Reply with quote Back to top

Yes, did that one.
and the answer is NO I'm changing the wrong file.

for some reason ( probably me ) I was trying to change it with the index.html file.

It's working now,
Thanks hitwalker,
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Fri Apr 07, 2006 6:45 am Reply with quote Back to top

Smile
View user's profile Send private message
grimpuppy
New Member
New Member


Joined: Apr 15, 2006
Posts: 3

PostPosted: Mon Apr 17, 2006 6:10 am Reply with quote Back to top

hitwalker wrote:
what fixes did you tried?
also this one ?

In your theme.php find:

if ($index == 1) {

and change to:

if (defined('INDEX_FILE')) {


Thanks! Worked for me!
View user's profile Send private message
guidyy
Worker
Worker


Joined: Nov 22, 2004
Posts: 206
Location: Italy

PostPosted: Mon Apr 17, 2006 6:56 am Reply with quote Back to top

I'd put this as Sticky...
It seems to be a major problem for a lot of people....
Guido
View user's profile Send private message Visit poster's website MSN Messenger
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Mon Apr 17, 2006 6:59 am Reply with quote Back to top

Sticky?
Well its in ravens FAQ also....Smile
Thing is...people dont read...Sad
View user's profile Send private message
guidyy
Worker
Worker


Joined: Nov 22, 2004
Posts: 206
Location: Italy

PostPosted: Mon Apr 17, 2006 7:19 am Reply with quote Back to top

I know it's on the FAQ: here, nukecops, and probably in another dozen of phpnuke related websites If I do not recall wrong is also in the doc of the 3.1/3.2 patched distro.
But people go straight to the forums and do not RTM
View user's profile Send private message Visit poster's website MSN Messenger
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Mon Apr 17, 2006 7:21 am Reply with quote Back to top

your absolutely right...Smile
But if a sticky would help.. Question
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 5830

PostPosted: Mon Apr 17, 2006 8:54 am Reply with quote Back to top

Done!
View user's profile Send private message Send e-mail Visit poster's website
aztig
New Member
New Member


Joined: May 01, 2006
Posts: 7

PostPosted: Mon May 01, 2006 4:33 am Reply with quote Back to top

Whew! been looking for this fix for ages Very Happy,

<------ a total noob Sad
View user's profile Send private message
eodhappyman
New Member
New Member


Joined: Jun 02, 2006
Posts: 6

PostPosted: Fri Jun 02, 2006 5:07 pm Reply with quote Back to top

In the modules/yourmodule/index.php folder you can also enter
Code:
/**********************************/
/* Configuration                  */
/*                                */
/* You can change this:           */
/* $index = 0; (right side off)   */
/**********************************/
$index = 1;
/**********************************/


And it WORKS! (well atleast for me
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Fri Jun 02, 2006 5:10 pm Reply with quote Back to top

ill bet you just got out of bed... killing me
View user's profile Send private message
eodhappyman
New Member
New Member


Joined: Jun 02, 2006
Posts: 6

PostPosted: Fri Jun 02, 2006 9:54 pm Reply with quote Back to top

Dang your good Laughing
View user's profile Send private message
Bluezzz
Involved
Involved


Joined: Feb 08, 2005
Posts: 290
Location: USA

PostPosted: Mon Aug 28, 2006 3:43 pm Reply with quote Back to top

OH man ... I LOVE IT when the answer's right ON TOP! LOL Hugzzz
View user's profile Send private message
Bluezzz
Involved
Involved


Joined: Feb 08, 2005
Posts: 290
Location: USA

PostPosted: Mon Aug 28, 2006 3:59 pm Reply with quote Back to top

Oh pooh, I got a parsing error when changing the

In your theme.php find:

if ($index == 1) {

and change to:

if (defined('INDEX_FILE')) {

<B>Parse error: syntax error, unexpected $end in /*****/*****/*****/themes/Aeolus/theme.php on line 279</B>

As for the other suggestion I can't find any index.php file in the example path of
*modules/yourmodule/index.php*

I have a modules folder ... but there's no php file in that. Can someone point me in the right direction for the right index.php to change please and thanks!?
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Mon Aug 28, 2006 4:03 pm Reply with quote Back to top

well...nobody said to touch your modules or whatever..

the topis was about...

Quote:
I found a new theme for my site and i have changed some of the graphics and have it looking the way i want it.
The only trouble is, It will not show the right side blocks.


the right blocks were...
to solve that was..

In your theme.php find:

if ($index == 1) {

and change to:

if (defined('INDEX_FILE')) {


so go to your index.php of your theme !
View user's profile Send private message
Bluezzz
Involved
Involved


Joined: Feb 08, 2005
Posts: 290
Location: USA

PostPosted: Mon Aug 28, 2006 4:15 pm Reply with quote Back to top

I did that, and I posted the resulting parsing error.
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Mon Aug 28, 2006 4:17 pm Reply with quote Back to top

then check your edit again...
you did something wrong.... Wink
View user's profile Send private message
Bluezzz
Involved
Involved


Joined: Feb 08, 2005
Posts: 290
Location: USA

PostPosted: Mon Aug 28, 2006 4:29 pm Reply with quote Back to top

What I was referring to regarding modules reference was also above, here's the quoted comment ...

In the modules/yourmodule/index.php folder you can also enter
/**********************************/
/* Configuration */
/* */
/* You can change this: */
/* $index = 0; (right side off) */
/**********************************/
$index = 1;
/**********************************/

I don't know what .php file that is relating to in order to go there and make said change ... I don't have any such path for one thing so I can't find the .php file he/she's referring to.

I will double check my edit as you suggested but perhaps someone can clarify the part above ... where exactly is this .php file this person is referring to?
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Mon Aug 28, 2006 4:32 pm Reply with quote Back to top

there can be 2 reasons why the right blocks dont show..

thats this : $index = 1;
if you change that to $index = 0;
then your right blocks dont show...

but has nothing to do with the theme problem or yours.
View user's profile Send private message
Bluezzz
Involved
Involved


Joined: Feb 08, 2005
Posts: 290
Location: USA

PostPosted: Mon Aug 28, 2006 4:40 pm Reply with quote Back to top

Thank you again hitwalker ... it was an error on my part, seems I got it in there right now!
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Mon Aug 28, 2006 4:42 pm Reply with quote Back to top

nice.. Wink
good luck..
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 5830

PostPosted: Mon Aug 28, 2006 10:05 pm Reply with quote Back to top

Just for clarification in case anyone is confused....
Making the change in the theme.php will turn on right blocks on or off for the whole site.

Making the change in a specific modules index.php will turn right blocks on/off just for that module provided they are turned on in the theme.php.
View user's profile Send private message Send e-mail Visit poster's website
wazza180
Hangin' Around


Joined: Jan 08, 2007
Posts: 35
Location: Australia

PostPosted: Sun Feb 04, 2007 7:46 am Reply with quote Back to top

hitwalker wrote:
what fixes did you tried?
also this one ?

In your theme.php find:

if ($index == 1) {

and change to:

if (defined('INDEX_FILE')) {


Thanks hitwalker! Exactly what I have been looking for Wink
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous 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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2010 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum