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
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14928
Location: Kansas

PostPosted: Mon Sep 22, 2003 9:20 pm Reply with quote Back to top

Here is the code I use to make my Administration block look like my Site Navigation block.
Code:
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 ALIGN=center>
<TR><FORM METHOD=GET ACTION="modules.php">
<TD><SELECT NAME="name" SIZE="8" onChange="top.location.href=this.options[this.selectedIndex].value">
<OPTION VALUE="admin.php">Administration
<OPTION VALUE="admin.php?op=BlocksAdmin">Blocks
<OPTION VALUE="admin.php?op=forums">Forums
<OPTION VALUE="admin.php?op=messages">Messages
<OPTION VALUE="admin.php?op=modules">Modules
<OPTION VALUE="admin.php?op=adminStory">New Story
<OPTION VALUE="admin.php?op=hreferer">HTTP Referers
<OPTION VALUE="admin.php?op=Configure">Preferences
<OPTION VALUE="admin.php?op=logout">Logout
</SELECT></TD></TR></FORM></table>

Just replace your Administration in line block code with this.


Last edited by Raven on Tue Apr 27, 2004 10:39 am; edited 1 time in total
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
fury
Worker
Worker


Joined: Sep 09, 2003
Posts: 165

PostPosted: Mon Sep 22, 2003 9:26 pm Reply with quote Back to top

thanks for this one raven it is going to be well used i can tell you that one.
We also appreciate all you do for us.
Thanks
SF
View user's profile Send private message
blith
Life Cycles Becoming CPU Cycles


Joined: Jul 18, 2003
Posts: 937

PostPosted: Fri Sep 26, 2003 2:04 pm Reply with quote Back to top

Raven wrote:
Here is the code I use to make my Administration block look like my Site Navigation block.
Code:
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 ALIGN=center>
<TR><FORM METHOD=GET ACTION="modules.php">
<TD><SELECT NAME="name" SIZE="8" onChange="top.location.href=this.options[this.selectedIndex].value">
<OPTION VALUE="admin.php">Administration
<OPTION VALUE="admin.php?op=BlocksAdmin">Blocks
<OPTION VALUE="admin.php?op=forums">Forums
<OPTION VALUE="admin.php?op=messages">Messages
<OPTION VALUE="admin.php?op=modules">Modules
<OPTION VALUE="admin.php?op=adminStory">New Story
<OPTION VALUE="admin.php?op=hreferer">HTTP Referers
<OPTION VALUE="admin.php?op=Configure">Preferences
<OPTION VALUE="admin.php?op=logout">Logout
</SELECT></TD></TR></FORM></table>

Just replace your Administration in line block code with this.


I'm sorry. Where does this go?
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14928
Location: Kansas

PostPosted: Fri Sep 26, 2003 2:21 pm Reply with quote Back to top

Goto administration/blocks and click edit on Administration. You will see that the block administration is an online block. Just paste the code over the existing code.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
porcupinepc
Involved
Involved


Joined: Sep 20, 2003
Posts: 261
Location: Schumacher, Ontario CANADA

PostPosted: Fri Sep 26, 2003 4:10 pm Reply with quote Back to top

Very cooooooooooooooooool!

This just gets better and better!

Joe Robertson
Porcupine PC
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14928
Location: Kansas

PostPosted: Fri Sep 26, 2003 4:17 pm Reply with quote Back to top

Thanks for your encouragement and support!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
StefanL
New Member
New Member


Joined: Sep 20, 2003
Posts: 5

PostPosted: Fri Sep 26, 2003 6:22 pm Reply with quote Back to top

First of all, Raven, thanks for sharing your code with us.Very Happy

Then:
porcupinepc wrote:
Very cooooooooooooooooool!

This just gets better and better!

Joe Robertson
Porcupine PC
Only registered users can see links on this board!
Get registered or login to the forums!

If you want to be coooooooooooooooooooooooooooler Very Happy , you can change the background colour in the select box to the same background as your theme.

Here is how to do it:

Replace the following row in Ravens code:
Code:
<SELECT NAME="name" SIZE="8" onChange="top.location.href=this.options[this.selectedIndex].value">

With:
Code:
<SELECT NAME="name" SIZE="8" onClick="top.location.href=this.options[this.selectedIndex].value" CLASS="selectbox">

