We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36604
    • 268 Posts
    Hi,

    Playing with Articles, I just wrote a post about modx exposing some technics I like to generate the meta description.
    If I write in my content (with tinyMce, but it's not important) real modx code such as (not possible here neither)
    //+my_tv// or //$chunk//
    (with ] instead of slash, well ... everything is exploding : cut template or fatal error on memory limit as php entering some infinite loop (I guess).
    So are such modx syntaxic codes interpreted when rendering content ??

    thank you [ed. note: elz064 last edited this post 14 years, 3 months ago.]
      • 10208 ☆ A M B ☆
      • 1,780 Posts
      Yes, you can enter MODX code just about anywhere including TinyMCE and it'll be parsed as if it was meant to be.

      I've seen a number of solutions presented but I think this might be the simplest.


      http://bobsguides.com/fixedpre-tutorial.html
        Frogabog- MODX Websites in Portland Oregon
        "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
        Having server issues? These guys have MODX Hosting perfected - SkyToaster