Hi..I'm sure this is a common thread but I couldn't find one exactly to what I'm encountering so thought I'd ask.
As you can see from the screenshot I'm able to successfully load in my locally hosted wordpress site in DW (CS5):
However, you can also see the error "Dynamically-related files could not be resolved because the site definition is not correct for this server"
I'm not sure where I'm going wrong because I believe I have these settings set up correct to my local server (http://localhost/) per the tutorials out there.
Two screenshots showing my set up in site management section:
I have advanced settings set up with PHP MySQL as well.
Does anyone see anything glaring that could explain why I'm receiving the error?
My end goal is to be able to use the feature to edit code on one of the dynamically related files. (See the live page then go into the code for that page and edit it).
Any help would be greatly appreciated. I've been banging my head around over this and feel like it should be fairly easy to set up. Thanks again.
Can you check out this tutorial Setting up a local testing server in Dreamweaver CS5 (http://www.adobe.com/devnet/dreamweaver/articles/setup_testing_server. html) and let us know if it helped you?
Hi Preran - Thanks for your guidance. I actually used this to set it up originally. I continued to play with it tonight and no luck so I just re-installed my local apache, php, mysql, wordpress and set up a new site in dreamweaver. After all of that it worked! Wish I knew what the issue was before but glad I got that part working.
To get back to my end goal can I not edit live code? Is that not a feature of CS5? I'd be really disappointed if I can't edit the dynamic pages I'm looking at.
Anytime I "turn live code off to edit source code" it takes me right back to the index.php page. As an example I attached a screenshot. What if I wanted to input some simple code where the arrow is? Any approach I can take to make this as easy as possible?
Thanks again for your help.
DO NOT TAMPER with core word press files. These pages get all their info from multiple server-side include files and content stored in the MySql database. In short, there is no static content to edit in the core files. WordPress is all dynamically populated by the server.
The ONLY files you should be working with are inside the wp-content/themes folder.
See anatomy of a WordPress Theme
WordPress Theme Development
Once your WP site is deployed on the server, you must use the WP Admin Panel to edit content & invoke changes to your Theme, Plugins, Widgets, etc...
See Working with WordPress
Nancy, thank you. I do have an appreciation for what you're describing about Wordpress. I think what I really want to do is work with the theme files and not the core Wordpress files.
I'd just like to know how in Dreamweaver I can look at a page (of my theme) and add in lets say an html image code where I have the arrow in the image above. I was REALLY hoping I could just look at the live page view and then insert my code in the corresponding space on the code side where I want it (not able to it seems like).
With not having that option, I'd like to be able to find the corresponding theme code files to which I can go in and do that. Unfortunately my theme has tons and tons of folders/files and its been hard finding exactly where to locate the appropriate file(s). So I'm hoping to use Dreamweaver to better locate the specific theme file(s) I need to make changes.
Know how to do that?
Yes. Get very familiar with Working with WordPress Themes. In time, you'll learn which files are responsible for which portions of the pages.
Not all Themes are created equally. Consult your Theme Developer's notes. Or contact them directly with specific questions.
Thanks..I think its just this particular theme and its use of plugins to enhance their theme. I'm pretty familiar with Wordpress themes and editing them in the past, this one is just giving me a headache in addition to DW giving me trouble. I can go to one of the plugin developers and see where I can get with that.