You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 141 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Blocks and menus [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
LadyCherry
Lieutenant
Lieutenant


Joined: Aug 12, 2003
Posts: 190


PostPosted: Tue Nov 22, 2005 9:41 am Reply with quoteBack to top

Hello all I was wondering if I can get php to look like this?http://mmorpg.com
I would like news to be on the left then a column for events, calendar, and polls, and the far right to display banners. Is this possible anbd how might I go about doing it. Thanks
Find all posts by LadyCherryView user's profileSend private message
citricguy
Nuke Soldier
Nuke Soldier


Joined: Sep 03, 2003
Posts: 16


PostPosted: Tue Nov 22, 2005 2:57 pm Reply with quoteBack to top

Thats a pretty cool looking site! Im guessing it is just a theme modification. This post is more of a bump than anything i suppose..
Find all posts by citricguyView user's profileSend private message
LadyCherry
Lieutenant
Lieutenant


Joined: Aug 12, 2003
Posts: 190


PostPosted: Sat Nov 26, 2005 9:31 am Reply with quoteBack to top

I'd like to move the left blocks near the right blocks and move the news....the middle block over to the left. Any suggestions on how I do this. Thanks in advance.
Find all posts by LadyCherryView user's profileSend private message
Xyberian
Colonel
Colonel


Joined: Mar 14, 2004
Posts: 1939

Location: Behind you

PostPosted: Sat Nov 26, 2005 5:22 pm Reply with quoteBack to top

Post your theme.php file.

_________________
Home of the Enterprise PHP-NUKE
Find all posts by XyberianView user's profileSend private messageVisit poster's website
LadyCherry
Lieutenant
Lieutenant


Joined: Aug 12, 2003
Posts: 190


PostPosted: Tue Nov 29, 2005 5:53 am Reply with quoteBack to top

Hi Xyberian,
My theme.php is very different.

I wanted to know how you would do it with a clean theme.php file

Any help will be greatly appreciated.

-Lady Cherry
Find all posts by LadyCherryView user's profileSend private message
LadyCherry
Lieutenant
Lieutenant


Joined: Aug 12, 2003
Posts: 190


PostPosted: Mon Dec 05, 2005 7:40 am Reply with quoteBack to top

Anyone have any ideas on this? It would really help!

Thank you
-Lady Cherry
Find all posts by LadyCherryView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Mon Dec 05, 2005 2:37 pm Reply with quoteBack to top

You would have to do some changes to the theme.php
Move the blocks(); functions around to match where you want to display

Depending on how your theme is coded, you may need to edit the appropriate header.html, footer.html, and other files

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
LadyCherry
Lieutenant
Lieutenant


Joined: Aug 12, 2003
Posts: 190


PostPosted: Sat Jan 21, 2006 11:29 am Reply with quoteBack to top

on the default DeepBlue theme where would I move the blocks to have both the left and right block be on the right and the news and forums on the left?

Any help is much appreciated!

-Lady Cherry
Find all posts by LadyCherryView user's profileSend private message
Prophet
Captain
Captain


Joined: Mar 14, 2004
Posts: 422

Location: Florida, USA, Earth, Space

PostPosted: Sat Jan 21, 2006 12:33 pm Reply with quoteBack to top

http://mmorpg.com is not a phpnuke website, but you can do something like that with your DeepBlue theme like this ....

In themes/DeepBlue/theme.php

Find and delete (in themeheader() function):
Code:
blocks(left);



Find:
Code:
function themefooter() {
    global $index;
    echo "<br>";
    if ($index == 1) {
   echo "</td><td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td><td valign=\"top\" width=\"138\" bgcolor=\"d3e2ea\">\n";
   blocks(right);
   echo "<td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"6\" height=\"1\" border=\"0\" alt=\"\">";
    }
 else {
   echo "</td><td colspan=\"2\"><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\">";
    }
    echo "<br><br></td></tr></table>\n"
   ."<br><center>";
    footmsg();
    echo "</center>";
}


Replace with:
Code:
function themefooter() {
    global $index;
    echo "<br>";   
   echo "</td><td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td><td valign=\"top\" width=\"138\" bgcolor=\"d3e2ea\">\n";
   echo "<td valign='top'>";
   blocks(left);
   echo "</td>";
   if ($index == 1) {
   echo "<td valign='top'>";
   blocks(right);
   echo "</td>";
   }
   echo "<td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"6\" height=\"1\" border=\"0\" alt=\"\">";
    echo "<br><br></td></tr></table>\n"
   ."<br><center>";
    footmsg();
    echo "</center>";
}


That will cause your theme to display the left and right blocks on the right-hand side of the center content. So, the center content will essentially become your left blocks.

Note:
Very Happy

_________________
- Prophet
Get the Last Visit module (and others modules I designed) from my website! FREE! http://jasonlau.biz

http://DotCom.Name

Last edited by Prophet on Sat Jan 21, 2006 1:22 pm; edited 1 time in total
Find all posts by ProphetView user's profileSend private messageVisit poster's websiteAIM Address
Prophet
Captain
Captain


Joined: Mar 14, 2004
Posts: 422

Location: Florida, USA, Earth, Space

PostPosted: Sat Jan 21, 2006 12:59 pm Reply with quoteBack to top

Idea You could also have the block columns randomly swap position to grab the user's attention. e.g., Let's say you have a tower-type banner ad in the far-right column and you want it to sometimes swap positions with the left column as to get more attention.

You can do this like this ...

Code:
function themefooter() {
    global $index;   
    echo "<br>";
   echo "</td><td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td><td valign=\"top\" width=\"138\" bgcolor=\"d3e2ea\">\n";
   echo "<td valign='top'>";
   
   $shuffle = rand(1,2);
   switch($shuffle){
   case "1":
   blocks(left);
   if ($index == 1) { 
   echo "</td>"; 
   echo "<td valign='top'>";
   blocks(right);
   }
   break;
   
   case "2":
   if ($index == 1) {
   blocks(right); 
   echo "<img src=\"themes/DeepBlue/images/pixel.gif\" width=\"145\" height=\"1\" border=\"0\" alt=\"\"></td>";
   echo "<td valign='top'>";
   }
   blocks(left);
   break;
   }

   echo "</td>";
   echo "<td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"6\" height=\"1\" border=\"0\" alt=\"\">"; 
    echo "<br><br></td></tr></table>\n"
   ."<br><center>";
    footmsg();
    echo "</center>";
}


It's a simple way to keep user focus. Wink

_________________
- Prophet
Get the Last Visit module (and others modules I designed) from my website! FREE! http://jasonlau.biz

http://DotCom.Name
Find all posts by ProphetView user's profileSend private messageVisit poster's websiteAIM Address
LadyCherry
Lieutenant
Lieutenant


Joined: Aug 12, 2003
Posts: 190


PostPosted: Tue Jan 31, 2006 8:34 am Reply with quoteBack to top

Thanks a bunch I think I got it.
Find all posts by LadyCherryView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.670 Seconds - 92 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::