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

Color PHP code in TPL documents

New Here ,
Jun 27, 2019 Jun 27, 2019

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

Views

457

Translate

Translate

Report

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

Votes

Translate

Translate
Community Expert ,
Jun 27, 2019 Jun 27, 2019

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

Wappler, the only real Dreamweaver alternative.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

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

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

Votes

Translate

Translate

Report

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