Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Themes
Author Message
quickthrottle
Regular
Regular


Joined: Mar 18, 2006
Posts: 60

PostPosted: Thu Apr 06, 2006 6:00 pm Reply with 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 name of the theme is Gridlock.
it is at Only registered users can see links on this board! Get registered or login!
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?

_________________
A real friend is not someone that will come bail you out of jail.
A real friend would be there with you asking How we gona get out? 
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

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
PostPosted: Fri Apr 07, 2006 3:54 am Reply with quote

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,
 
hitwalker
PostPosted: Fri Apr 07, 2006 6:45 am Reply with quote

Smile
 
grimpuppy
New Member
New Member


Joined: Apr 15, 2006
Posts: 3

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

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: 208
Location: Italy

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

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
PostPosted: Mon Apr 17, 2006 6:59 am Reply with quote

Sticky?
Well its in ravens FAQ also....Smile
Thing is...people dont read...Sad
 
guidyy
PostPosted: Mon Apr 17, 2006 7:19 am Reply with quote

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
 
hitwalker
PostPosted: Mon Apr 17, 2006 7:21 am Reply with quote

your absolutely right...Smile
But if a sticky would help.. Question
 
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6793
Location: Ha Noi, Viet Nam

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

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


Joined: May 01, 2006
Posts: 7

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

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

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
PostPosted: Fri Jun 02, 2006 5:10 pm Reply with quote

ill bet you just got out of bed... killing me
 
eodhappyman
PostPosted: Fri Jun 02, 2006 9:54 pm Reply with quote

Dang your good Laughing
 
Bluezzz
Involved
Involved


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

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

OH man ... I LOVE IT when the answer's right ON TOP! LOL Hugzzz

_________________
Bluezzz
~ Stop & smell the roses, while you can! ~ 
View user's profile Send private message
Bluezzz
PostPosted: Mon Aug 28, 2006 3:59 pm Reply with quote

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!?
 
hitwalker
PostPosted: Mon Aug 28, 2006 4:03 pm Reply with quote

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 !
 
Bluezzz
PostPosted: Mon Aug 28, 2006 4:15 pm Reply with quote

I did that, and I posted the resulting parsing error.
 
hitwalker
PostPosted: Mon Aug 28, 2006 4:17 pm Reply with quote

then check your edit again...
you did something wrong.... Wink
 
Bluezzz
PostPosted: Mon Aug 28, 2006 4:29 pm Reply with quote

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?
 
hitwalker
PostPosted: Mon Aug 28, 2006 4:32 pm Reply with quote

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.
 
Bluezzz
PostPosted: Mon Aug 28, 2006 4:40 pm Reply with quote

Thank you again hitwalker ... it was an error on my part, seems I got it in there right now!
 
hitwalker
PostPosted: Mon Aug 28, 2006 4:42 pm Reply with quote

nice.. Wink
good luck..
 
Guardian2003
PostPosted: Mon Aug 28, 2006 10:05 pm Reply with quote

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.
 
wazza180
Hangin' Around


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

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

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

_________________
G'Day

Wazza 
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    Ravens PHP Scripts And Web Hosting Forum Index -> Themes

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©