We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32963
    • 1,732 Posts
    Sounds great smiley

      xWisdom
      www.xwisdomhtml.com
      The fear of the Lord is the beginning of wisdom:
      MODx Co-Founder - Create and do more with less.
      • 34162
      • 1 Posts
      As an update:







        • 4673
        • 577 Posts
        lolo, I object !


        hehe, just joking laugh
          Tangent-Warrior smiley
          • 25663 MODX Staff
          • 12,272 Posts
          Nice... but the current tab styling is broken! tongue
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 34162
            • 1 Posts
            LOL. You are just never happy, are you? ;-)
              • 25663 MODX Staff
              • 12,272 Posts
              Well, when I can’t play with the code myself I have not other choice. LOL

              Great work!
                Ryan Thrash, MODX Co-Founder
                Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                • 34162
                • 1 Posts
                Can someone give me a quick parameter string using all the available types? Just want to make sure that my new parameter editor is fully compatible, especially since it allows you to switch parameter types on the fly.

                Thanks, someone! smiley
                  • 32963
                  • 1,732 Posts
                  Quote from: infoclipper at Aug 17, 2005, 02:30 PM

                  Can someone give me a quick parameter string using all the available types?  Just want to make sure that my new parameter editor is fully compatible, especially since it allows you to switch parameter types on the fly.

                  Thanks, someone!  smiley

                  I guess that someone would be me. Here you go:

                  &name = Description;datatype;value

                  where:

                  name – name of the variable to be used inside theplugin code
                  description – A brief description of the input variable
                  datatype – the type of input to accept from the user
                  value – the values or list to be displayed.

                  Where data types can be one of the following:

                  int – An integer. Use a textbox to accept numeric inputs
                  string – This is the default data type. Uses a textbox to accept input values
                  list – A list. Use a dropdown menu to display a list of values.

                  Example of a list input variable:
                  &color=Colors;list;Red,Blue,Green

                  For more information please see "The Developer’s Guide"


                    xWisdom
                    www.xwisdomhtml.com
                    The fear of the Lord is the beginning of wisdom:
                    MODx Co-Founder - Create and do more with less.
                    • 34162
                    • 1 Posts
                    Thanks, Raymond.

                    I assume, then, that the first element is always the selected? We don’t store a default index, right?
                      • 32963
                      • 1,732 Posts
                      Great stuff Travis smiley

                      Another thing that came to mind is the ability for users to be able to edit HTML snippets via an RTE. So when they select Plain HTML they get an option to switch to RTE mode or Text mode.
                        xWisdom
                        www.xwisdomhtml.com
                        The fear of the Lord is the beginning of wisdom:
                        MODx Co-Founder - Create and do more with less.