We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20751
    • 122 Posts
    OK. Still quite new so be gentle!

    I have some pages that have two blocks of content I want the user to able to edit from admin. I understand the process of creating a page from a template and then the template’s content is dropped in using [*#content*].

    What if I have a page where I have a structure like this:

    [CANT EDIT]
    [CAN EDIT] (i.e. [*#content*])
    [CANT EDIT]
    [CAN EDIT] (i.e. what goes here?)

    I’m assuming I can’t use another [*#content*], right? Would the two bits I want the user to edit be seperate documents in admin? Does this make any kind of sense?

    Thanks for any help!
      • 6726
      • 7,075 Posts
      Actually, you don’t have to bother using separate documents.

      It’s the whole point of MODx and Template Variables (a.k.a TVs). This should help you understand the concept. At first, you might have trouble grasping it but a few experiments with it should take you to the MODx-nirvana of flexiblity grin ! You’ll quickly realize how easy this all is...

      And don’t forget to read the access permission on bottom of this page.

      You’ll understand easily how to do precisely what you want laugh You just have to create a few Template Variable suiting your needs, and assign permissions to them and you’re done. Welcome to MODx !



        .: COO - Commerce Guys - Community Driven Innovation :.


        MODx est l'outil id
        • 20751
        • 122 Posts
        Thanks for the tip! I’ll investigate and see what I can find!

        smiley