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

adding dynamic pages to static website

New Here ,
Jul 19, 2012 Jul 19, 2012

Do I need to move all the websites HTML pages to xampp/htdocs and use this as the new local site folder?

TOPICS
Server side applications
1.1K
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 Expert ,
Jul 19, 2012 Jul 19, 2012

No, you can just define the testing server as the XAMPP/htdocs/site folder and use that for the testing server and DW will do the rest.

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
New Here ,
Jul 19, 2012 Jul 19, 2012

the new PHP pages need links to/from the existing HTML pages. DW warns that files may not be found if in a different folder. Do I just ignore this and ensure that all files are uploaded to same remote folder? Or do I need htdocs in remote folder as well?

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
Mentor ,
Jul 20, 2012 Jul 20, 2012

I'm not sure what SnakEyez was thinking. I would say, yes, move all your files innto the xampp/htdocs folder and reset your site definition in DW accordingly.

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 Expert ,
Jul 21, 2012 Jul 21, 2012

Rob it can be done that way.  There are also a lot of users who try to keep it separate.  They keep local files and then test in another location.  The warning that is being received about a different folder is usually related to the paths.  I explained this to another user here: http://forums.adobe.com/message/4224748 .  It doesn't have to be in the same folder because DW can test the pages from anywhere.  Matter of opinion at that point.  Personally I use one folder for both, but it can be done either way.

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
New Here ,
Jul 23, 2012 Jul 23, 2012

Thanks Guys,

I have decided to move everything to htdocs to have the complete site in one folder (and do some housekeeping while I'm at it). It seems better to do this now before I create a load of php pages.

But I think this subject could be explained better in the DW tutorials. I guess most newbies (like me) will start off with a static website and only think about adding dynamic pages later.

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 Expert ,
Jul 23, 2012 Jul 23, 2012
LATEST

DB I agree with you 100% about the documentation. It's dated and not as useful and it could be at explaining the setup, but moreso with the errors.  Plus the search function on these forums has never been stellar, so finding these old posts is usually done through a google site search rather than a forum site (ie: site:forums.adobe.com [search string here] - when you go to google search like that). 

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