We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 44325
    • 3 Posts
    I am developing a 3 column layout, with 2 additional sections.

    How do I get editable content into each section?

    Can I use the 'Ditto' add on for this?

    If so - how?

    My layout looks like this:
    -------------------------------
    |  Header                     |
    -------------------------------
    |  Nav                        |
    -------------------------------
    | top_content                 |
    -------------------------------
    |  col-1 |  col-2  |  col-3   |
    -------------------------------
    | lower_content               |
    -------------------------------
    | footer                      |
    -------------------------------
    


    The content in "top content", "col1,2,3" and "lower content" need to be editable via the WYSIWYG interface, as the intended end user cannot edit code.

    How can I achieve this?

    I have used modx in the past, but have more experience with Website Baker, where I would have simply done the above using the "sections" feature of Website Baker.

    Any help will be appreciated.

    Thanks,
    Tony.

    P.S. Sorry for all the '+' characters - but the forum stripped out all the white space and messed up my formatting.

    P.P.S. ^^ fixed by using the code tags. [ed. note: dev_tony last edited this post 10 years, 10 months ago.]
      • 4172
      • 5,888 Posts
      just create a Template-Variable for each column and use the richtext - input-type for it.

      name them col1, col2, col3 and put the placeholders for them into you template:

      <div id="col1">
      [*col1*]
      </div>
      <div id="col2">
      [*col2*]
      </div>
      <div id="col3">
      [*col3*]
      </div>
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 44325
        • 3 Posts
        ^^ that's wonderful! Thank you so much!

        Tony.