We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23018
    • 353 Posts
    Quote from: adagency at May 16, 2013, 12:25 PM
    Quote from: pepebe at May 16, 2013, 11:33 AM

    My Gridsystem is based on resources for rows and children resources for columns. Each column resource can have its own template therefore it is easy to create all kind of content types (galeries, images with caption, etc). The technique might not fit to every project but it is very easy to handle.

    That's smart!

    If you like the idea, you can find the necessary elements here: https://gist.github.com/pepebe/5595167

    I hope I didn't forget an important part.

    Regards,

    pepebe

      Homepage: pepebe.de | MODX snippets (and other stuff) at github: https://gist.github.com/pepebe
      • 19872
      • 1,078 Posts
      Quote from: pepebe at May 14, 2013, 03:50 PM
      Im working on a foundation based MODX boilerplate.

      Have a look at my test site: http://foundation.pepebe.modxcloud.com/foundation/navigation/topbar.html

      pepebe


      Hi pepebe:

      I've been trying to figure out how to set up pdoMenu (same as wayfinder) so that I can use both the left and right section of the Foundation topbar navigation. It appears that you were able to make it work. Would you be willing to share your solution?.
        • 23018
        • 353 Posts
        Quote from: mmcgee at Feb 25, 2015, 05:07 AM
        Quote from: pepebe at May 14, 2013, 03:50 PM
        Im working on a foundation based MODX boilerplate.

        Have a look at my test site: http://foundation.pepebe.modxcloud.com/foundation/navigation/topbar.html

        pepebe


        Hi pepebe:

        I've been trying to figure out how to set up pdoMenu (same as wayfinder) so that I can use both the left and right section of the Foundation topbar navigation. It appears that you were able to make it work. Would you be willing to share your solution?.

        I have a very simple solution for your problem:

        This is my menutree:

        Topic 1 (1)
           Subtopic 1.1 (4)
           Subtopic 1.2 (5)
           Subtopic 1.3 (6)
        Topic 2 (2)
        Topic 3 (3)
        ...
        


        I used two snippet calls. One excluding resource 1 and all children.

        startId=`0`
        excludeDocs=`1`
        &outerClass=`left`


        and the other listing resource 1 and all children

        &startId=`1`
        &outerClass=`right`


        outerClass will move your menus to the left or right.

        for pdoMenu you have to use &parents=`` instead of &startId=`` and for &excludeDocs=`1` you have to use &resources=`-1`

        As you can see very easy to solve.

        I remember the tricky part to be the dropdown below the ultimateparent. It doens't work anymore (in fact many thing are broke for some reason). Have to check this.

        Cheers,

        pepebe
          Homepage: pepebe.de | MODX snippets (and other stuff) at github: https://gist.github.com/pepebe
          • 19872
          • 1,078 Posts
          Hi pepebe:

          Thank you for responding. I struggled forever with the dropdown aspect until I finally reduced my Tpls down to the two I have and that seemed to solve many issues I was having with combining wayfinder and topbar. On a couple of earlier sites, I gave up and used another menu system I was already used to working with on static sites.

          Using two snippet calls has been suggested. Where I am stuck I guess is that I only have two Tpls, and the outer one contains the overall menu wrap. So with two snippet calls, wouldn't I then be generating two outer wrapped menus on the page? Perhaps this is where my simple approach with my two chunks doesn't work?

          I will keep playing with this to see if I can get it to work. The more I struggle with it, the more I am thinking just a single left, center or right-align menu will suffice. Ha!
            • 23018
            • 353 Posts
            Quote from: mmcgee at Feb 25, 2015, 07:18 AM
            Hi pepebe:

            Thank you for responding. I struggled forever with the dropdown aspect until I finally reduced my Tpls down to the two I have and that seemed to solve many issues I was having with combining wayfinder and topbar. On a couple of earlier sites, I gave up and used another menu system I was already used to working with on static sites.

            Using two snippet calls has been suggested. Where I am stuck I guess is that I only have two Tpls, and the outer one contains the overall menu wrap. So with two snippet calls, wouldn't I then be generating two outer wrapped menus on the page? Perhaps this is where my simple approach with my two chunks doesn't work?

            I will keep playing with this to see if I can get it to work. The more I struggle with it, the more I am thinking just a single left, center or right-align menu will suffice. Ha!

            I think you are overcomplicating things. Send me a private message with your skype or googletalk contact details and we can sort things out.
              Homepage: pepebe.de | MODX snippets (and other stuff) at github: https://gist.github.com/pepebe
              • 19872
              • 1,078 Posts
              I think I have this figured out!

              All is working. Just trying to resolve and control what appears in the left side. Hope to have fixed soon and will send my results.