Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Dynamically resolving files for wordpress 3.0 (or wordpress MU)

Community Beginner ,
Jun 10, 2010 Jun 10, 2010

Hi

So after painfully and annoyingly figuring out how to set up this dynamically linking business for wordpress (something that is sorely overlooked in ALL official tutorials - but that's another story) I've hit a stumbling block - it doesn't seem to work with wordpress 3.0 with mulitple users enabled (effectively wordpress mu).

After choosing to discover dynamically linked files I only get 4 files - 'wp-blog-header', 'style.css' xmlrpc.php' and 'wlwmanifest.xml' -nothing else.

I'm pretty asure I'm setup right as I've got it all working correctly with a normal wordpress installation, and this mu installation has liveview and livecode working correctly - is it a bug in dreamweaver?

Thanks,

Zander

TOPICS
Server side applications
636
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 10, 2010 Jun 10, 2010

I should let you know that I am setup using a local testing server (MAMP) and a remote server via ftp.

When I swith my testing server over to being the same as my remote seerver (ie both ftp) I get the 'dynamically related files.....site definitions' not correct error, and can only see the wp-blog-header.php in my source code bar...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 11, 2010 Jun 11, 2010

ok - one last update...

When looking at the code all php files are highlighted in red... pressing "CMD+D" with the surso on this file tajes you to that linked php file. So I can "CMD+D" on the 'wp-blog-header,php' file and it takes me there no problem.

However within this file are 2 more php files - '( dirname(__FILE__) . '/wp-load.php' )' and '( ABSPATH . WPINC . '/template-loader.php' );'

Neither of these files can be found or dynamicall linked to - so somehow Dreamweaver seems to be losing the dirname or ABSPATH - I've fiddled around with a ton of settings - including rying to manually set the ABSPATH, but I didn' really know what I was doing.

I thought this info may elucidate some genius whos willing to help me oout there - so I thoguht I'd share.

Hopefully if we can solve these problems it will help people set up wordpress mu in the first place...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 17, 2012 Feb 17, 2012
LATEST

I've got the same problem you did, trying to get all the related files show in the bar from index.php in the root of the wordpress page.

It really does seem like a Dreamweaver bug, and I'm having a lot of trouble finding a workaround.

Why would Live View work, Live Code fully flesh out the code from the wordpress files, and even code hinting work perfectly, showing global variables associated with the different files after typing $wp in the code editor; again, why would all that work, but the dependent/related files bar only show wp-blog-header.php, style.css, xmlrpc.php, and wlwmanifest.xml?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines