Copy link to clipboard
Copied
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 '{' 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.
Copy link to clipboard
Copied
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 '{' 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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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