We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18397
    • 3,250 Posts
    Banzai, I meant that you would need to create a tv with values not containing spaces. The best way is to have the text of the tv say one thing and then have the value stored numerically (ie 1 for one column...) then when displaying you can add Column(s) to the end via either plain text or a snippet. This way you can filter via a simple number.
      • 2762
      • 1,198 Posts
      Works!! Thank you Mark , for your patience grin and for your great work!!
      Newslisting will be a great snippet to create everything you need: great to devolp sites for realestate, travel agency, catalogs...
      Some features you added, like tv display e filters are dreams that comes true !!

      Thanks again and good work.
        Free MODx Graphic resources and Templates www.tattoocms.it
        -----------------------------------------------------

        MODx IT  www.modx.it
        -----------------------------------------------------

        bubuna.com - Web & Multimedia Design
        • 6726
        • 7,075 Posts
        I had a similar problem with spaces too, didn’t report it yet, glad to see this is identified and will be documented smiley
          .: COO - Commerce Guys - Community Driven Innovation :.


          MODx est l'outil id
          • 32241
          • 1,495 Posts
          Hi Mark,

          Found this thing
          « MODx Parse Error »
          MODx encountered the following error while attempting to parse the requested resource:
          « PHP Parse Error »
           
          PHP error debug
            Error: 	Undefined variable: sortby	 
            Error type/ Nr.: 	Notice - 8	 
            File: 	/XXXXXXX/manager/includes/document.parser.class.inc.php(691) : eval()'d code	 
            Line: 	260	 
           
          Parser timing
            MySQL: 	2.5669 s s	(1 Requests)
            PHP: 	0.1220 s s	 
            Total: 	2.6889 s s
          


          Coming from Newslisting snippet. FYI, it’s a result from when I turn on the stop on error mode.
            Wendy Novianto
            [font=Verdana]PT DJAMOER Technology Media
            [font=Verdana]Xituz Media
            • 18397
            • 3,250 Posts
            Thanks, I’ll look into it.
              • 18397
              • 3,250 Posts
              Could you please post that in the new NewsListing bugtracker?

              http://modxcms.com/bugs/newtask/proj4
                • 32241
                • 1,495 Posts
                done!
                  Wendy Novianto
                  [font=Verdana]PT DJAMOER Technology Media
                  [font=Verdana]Xituz Media
                  • 18397
                  • 3,250 Posts
                  NewsListing Version 6.3.3
                  BUGFIX RELEASE

                  Fixes FS#272

                  The NewsListing Template Variable parser fails when a tv’s value is not set. The relevant function is AppendTvs in functions.php.

                  Also, regarding this:

                  Quote from: davidm at Feb 06, 2006, 12:54 PM

                  I had a similar problem with spaces too, didn’t report it yet, glad to see this is identified and will be documented smiley

                  Could you file that in the NewsListing bugtracker please just for reference? Thanks.

                    • 6726
                    • 7,075 Posts
                    Quote from: Mark at Feb 18, 2006, 11:24 PM
                    Could you file that in the NewsListing bugtracker please just for reference? Thanks.

                    OK, Will do !
                    There is a dedicated entry in FlySpray for NewsListing ?

                    Anyway, I noticed another "glitch" yestederday : with NewsListing 6.3.2, the emptytext parameter seems to be parsed twice (it’s displayed twice instead of once. Can anyone confirm ?). I’ll install the 6.3.3 see if it fixes this...
                      .: COO - Commerce Guys - Community Driven Innovation :.


                      MODx est l'outil id
                      • 18397
                      • 3,250 Posts
                      Quote from: davidm at Feb 19, 2006, 03:12 AM
                      There is a dedicated entry in FlySpray for NewsListing ?
                      Yes, right here: http://modxcms.com/bugs/index.php?project=4

                      Quote from: davidm at Feb 19, 2006, 03:12 AM
                      Anyway, I noticed another "glitch" yestederday : with NewsListing 6.3.2, the emptytext parameter seems to be parsed twice (it’s displayed twice instead of once. Can anyone confirm ?).

                      Yes, David in 6.3.x series the emptytext appears twice. This has already been fixed in the 6.5 development code.