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

Expression Engine Tags - Curly Braces - Curly Brackets - Acceptable Tag Characters

New Here ,
Oct 14, 2011 Oct 14, 2011

I have tried everything I can think of to accomplish this task. I would like to replace the '<' and '>' tag chacters with '{' and '}' characters for use in developing Expression Engine tags, color coding, and code hints. I am able to "somewhat" achieve this through the use of code hinting with a complex list of options, but every time I attempt to change the tag prefix to '<' or '&#123;' nothing happens. I can't get DW to recognize the tags and execute. I have also tried building objects and using them. I can get this to work by building them and getting them placed in the 'Insert' toolbar, but I can't get them to populate or execute in code view with the curly brackets.

ANY and all help on this would be appreciated. It seems like such a simple task, yet it is presenting itself to be a major pain.

TOPICS
Extensions
4.1K
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
Adobe Employee ,
Oct 25, 2011 Oct 25, 2011

bmallett74 wrote:

I have tried everything I can think of to accomplish this task. I would like to replace the '<' and '>' tag chacters with '{' and '}' characters for use in developing Expression Engine tags, color coding, and code hints. I am able to "somewhat" achieve this through the use of code hinting with a complex list of options, but every time I attempt to change the tag prefix to '<' or '&#123;' nothing happens. I can't get DW to recognize the tags and execute. I have also tried building objects and using them. I can get this to work by building them and getting them placed in the 'Insert' toolbar, but I can't get them to populate or execute in code view with the curly brackets.

ANY and all help on this would be appreciated. It seems like such a simple task, yet it is presenting itself to be a major pain.

Dreamweaver is an HTML/XML tag parser, so it only natively recognizes tags delimited with '<' and '>'. You can write some Translators to preprocess curly braces (or any other server-side markup) before DW parses the HTML markup. Try taking a look at some of the other Server Model implementations.

Hope this helps,

Randy

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 ,
Oct 26, 2011 Oct 26, 2011

Randy,

Thanks for the response. I looked at Objects, but not Translators. Would you happen to know any information or links to any that information that I could guide me in the right direction?

Thanks again.

Brian

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
Adobe Employee ,
Oct 26, 2011 Oct 26, 2011
LATEST

Brian,

Take a look at this section in the Extending Dreamweaver doc. I guess they're referred to as "Data Translators" here:

http://help.adobe.com/en_US/dreamweaver/cs/extend/WS5b3ccc516d4fbf351e63e3d117f53d8d96-7ff8.html

Also, be sure to look at the ones already implemented in the Configuration/Translators folder.

Regards,

Randy

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