matty b
Forum Replies Created
-
I’ve since installed an alternative gallery, so the illustration page link is no longer valid for this problem.
Forum: Installing WordPress
In reply to: Trouble installing in root folder – getting file_exists warningThanks – I was starting to think it was something along those lines.
Forum: Themes and Templates
In reply to: How do I make a relative image link?Thanks for the links!
Forum: Fixing WordPress
In reply to: Media Library – Unable to uploadWell, I figured out I needed to set the permissions on my server to accept the uploads, which worked, sort of. The files are being uploaded, but I’m still getting this error message.
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(C:\php\uploadtemp\php3D3.tmp) is not within the allowed path(s): (d:\webspace\millsysadmin\nightofspadmin\nightofspectacles.org) in D:\webspace\millsysadmin\nightofspadmin\nightofspectacles.org\www\newsite\wp-includes\functions.php on line 2402
101I’m not sure it matters, as the uploading and linking is working. However, I just don’t like loose ends that might come back to bite me. Any idea what’s going on?
Forum: Fixing WordPress
In reply to: Media Library – Unable to uploadUpdate – I switched to the flash uploader and it gave me some more information:
Unable to create directory D:\webspace\millsysadmin\nightofspadmin\nightofspectacles.org\www\newsite/wp-content/uploads/2011/02. Is its parent directory writable by the server?
Forum: Themes and Templates
In reply to: How do I make a relative image link?Not reliably, no. I’ve seen some pretty ugly relative fudges but I’d never trust them to work 100% of the time.
Forgive me for being frank, but that sucks (who’s frank anyway). Thanks for clearing that up though.
In this situation, I’d probably be looking at developing custom widgets and/or passing image urls through via a theme options page.
Admittedly, you’ve lost me here. If you have the time to explain, I’m interested. If not, no worries.
Would a Find-n-Replace plugin work? (just before or after going live?)
Forum: Themes and Templates
In reply to: How do I make a relative image link?After thinking about it, she could edit the sidebar.php in the UI’s editor, but the pages are still a problem.
Forum: Themes and Templates
In reply to: How do I make a relative image link?I need the images in the sidebar to be editable by the client through the WP UI, so no putting them in the sidebar.php file. My client is adding her own content and pics to the pages, so I need to let her know how to do it properly in a way that will be portable.
If I have to go in an change that widget code when the site goes live it’s not the end of the world. However, I am concerned about all the images in the pages. That would be a PITA.
So, there’s no way to make a relative link in the page HTML? How do people develop WordPress sites before they go live? Change all the image code twice?
Forum: Themes and Templates
In reply to: How do I make a relative image link?Hmm, that worked for the header image, but not the images posted in the widget code (just using the “text” widget)
Forum: Themes and Templates
In reply to: How do I make a relative image link?While searching, I found your response to a nearly identical question (you’re just all kinds of helpful).
Is this what I should use?
<img src="<?php bloginfo('template_directory'); ?>/images/banner_temp.jpg" />
Forum: Themes and Templates
In reply to: How do I make a relative image link?Sorry for the confusion. The answer is both in the page code (in the WP user interface) and in the template file (header image for example). I haven’t been able to get either working from a relative link. Although, all my CSS background images work fine with just images/image.jpg.
Thanks for your help btw.
Forum: Themes and Templates
In reply to: How do I make a relative image link?Yep, I’m uploading them to the images folder in the template folder. If I need to put them somewhere else in the file structure I can.