In the file /THEMES/YOUR_SELECTED_THEME/STYLE/style.css add the following rows:

Code:
/* My personal changes */
.selectbox {BACKGROUND:#EFEFEF;}


Background colour is an example from HELIUSGRAY. You should change it so it fits your theme.
View user's profile Send private message
fury
Worker
Worker


Joined: Sep 09, 2003
Posts: 165

PostPosted: Sun Oct 05, 2003 10:42 am Reply with quote Back to top

hmm i must have messed it up i put the code in exactly the way it should be according to this post tho change the color of the form to match the theme.
Before:
Code:

<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 ALIGN=center>
<TR><FORM METHOD=GET ACTION="modules.php">
<TD><SELECT NAME="name" SIZE="8" onChange="top.location.href=this.options[this.selectedIndex].value">
<OPTION VALUE="admin.php">Administration
<OPTION VALUE="admin.php?op=BlocksAdmin">Blocks
<OPTION VALUE="admin.php?op=forums">Forums
<OPTION VALUE="admin.php?op=messages">Messages
<OPTION VALUE="admin.php?op=modules">Modules
<OPTION VALUE="admin.php?op=adminStory">New Story
<OPTION VALUE="admin.php?op=hreferer">HTTP Referers
<OPTION VALUE="admin.php?op=Configure">Preferences
<OPTION VALUE="admin.php?op=logout">Logout
</SELECT></TD></TR></FORM></table>

and this works perfectly with the form.

I wanted to change it so i put in this.
After:
Code:

<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 ALIGN=center>
<TR><FORM METHOD=GET ACTION="modules.php">
<TD<SELECT NAME="name" SIZE="8" onClick="top.location.href=this.options[this.selectedIndex].value" CLASS="selectbox">
<OPTION VALUE="admin.php">Administration
<OPTION VALUE="admin.php?op=BlocksAdmin">Blocks
<OPTION VALUE="admin.php?op=forums">Forums
<OPTION VALUE="admin.php?op=messages">Messages
<OPTION VALUE="admin.php?op=modules">Modules
<OPTION VALUE="admin.php?op=adminStory">New Story
<OPTION VALUE="admin.php?op=hreferer">HTTP Referers
<OPTION VALUE="admin.php?op=Configure">Preferences
<OPTION VALUE="admin.php?op=logout">Logout
</SELECT></TD></TR></FORM></table>


and it changed it to the theme colors and all but i could not click on a link it acted as if it was an input cell area i kept getting the I cursor whenever i tried to click on it

did i do something wrong?
Thanks
Fury
View user's profile Send private message
fury
Worker
Worker


Joined: Sep 09, 2003
Posts: 165

PostPosted: Sun Oct 05, 2003 8:56 pm Reply with quote Back to top

never mind the above error i made it my self oopps
the one thing i could not do is make the form background invisible. i have read up on this a bit and could not find anything that would help.
I tired taking the color out and that did not help.
Thanks
Fury
View user's profile Send private message
blith
Life Cycles Becoming CPU Cycles


Joined: Jul 18, 2003
Posts: 937

PostPosted: Tue Apr 27, 2004 10:34 am Reply with quote Back to top

Raven can you sticky this? I just spent a while trying to find it... thank you.
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14928
Location: Kansas

PostPosted: Tue Apr 27, 2004 10:39 am Reply with quote Back to top

Done.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
eak
New Member
New Member


Joined: Nov 11, 2004
Posts: 16

PostPosted: Thu Nov 11, 2004 2:52 pm Reply with quote Back to top

StefanL wrote:
In the file /THEMES/YOUR_SELECTED_THEME/STYLE/style.css add the following rows:

Code:
/* My personal changes */
.selectbox {BACKGROUND:#EFEFEF;}


Background colour is an example from HELIUSGRAY. You should change it so it fits your theme.


Mine looks like this:
Code:

/* My personal changes */
.selectbox { background:#333333;
FONT-WEIGHT: bold;
FONT-SIZE: 11px;
font:12px "Arial",Verdana, Helvetica, sans-serif;
color:#ee0000
}


Enjoy.
View user's profile Send private message Send e-mail Visit poster's website
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-2008 by Raven
Proud to be listed at Lobo Links Web Directory

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 Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

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

zerosum