Author |
Message |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Mon Sep 22, 2003 9:20 pm |
|
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 |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
fury
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Sep 09, 2003
Posts: 165
|
Posted:
Mon Sep 22, 2003 9:26 pm |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
blith
Client
![](modules/Forums/images/avatars/102.gif)
Joined: Jul 18, 2003
Posts: 977
|
Posted:
Fri Sep 26, 2003 2:04 pm |
|
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? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Sep 26, 2003 2:21 pm |
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
porcupinepc
Involved
![Involved Involved](modules/Forums/images/ranks/4stars.gif)
![](modules/Forums/images/avatars/computerguy.gif)
Joined: Sep 20, 2003
Posts: 261
Location: Schumacher, Ontario CANADA
|
Posted:
Fri Sep 26, 2003 4:10 pm |
|
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! ] |
|
|
![ICQ Number ICQ Number](themes/RavenIce/forums/images/lang_english/icon_icq_add.gif) |
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Sep 26, 2003 4:17 pm |
|
Thanks for your encouragement and support! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
StefanL
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Sep 20, 2003
Posts: 5
|
Posted:
Fri Sep 26, 2003 6:22 pm |
|
First of all, Raven, thanks for sharing your code with us.
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! ] |
If you want to be coooooooooooooooooooooooooooler , 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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
fury
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 05, 2003 10:42 am |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
fury
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 05, 2003 8:56 pm |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
blith
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Apr 27, 2004 10:34 am |
|
Raven can you sticky this? I just spent a while trying to find it... thank you. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Apr 27, 2004 10:39 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
eak
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/computerguy.gif)
Joined: Nov 11, 2004
Posts: 16
|
Posted:
Thu Nov 11, 2004 2:52 pm |
|
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. |
_________________ EAK specs (OS / Apache / MySQL / PHP / PHPNuke)
FedoraCore2 2.6.5-1.358smp/httpd-2.0.50-2.1/mysql-3.23.58-9/PHP 4.3.8/PHPNuke7.5 |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|