We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23094
    • 59 Posts
    When I do a site structure, sometimes I make prepared tree for my customer, for example:

    1. About
    [built in TinyMCE textarea]
    2. News
    [Ditto?params]
    3. Gallery
    [built in TinyMCE textarea]
    [MaxiGallery]
    [extra textarea as TV]
    [MaxiGallery]

    Is it possible to customer can decide what type of parent page he want to put in tree? I mean page with predefined structure by admin, so he can select: "I need gallery type page here".
      • 7231
      • 4,205 Posts
      You can have a template for each page type and have the client select which one they need. I usually do this with gallery templates for example. You can also use some checkbox TVs and some logic to hide parts of the layout, but that can get messy if there are many options.
        [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

        Something is happening here, but you don't know what it is.
        Do you, Mr. Jones? - [bob dylan]
        • 23094
        • 59 Posts
        Templates is a good idea but little uncomfortable when You need to change any item in layout. You need to do it with all templates then?
        ...and with templates I think I dont do a structure od page like:


        [TEXTAREA]

        [PICTURE] [PICTURE] [PICTURE]

        [TEXTAREA]

        I need admin page with 2 textareas and 3 buttons to upload resized picture between.
          • 20308
          • 31 Posts
          Quote from: peter222 at Sep 22, 2009, 10:01 AM

          Templates is a good idea but little uncomfortable when You need to change any item in layout. You need to do it with all templates then?

          Hi,

          You can add chuncks in your templates wink
            • 23094
            • 59 Posts
            templates + chunks... good Idea, I will try it - thanks!