Skip to main content
Participant
June 27, 2019
Answered

Color PHP code in TPL documents

  • June 27, 2019
  • 1 reply
  • 636 views

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

This topic has been closed for replies.
Correct answer BenPleysier

You will need to add the '.tpl' extension to Dreamweaver. See this discussion for more CC 2017 Change or add file extensions in Dreamweaver

1 reply

BenPleysier
Community Expert
BenPleysierCommunity ExpertCorrect answer
Community Expert
June 27, 2019

You will need to add the '.tpl' extension to Dreamweaver. See this discussion for more CC 2017 Change or add file extensions in Dreamweaver

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
psytaniumAuthor
Participant
June 28, 2019

Thank you, the solution worked. I added the below code at the end:

,"language.fileExtensions": {
"tpl": "php"
  }