Forums

[resolved] Dreamweaver - unable to discover template files (11 posts)

  1. tesse_k
    Member
    Posted 10 months ago #

    Please help!!

    I am not able to discover the dynamically related files associated with WordPress template index files.

    I am, though, able to discover the files for the basic index.php, which is located in the /htdocs/wordpress/-folder. The problem lies in /htdocs/wordpress/wp-content/themes/"theme-name"/

    Starting to pull my hair out, so please help! :)

  2. esmi
    Theme Diva & Forum Moderator
    Posted 10 months ago #

    Have you reviewed Theme_Development?

  3. tesse_k
    Member
    Posted 10 months ago #

    Yes, and I still no answers unfortunately.

    I haven't changed a thing in the files, it's as default that I am not able to see the dynamically related files in /wp-content/themes/, but am able to see the related files for index.php in the root folder.

    I can't see how the server/database setup is faulty, as the first index.php works. So it couldn't be that, right?

  4. esmi
    Theme Diva & Forum Moderator
    Posted 10 months ago #

    I'm not sure what you mean by "related files"...

  5. tesse_k
    Member
    Posted 10 months ago #

    The dynamically related files, which appear, when you chose that option in Dreamweaver. It shows all the nested files, which are related to the given file you have open.

  6. esmi
    Theme Diva & Forum Moderator
    Posted 10 months ago #

    Perhaps you should be asking these questions on a Dreamweaver forum?

  7. tesse_k
    Member
    Posted 10 months ago #

    I think the issue lies with the communication to WordPress themes, and therefore, unfortunately, there isn't much help to get from Adobe.

  8. wizardstudios
    Member
    Posted 10 months ago #

    Hello tesse_k,

    the solution is quite simple. You must setup a dreamweaver site. And in this dreamweaver site you have to define a testing server in a special way: At frist you set up the basic server as a local server:

    Server Name: Local Testingserver
    Connect using: Local/Network
    Server Folder: [The path to your wordpress directory]
    Web URL: [Will usually be automatically set. Otherwise it is something like "http://localhost/wordpress/"]

    Then switch to the "Advanced" section. There you have to choose a Testing server at the very bottom. Select "PHP MySQL". You can leave all other points as they are.

    Allright sparky. So far, so good. Save the settings and turn back to your coding editor. There you choose the Menu "Site". From there you go to the option "Site specific code-hints". There yu choose the structure "WordPress". Leave everything as it is.

    Thats it. So now you get every code hint you want. Although the relationship between the files and the source file a function or class is coming from.

    I hope that helps?

    By the way: a direct view of all related files of the index.php from your themes is not posible, because the build structure starts from the very first index.php in your wordpress folder. from there on your theme will be called. The Themes index.php does not act like the wordpress index.php.

  9. tesse_k
    Member
    Posted 10 months ago #

    Thank you so much!! All of the first, I had down - but the last BTW remark, was exactly what I was looking for! And imagine, I've spent three days getting more and more frustrated... BAAAAH! :D

    But thanks, now I can focus on the right part :)

  10. wizardstudios
    Member
    Posted 10 months ago #

    No Problem! I work that way all day and for me it is the best way with dreamweaver.

    I hope you get the comfort you are looking for.

    Best regards.

  11. wizardstudios
    Member
    Posted 10 months ago #

    Here is a nice graphic displaying what i said about the themes templates: http://codex.wordpress.org/images/1/18/Template_Hierarchy.png

Reply

You must log in to post.

About this Topic