Drew Baker
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Blank white screen when inserting image,OK, so it works in IE7. Although the popup window loads half off the bottom of the page. I re-installed FF 2.0.0.14 and it still doesn’t work. Very strange. Any ideas?
Forum: Fixing WordPress
In reply to: Exclude multiple categories from home pageHey PSHERO,
Using your code I get the following error (I have WP2.5):
Parse error: syntax error, unexpected T_FUNCTION in /MY URL/functions.php on line 3Any ideas?
Forum: Fixing WordPress
In reply to: Add Link Box is Blank. Also Can’t Add CategoriesI just heard back from my host, they told me that mod_security is not set up on my server.
I concur with marlowjust, because it sometimes works for me on my computer, and on other computers it seems to work fine. Also, it works fine in IE7, so why wouldn’t it work in FF?
Forum: Fixing WordPress
In reply to: Add Link Box is Blank. Also Can’t Add CategoriesI looked into my database like poigle suggested, but it was correct already.
I have contacted my host (mediatemple) for help, they are normally great help, so I’ll let you know how it goes.
Forum: Themes and Templates
In reply to: Switch Background Image onClickGot it! I have it working now using the java script found here: http://www.csscreator.com/generator/userpref.php
Forum: Themes and Templates
In reply to: Switch Background Image onClickSorry about that, the link is here. I have since changed to use the method described here because it uses cookies and thus the background change will remain until the user changes it again. I have a forum post about it here because I can’t get it working either. I think it due to my onclick syntax being wrong.
Thanks again for the help.
Forum: Themes and Templates
In reply to: Switch Background Image onClickThanks Otto for the help.
I tried this like you suggested and had no luck:
<head> </head> <body id="bodytag"> <img src="images/Cactus_Home_Button.jpg" border="0" usemap="#Map1" /> <map name="Map1" id="Map1"> <area shape="poly" coords="20,40,335,7,339,30,22,64" href="<?php echo get_settings('home'); ?>" alt="Homepage"/> <area shape="poly" coords="22,67,111,57,111,77,24,87" href="#" onClick="document.getElementById('bodytag').style.backgroundImage='<?php bloginfo('template_directory'); ?>/images/surfbackdrop1.jpg'" alt="Change to Surf Background Image" /> <area shape="poly" coords="119,56,120,77,226,67,225,45" href="#" onClick="document.getElementById('bodytag').style.backgroundImage='<?php bloginfo('template_directory'); ?>/images/skatebackdrop1.jpg'" alt="Change to Skate Background Image" /> <area shape="poly" coords="233,44,233,65,336,55,341,33" href="#" onClick="document.getElementById('bodytag').style.backgroundImage='<?php bloginfo('template_directory'); ?>/images/snowbackdrop1.jpg'" alt="Change to Snow Background Image" /> </map> </body>(Of course I removed the PHP code first, but I am leaving it in here so you can see the end result I am going for).
Forum: Themes and Templates
In reply to: Switch Background Image onClickI think this is the answer but I can’t figure it out ether. Any help?
http://csscreator.com/?q=generator/userpref.phpThanks.
Forum: Themes and Templates
In reply to: Switch Background Image onClickI found this forum post that could help, but I can’t figure it out:
http://www.dynamicdrive.com/forums/showthread.php?t=26778Forum: Themes and Templates
In reply to: Switch Background Image onClickI’ve tried using this java script, but again it only works if I don’t use the style sheet.
<head <link href="style.css" rel="stylesheet" type="text/css"> </head> <body> <script language="JavaScript"> <!-- // Copyright 2001 by www.CodeBelly.com // Please do *not* remove this notice. var backImage = new Array(); // don't change this // Enter the image filenames you wish to use. // Follow the pattern to use more images. The // number in the brackets [] is the number you // will use in the function call to pick each // image. // Note how backImage[3] = "" -- which would // set the page to *no* background image. backImage[0] = "images/surfbackdrop1.jpg"; backImage[1] = "images/skatebackdrop1.jpg"; backImage[2] = "images/snowbackdrop1.jpg"; backImage[3] = ""; // Do not edit below this line. //----------------------------- function changeBGImage(whichImage){ if (document.body){ document.body.background = backImage[whichImage]; } } //--> </script> <img src="images/Cactus_Home_Button.jpg" border="0" usemap="#Map1" /> <map name="Map1" id="Map1"> <area shape="poly" coords="20,40,335,7,339,30,22,64" href="<?php echo get_settings('home'); ?>" alt="Homepage"/> <area shape="poly" coords="22,67,111,57,111,77,24,87" href="javascript:changeBGImage(0)" alt="Change to Surf Background Image" /> <area shape="poly" coords="119,56,120,77,226,67,225,45" href="javascript:changeBGImage(1)" alt="Change to Skate Background Image" /> <area shape="poly" coords="233,44,233,65,336,55,341,33" href="javascript:changeBGImage(2)" alt="Change to Snow Background Image" /> </map> </body>Forum: Themes and Templates
In reply to: Switch Background Image onClickOK, so now I have figured out that it stops working if I use CSS to set what the default background should be. So it doesn’t have anything to do WordPress then. Can anyone help with a way to switch the back ground using a link? Thanks.
Forum: Fixing WordPress
In reply to: Add Link Box is Blank. Also Can’t Add CategoriesHi guys,
I am using 2.3 and I have the exact problem with the link box. It just stays blank and follows my cursor around. If I use IE7 it works, but not in FireFox.Any ideas on why this might be happening?
-Drew
Forum: Fixing WordPress
In reply to: [ bracket] embed on the side bar?I have now installed a widget that lets me put PHP code in my sidebar, but that doesn’t really help me use the [embed] method.
Any ideas?
Forum: Fixing WordPress
In reply to: Import a 2.0.3 database into 2.3Skeezicks, thanks for the help. That sounds like what I will try. Just one question, what did you do with you 2.0.2 WP-CONTENTS folder after you had upgraded to 2.3? Did you just overwrite the 2.3 folder with the 2.0.2 WP-CONTENTS?
Thanks again!
Forum: Fixing WordPress
In reply to: change displayname of “Categories” in sidebarDid you ever figure this out? I would like to be able to do the same.