Your browser (Internet Explorer 6) is out of date. It has known security flaws and may not display all features of this and other websites. Learn how to update your browser.
X

How to escape MODx tags in resource contents

I was writing a blog post to show people how to filter resources with template variable in my last blog post then I ran into the problem of using MODx tag (Ditto) in my content as well. Because my blog was built on MODx, the tag was being run as it would normally and this really brought me into confusion of how to escape the tag.

After much of stress I decided to use an image to represent this so I can leave the office and continue my search as I pick a Taxi home. After few search I just have to admit I was too tired to start any brain work again so I decided to leave all till I get to the office the next day.

An idea sparked into my head as I was preparing for the office to use html tag representation of the "[" and "]" character to get this working. Imagine, that is the solution to the problem. Turn off the tinyMCE mode and use [ and ] for "[" and "]", respectively.

 


comments powered by Disqus