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

Color PHP code in TPL documents

New Here ,
Jun 27, 2019 Jun 27, 2019

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

645
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

correct answers 1 Correct answer

Community Expert , Jun 27, 2019 Jun 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

Translate
Community Expert ,
Jun 27, 2019 Jun 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!
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 ,
Jun 28, 2019 Jun 28, 2019
LATEST

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

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

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