Dreamweaver doesn't show templates in assets
I can see all the assets but not templates. Any idea?
I can see all the assets but not templates. Any idea?
Yes, the Templates folder needs to be in the root folder of the Defined Site in order for DW to manage the Template and Child pages locally. That's just the way the program was designed to work.
Neither the Templates folder, nor any of its content, needs to be uploaded though. They are only for DW to work with locally and don't affect anything on a live site if uploaded.
Templates in DW are essentially, "the poor man's replacement for a server include". They work best with sites under maybe 50 pages where no server-side technology is in use (like PHP). The Child Pages controlled by a template get updated by DW locally when the .DWT is saved (the reason DW needs them to be in their standard location). You then need to upload all of those changed Child Pages to the server to update the live site.
Creating PHP include files for your template, on the other hand, only requires modification and uploading of the include file(s), and the server handles the rest of the heavy lifting.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.