We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2894
    • 9 Posts
    Update: Basically what I need to know is this: is the cssTpl parameter (sorry if that’s not the correct term) even used anymore in Wayfinder? I could find no reference to it in the current snippet code that is displayed in the Manager. The examples on Muddydogpaws all include this parameter in the snippet call, but if there’s no reference to it in the current snippet code, then is it even being processed? My original post follows...

    I recently installed Revolution and Wayfinder. I am using the basic Wayfinder call which creates a UL with my directory tree as expected. I have tried using the preconfigured options to add some styling to the menu, but they don’t work! On further inspection (by opening the php files in the Configs folder), I see that they are referencing CSS files that are supposed to be in the Assets folder. However, all of these preconfiguration files (PHP and CSS) are in the Core folder. Do I need to move this entire directory to Assets? Or should I just copy it there?

    Some sort of guidance or instructions about this would be helpful. I have spent over an hour reading wikis and forums, and none of the instructions or tutorials seem to match the current version of things. It’s very frustrating!

    Addendum: In the file cssplay-basidcropdown.config.php there is a section at the end that reads:
    $cssTpl = '@CODE:<link rel="stylesheet" media="all" type="text/css" href="assets/components/wayfinder/examples/cssplay/basic_dd.css" />
    <!--[if lte IE 6]>
    <link rel="stylesheet" media="all" type="text/css" href="assets/components/wayfinder/examples/cssplay/basic_dd_ie.css" />
    <![endif]-->';

    Given this, do I need to do ANYTHING with CSS, or is this calling it for me? The reason I ask is that the URLs used in this section of code (href="bla bla bla") are not correct for the locations of those CSS files. So: do I move the files, or copy them, or what? I tried duplicating the file structure, to no avail, and I tried modifiying this config.php file with the correct URL, and it still doesn’t work. This would be a really elegant solution for pre-packaged menus, IF IT WORKED. What do I need to do to fix this? What is $cssTpl?
      • 10357
      • 573 Posts
      I think this is a bug with the revo version of wayfinder.
        • 2894
        • 9 Posts
        Quote from: g5604 at Jan 20, 2011, 05:55 AM

        I think this is a bug with the revo version of wayfinder.
        Yeah, I would say so. I gave up on using the preconfigured packages and was able to get Superfish to work.

        Whoever is responsible for packaging/developing Wayfinder needs to either fix those preconfigured files or remove them from the installation.
          • 10357
          • 573 Posts
          or you could have a go at fixing it yourself grin

          The tpl params still work, so configs are still super useful.
            • 2894
            • 9 Posts
            How are they super useful if they don’t work?

            I mean, I realize they "work" in the sense that you don’t have to enter all that chunk information separately, but still... having to hack into the files to figure out where the appropriate CSS files are and then edit them to make the styling work... that in my opinion doesn’t count as "working."
              • 2894
              • 9 Posts
              Quote from: g5604 at Jan 20, 2011, 12:58 PM

              or you could have a go at fixing it yourself

              Wasn’t that the point of my post? It’s not documented accurately anymore, so how in the world would I go about fixing it?
                • 10793
                • 0 Posts
                I have the same problem, Bazlevi. Have you managed to solve it since January ?
                Tnx and Brgds
                Gianni