Copy link to clipboard
Copied
Hello,
Recently I started working on Opencart 2.3.x tpl files.
Dreamweaver color the HTML codes but PHP codes are colored all in white.
How can I fix the coloring of PHP ? I have Dreamweaver cc 2019
Thank you
You will need to add the '.tpl' extension to Dreamweaver. See this discussion for more CC 2017 Change or add file extensions in Dreamweaver
Copy link to clipboard
Copied
You will need to add the '.tpl' extension to Dreamweaver. See this discussion for more CC 2017 Change or add file extensions in Dreamweaver
Copy link to clipboard
Copied
Thank you, the solution worked. I added the below code at the end:
,"language.fileExtensions": {
"tpl": "php"
}