Author |
Message |
izone
Involved
![Involved Involved](modules/Forums/images/ranks/4stars.gif)
![](modules/Forums/images/avatars/Animaniacs/Animaniacs_-_Pinky.gif)
Joined: Sep 07, 2004
Posts: 354
Location: Sweden
|
Posted:
Fri Jun 17, 2005 6:58 am |
|
Ok it is strange but somebody asked me this question and I cann't let it go.
The question: How can I do to show a center up block above the News insted of now showing below it???
This is the 10 000$ question!!!
Best Regards. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
Sells PC To Pay For Divorce
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined:
Posts: 5661
|
Posted:
Fri Jun 17, 2005 2:19 pm |
|
Huh?
More specific please.. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
izone
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jun 17, 2005 2:30 pm |
|
hitwalker,
As it is now, if you have News module in the frontpage of nuke, and some center blocks in the frontpage, you see all News at the top of the page (index.php) and blocks is placed under the News.
How can I change it to position the blocks at the top and News under?
Sorry my english!
And one more thing, I was just kidding about 10 000$ ![OffTopic](modules/Forums/images/smiles/icon_offtopic.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jun 17, 2005 2:43 pm |
|
hi ,
no 10.000?
well ok then..
i hope i understand you correctly...but here..admin.php?op=BlocksAdmin is where you set the possition of your blocks.
You can change it by using the arrows to change places...
If thats not what you mean you might talk about the place where the news mod shows.
Thats standard the new mod and is in center.
all other blocks can be set to center up or center down..
In that way you must find a setup you like...
You can also choose a differend inde MOD if you like but most sites use the news... |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
izone
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jun 17, 2005 2:50 pm |
|
Thanks for reply hitwalker,
Quote: |
If thats not what you mean you might talk about the place where the news mod shows
|
Thats just what I mean.
Quote: |
Thats standard the new mod and is in center.
|
is there an easy way to change this standard?
I guess not.
But thanks a lot for always answering to my qustions. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jun 17, 2005 2:59 pm |
|
well i guess it can be changed but like i said,from the sites i remember they have completely different sites.
but you can easely manipulate it...
just add blocks,but put them all center up...then the news drops dow....simple solution.. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
64bitguy
The Mouse Is Extension Of Arm
![](modules/Forums/images/avatars/183ecd6a404a3683445de.gif)
Joined: Mar 06, 2004
Posts: 1164
|
Posted:
Fri Jun 17, 2005 3:03 pm |
|
Try This:
Open your header.php
Find:
Code:global $home;
if ($home == 1) {
message_box();
blocks(Center);
include("includes/cblocks1.php");
}
|
Change it to read:
Code:global $home;
if ($home == 1) {
message_box();
include("includes/cblocks1.php");
blocks(Center);
}
|
Let me know if that does it for you. |
_________________ Steph Benoit
100% Section 508 and W3C HTML5 and CSS Compliant (Truly) Code, because I love compliance. |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
izone
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jun 17, 2005 3:04 pm |
|
64bitguy,
thanks.
I do it right now and coming back with answer. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
izone
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jun 17, 2005 3:13 pm |
|
well in the header.php I have this code:
Code:
global $home;
if(defined("HOME_FILE")) {
message_box();
blocks(Center);
}
|
and when I change it white that one you gave me nuke dosn't work. White page only. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
64bitguy
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jun 17, 2005 3:16 pm |
|
Replace:
Code:global $home;
if(defined("HOME_FILE")) {
message_box();
blocks(Center);
}
|
With:
Code:global $home;
if(defined("HOME_FILE")) {
blocks(Center);
message_box();
}
|
Sorry, I thought you were using the same version of conditional center blocks that I am, but this should fix it for your version. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
izone
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jun 17, 2005 3:19 pm |
|
No, still the News is up and c block is below it. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
64bitguy
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jun 17, 2005 3:22 pm |
|
Oh.. my bad.. I thought you were using NSN Center Blocks... You are talking about regular Center blocks.
I'll see if I can find the answer to that.
What version of Nuke are you using? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
izone
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jun 17, 2005 3:23 pm |
|
Thanks.
I'm testing 7.8 and 7.7 right now. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
izone
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jun 17, 2005 3:25 pm |
|
sorry I forgott to tell that when using the code that you gave me, the news and c block dosn't shows and only thing is the articles showing. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
64bitguy
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jun 17, 2005 3:48 pm |
|
Well, I have no idea what is wrong with your test domain, because on mine, by default Center "UP" blocks show up after the "Messages" block and before the "News" articles by default.
The only time I've seen this a problem is when using NSN Conditional Center blocks and I provided the fix for that above.
You can see it demonstrated at my 7.7 test domain at:
http://77.64bit.us |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
izone
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jun 17, 2005 3:54 pm |
|
ok maybe I couldn't make me understod.
If you see your demo page I want the "Welcome to 77.64BIT.US - Nuke 7.7 Test Domain" be shown under the sentinel block. Not abov it.
thanks |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
64bitguy
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jun 17, 2005 4:19 pm |
|
That's the Message's Block.
Then in that case, you would do the change I noted above which would move messages below the center blocks.
You can see it demonstrated at my test domain (for about 30 minutes until I change it back).
Edit the header.php file (in the root of your install, not in your theme folder) and reverse the blocks and message_box() sections to be like this:
Code:online();
head();
include("includes/counter.php");
global $home;
if ($home == 1) {
blocks(Center);
message_box();
}
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
izone
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jun 17, 2005 4:23 pm |
|
Great!!!
Thanks 64bitguy,
that is what I was looking for.
You are the best. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|