Copy link to clipboard
Copied
Hi all, I've got a site based on Dreamweaver templates. The navigation is Spry Menu's embedded in the template .dwt file.
I'm hoping to update the menus using bootstrap, but I don't seem to be able to put bootstrap elements into the header regions of the .dwt.
What am I missing here?
Copy link to clipboard
Copied
Why not, Bootstrap navbar is only html code. What's happening when you try and insert the html code into your template file?
Have you inserted all the required assets for Bootstrap into your page ie the css file and the 3 js files?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Bootstrap + DW proprietary Templates is an awkward combination.
Template options are not available in Live View. Therefore you must use Design View when working within a Template.dwt file. However, Bootstrap and Live View go hand in hand. So the ideal workflow is to build your prototype page with Bootstrap in Live View BEFORE saving as a Template.
Best advice, use server-side includes instead of templates.
https://alt-web.blogspot.com/2015/07/server-side-includes-with-php.html
Copy link to clipboard
Copied
Copy link to clipboard
Copied
If you decide to go down that road, perform a test on a dummy Template first to see if it works OK. Be careful about your path to assets as that all changes when document is saved as a .dwt in the Templates folder.
Copy link to clipboard
Copied