We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24068
    • 4 Posts
    Quote from: Bruno17 at Jun 10, 2011, 10:10 AM

    normally you don’t need an extension.
    If you need more ’content areas’ just create some richtext-tvs and add them to your template.
    Ok, you need to have installed tinyMCE-Extra, before you can do so.

    If you want dynamically add multiple content-areas or slides or what not you can either use subresources or MIGX...............

    Okay, richtext-tvs.

    So i could create some richtext-tvs, say

    * box.top
    * box.mid_left
    * box.mid_right
    * box.btm_left
    * box.btm_mid
    * box.btm_right

    and then check in the template if a tv of the above is empty or not and display (or dont display on emty) the boxes.

    I have to look for the syntax to check tvs emtpyness, but isnt that a way to create the OPs layout?
      • 24068
      • 4 Posts
      Using categories for the tvs can make this even more userfriendly

      One cat for top, one for middle, one for bottom...
        • 4172
        • 5,888 Posts
        what I undestand, she wants to add multiple rows, where the user can choose between three different layouts for each row.
        I think like that:

        [table]
        [tr][td]image[/td][/tr]
        [tr][td]h2[/td][/tr]
        [tr][td]text[/td][/tr]
        [/table]

        or

        [table]
        [tr][td]image1[/td][td]image2[/td][td]image3[/td][/tr]
        [tr][td]h2[/td][td]h2[/td][td]h2[/td][/tr]
        [tr][td]text[/td][td]text[/td][td]text[/td][/tr]
        [/table]

        or

        [table]
        [tr][td]image1[/td][td]image2[/td][/tr]
        [tr][td]h2[/td][td]h2[/td][/tr]
        [tr][td]text[/td][td]text[/td][/tr]
        [/table]

        this can easy be done with MIGX by just cklicking: add item -> in the window choose one of three layouts by dropdown -> fill the upcoming fields -> click done

        they can add/edit and sort the items at any time, all in one TV
          -------------------------------

          you can buy me a beer, if you like MIGX

          http://webcmsolutions.de/migx.html

          Thanks!
          • 24068
          • 4 Posts
          Okay, Bruno17, for the fun of it, i’m trying to set this up.
            • 24068
            • 4 Posts
            Bruno17, is there a way to place the Formname dropdown outside of the tabpanel?
              • 4172
              • 5,888 Posts
              for now, not. It is allways placed on the first tab. But you can try to add an empty tab.

              [Edit]
              seems you need at least one field in the tab. - next release comes surely.
                -------------------------------

                you can buy me a beer, if you like MIGX

                http://webcmsolutions.de/migx.html

                Thanks!
                • 24068
                • 4 Posts
                Damn, Bruno17, i like that grin

                My three dogs want to see the forests and meadows now, but i’ll be back soon and post here how this is done in full detail.
                  • 24068
                  • 4 Posts
                  Quote from: pureppl at Jun 10, 2011, 12:28 PM

                  ... post here how this is done in full detail.

                  Nope, i dont do this.

                  Instead i’ll attach a package so you can see for yourself.

                  I hope it installs, did not test the package.
                    • 24068
                    • 4 Posts
                    Forgott two files
                      • 4172
                      • 5,888 Posts
                      seems there is something very strange with this package. This did mess my tinyMCE and more.
                      when installing I got:

                      Workspace environment initiated, now installing package...
                      Package found...now preparing to install.
                      Grabbing package workspace...
                      Attempting to install package with signature: migxmulticolumnlayout-1.0-beta1
                      xPDOVehicle validator failed: type php (xxx/core/packages/migxmulticolumnlayout-1.0-beta1/xPDOTransportVehicle/db44e7af40ed5ea1e96275d88fd06eba.migx-1.1.0-rc1.validator)
                      Could not validate vehicle: Array ( [action] => install [signature] => db44e7af40ed5ea1e96275d88fd06eba [register] => mgr [topic] => /workspace/package/install/migxmulticolumnlayout-1.0-beta1/ [HTTP_MODAUTH] => modx4df0a938de0b77.00975182_14df2feae8e8b66.53077235 [package_action] => 0 [vehicle_package] => transport [vehicle_class] => xPDOTransportVehicle [class] => xPDOTransportVehicle [guid] => 825990c7dcd110afb95f6bd85bc054ee [native_key] => 825990c7dcd110afb95f6bd85bc054ee [filename] => xPDOTransportVehicle/db44e7af40ed5ea1e96275d88fd06eba.vehicle [namespace] => migxmulticolumnlayout [object] => Array ( [source] => migxmulticolumnlayout-1.0-beta1/xPDOTransportVehicle/db44e7af40ed5ea1e96275d88fd06eba/ [target] => return MODX_CORE_PATH . ’packages/’; [name] => migx-1.1.0-rc1.transport.zip ) [resolve] => Array ( [0] => Array ( [type] => php [body] => {"source":"migxmulticolumnlayout-1.0-beta1\/xPDOTransportVehicle\/db44e7af40ed5ea1e96275d88fd06eba.migx-1.1.0-rc1.resolver","type":"php","name":"migx-1.1.0-rc1"} ) ) [validate] => Array ( [0] => Array ( [type] => php [body] => {"source":"migxmulticolumnlayout-1.0-beta1\/xPDOTransportVehicle\/db44e7af40ed5ea1e96275d88fd06eba.migx-1.1.0-rc1.validator","type":"php","name":"migx-1.1.0-rc1"} ) ) [package] => )
                      Could not validate vehicle: Array ( [action] => install [signature] => f48837a616ed66c8757df8d0260eb9fc [register] => mgr [topic] => /workspace/package/install/migxmulticolumnlayout-1.0-beta1/ [HTTP_MODAUTH] => modx4df0a938de0b77.00975182_14df2feae8e8b66.53077235 [package_action] => 0 [vehicle_package] => transport [vehicle_class] => xPDOTransportVehicle [class] => xPDOTransportVehicle [guid] => 145374cfe5b9b80382c6c89214953e43 [native_key] => 145374cfe5b9b80382c6c89214953e43 [filename] => xPDOTransportVehicle/f48837a616ed66c8757df8d0260eb9fc.vehicle [namespace] => migxmulticolumnlayout [object] => Array ( [source] => migxmulticolumnlayout-1.0-beta1/xPDOTransportVehicle/f48837a616ed66c8757df8d0260eb9fc/ [target] => return MODX_CORE_PATH . ’packages/’; [name] => tinymce-4.3.0-rc1.transport.zip ) [resolve] => Array ( [0] => Array ( [type] => php [body] => {"source":"migxmulticolumnlayout-1.0-beta1\/xPDOTransportVehicle\/f48837a616ed66c8757df8d0260eb9fc.tinymce-4.3.0-rc1.resolver","type":"php","name":"tinymce-4.3.0-rc1"} ) ) [validate] => Array ( [0] => Array ( [type] => php [body] => {"source":"migxmulticolumnlayout-1.0-beta1\/xPDOTransportVehicle\/f48837a616ed66c8757df8d0260eb9fc.tinymce-4.3.0-rc1.validator","type":"php","name":"tinymce-4.3.0-rc1"} ) ) [package] => )
                      xPDOVehicle validator failed: type php (xxx/core/packages/migxmulticolumnlayout-1.0-beta1/xPDOTransportVehicle/f48837a616ed66c8757df8d0260eb9fc.tinymce-4.3.0-rc1.validator)
                        -------------------------------

                        you can buy me a beer, if you like MIGX

                        http://webcmsolutions.de/migx.html

                        Thanks!