We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24292
    • 28 Posts
    In version 0.4.0 the configuration of $cssprintpre is wrong. This stops parsefolder from working as it filters out all files.

    It is
    $cssprintprefixe = 'print_';

    but should be
    $cssprintpre = 'print_';

      • 33175
      • 711 Posts
      Thanks for your message. In fact there is a bug but not where you indicate it.
      This line
      $cssprintpre = isset($cssprintpre) ? $cssprintpre : '';
      should be
      $cssprintpre = isset($cssprintpre) ? $cssprintpre : $cssprintprefixe;

      This is fix with the version 0.4.1
        Sorry for my english. I'm french... My dictionary is near me, but it's only a dictionary !
        • 4273
        • 356 Posts
        where or how to set up the list of different css ?

        i have the switch appearing in the page but it only shows default, how to display more ?
          SMF Bookmark Mod - check it out
          http://mods.simplemachines.org/index.php?mod=350
          • 33175
          • 711 Posts
          You must specify the folder wich contains yours css and the list will be generated automatically.
          Else, you can specify them manually with a chunk : you add one option on the select box by css.
            Sorry for my english. I'm french... My dictionary is near me, but it's only a dictionary !
            • 4273
            • 356 Posts
            i see and where would we specify the css folder ?
              SMF Bookmark Mod - check it out
              http://mods.simplemachines.org/index.php?mod=350
              • 7923
              • 4,213 Posts
              Quote from: bugsmi0 at Jul 20, 2006, 06:25 PM

              i see and where would we specify the css folder ?

              Quote from the start of the snippet: &parsefolder - parse folder to create automatically list of css

              bugsmi0, don’t you ever read the documentation in the snippets you are using? this is getting pretty fustrating..


                "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                • 33175
                • 711 Posts
                Thanks to you Doze smiley
                  Sorry for my english. I'm french... My dictionary is near me, but it's only a dictionary !
                  • 4273
                  • 356 Posts
                  after searching a GAzillion pages on the forums and having to read through $ & $ & $ & in a tiny text file line after line, forgive me for it all being blurish and confusing wink

                  perhaps If the snippet didn’t have so much stuff cramed into it it would be easier to figure out along with more easy to understand instructions. I tend to write with the newbie in mind but that’s a preference and one should not have to go to programmer school just to understand how a snippet works, write plain english next time IMHO

                  I rate a snippet how quick and easy it is to understand and setup, if I can’t set it up as is in a matter of seconds, its a more complicated snippet, neither good nor bad of course. As a developer, I would do the same, write it easy 1,2,3

                  and btw - I tried &parsefolder and that didn’t bring up a list,

                    SMF Bookmark Mod - check it out
                    http://mods.simplemachines.org/index.php?mod=350
                    • 33175
                    • 711 Posts
                    Quote from: bugsmi0 at Jul 21, 2006, 10:41 AM

                    and btw - I tried &parsefolder and that didn’t bring up a list,
                    What is the problem ? Could you develop it because I don’t know why you can’t obtain the good result. What is the snippet call you use ?

                    You must configure $csspath into the code of the snippet and call the snippet like this :
                    [!CssSwitcher? &parsefolder=`1` !]


                    Quote from: bugsmi0 at Jul 21, 2006, 10:41 AM

                    after searching a GAzillion pages on the forums and having to read through $ & $ & $ & in a tiny text file line after line, forgive me for it all being blurish and confusing wink

                    perhaps If the snippet didn’t have so much stuff cramed into it it would be easier to figure out along with more easy to understand instructions. I tend to write with the newbie in mind but that’s a preference and one should not have to go to programmer school just to understand how a snippet works, write plain english next time IMHO

                    I rate a snippet how quick and easy it is to understand and setup, if I can’t set it up as is in a matter of seconds, its a more complicated snippet, neither good nor bad of course. As a developer, I would do the same, write it easy 1,2,3
                    Sorry but I don’t understand what you want to mean. Could you explain me ?
                      Sorry for my english. I'm french... My dictionary is near me, but it's only a dictionary !
                      • 33175
                      • 711 Posts
                      My english is very bad embarrassed
                      Could you explain it please ?
                      If I understand that you said, I can do the necessary to improve this snippet.
                        Sorry for my english. I'm french... My dictionary is near me, but it's only a dictionary !