currently I work with a php forum which uses templates. In these templates one has to use <php> (without questionmark) to embed php code since that content is later passed to eval()... The files have '.tpl' as extension, and I manually switch language to php but without success (is threatended as html then).
Now how can I configure Notepad++ to highlight the syntax properly?
Thanks in advance,
Have you tried adding tpl as a user ext extension for php in the style configurator? That should make notepad highlight it as a php file.
Yes I tried that. The result is the same as if I switch manually to php:
All the html tags are highlighted as they should - but the php keywords are not, probably due to Notepad++ waiting for a php start tag with questionmark. As I explained above there is only a <php> ... </php> tag so that I want Notepad++ to recognize these...
Thanks for your help,
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.