We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10357
    • 573 Posts
    Hi,

    is it possible to store an image in a tv, for use in the menu? I can do this using dropmenu.

    cheers,
    G
      • 11975
      • 2,542 Posts
      Hi,

      this feature noes not exist in the current version of wayfinder but you could mix ditto and wayfinder to achieve this.

      You could create a doc with content type set to text/css
      Inside the doc write a ditto call to retrieve the TV
      the ditto tpl could be something like this

      ditto tpl :
      #level[+id+]{
      /* some css stuff */
      background:url([+tvImage+]) no-repeat;
      }
      


      As you can attach an id to each level and item in wayfinder you could easily apply the specific image to each item.

      The last thing is to insert in the header of your template a call to the css made with ditto.

      Not tested but should work.

      Hope that helps.

      :-)
        Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
        • 6726
        • 7,075 Posts
        Very smart Heliotrope, that will make an interresting thing to play with grin
          .: COO - Commerce Guys - Community Driven Innovation :.


          MODx est l'outil id
          • 12646
          • 3 Posts
          Okay... I’m sold on MODx and Wayfinder (I’ll be posting my donations soon!). I am technically and code savvy, but far from what I would call a production-ready coder. I’m familiar with CSS, PHP, MySQL etc... and I can get most things implemented and up-and-running. However...

          I can’t seem to get Wayfinder to generate anything at all. I’ve read every single entry in this thread (12 pages)... and I’m pretty sure it’s just me... but I’m hoping someone has a tip for me if the thing doesn’t output anything at all.

          I tried using with and without chunks... the snippet just doesn’t seem to process at all. If I use chunks I get the resulting <ul> and <il> output, but with no output from the snippet. What am I missing? I know the site and everything else is in order... I can simply drop in [[DropMenu]] or any other snippet with no problem.

          I’m not sure if my problem is the "patching" issue mentioned in the documentation, but the link to the forum discussion is all about version 0.9.1 ... am I mistaken in assuming the patch/fix is made in version 0.9.2?

          BTW ... I love MODx ... VERY clean.... now if I can just get my brain wrapped around taking my CSS knowledge/skill to a higher (better) level.

          The site I’m working on is www.hotmelange.com ... it’s not released live yet... and the CSS needs tons of work!

          Thanks in advance for any help!
            Coby Pachmayr
            Idea Spring Inc
            • 15987
            • 786 Posts
            ideaspring,
            How are you calling wayfinder??

            The default call for wayfinder should look like this to get a menu from the root:
            [[Wayfinder? &startId=`0`]]
              • 25663 MODX Staff
              • 12,272 Posts
              Did you upload the needed files to the assets/wayfinder/ folder?
                Ryan Thrash, MODX Co-Founder
                Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                • 12646
                • 3 Posts
                embarrassed How embarrasing ... umm... I guess my total of 24 hours of experience with MODx syntax led me to overlook the (not so tiny) ’?’ that was needed to pass the arguments and/or set the variables. I got it working... thanks... please forgive my post.

                Great tool... looking forward to continue to dig in.
                  Coby Pachmayr
                  Idea Spring Inc
                  • 18479
                  • 4 Posts
                  This is my first posting here for wayfinder. I think it is a wonderful menu system once I get comfortable with it. I am more on the user side and I am having a hard time implementing it. please take a look at http://71.18.148.223 I would be really appreciate it if someone could look at the system and give me some pointers. Please acknowledge and I will provide you with the account

                  Thanks a million for your help
                    There are only two ways to go, up or down
                    • 7923
                    • 4,213 Posts
                    @martinf

                    - first, there’s an extra < before <div class="menu">
                    - second, if you want to keep that login page like that, you need to set template access to your template for loginName TV in modx manager to make it appear correcly as menu title in your menu (go to resources -> manage resources -> template variables -> loginName -> check your teplate in template access)
                    - thirdly, the cssplay menu is too wide for your template, so you need to modify the css accordingly. The css is pretty complex, but start by decreasing the width on some places and see what happens..

                    anything more?


                      "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                      • 10573
                      • 101 Posts
                      I’m loving Modx and creating my second site. However I’m kinda stuck and was hoping someone can help me out.

                      along the top menu I have the following:
                      Products | Solutions | Technology | Support | Partners | Company

                      When you click on a parent "Products" it is goes to the "Product Overview" (the content of that folder)

                      How do I include the parent in the secondary pages like this:

                      Product Overview Header
                      - Product Overview (link to products) - the code below does not show this parent folder.
                      - child1
                      - child2
                      - child3

                      In the secondary pages, I have the child links using the following code as a sidebar in the left column:
                      [[Wayfinder? &startId=`[[UltimateParent]]` &outerTpl=`wfsidenavigation`]] 

                      This discussion is closed to further replies. Keep calm and carry on.