We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7455
    • 2,204 Posts
    wow its realy looking nice already.

    I saw that in the bb-code there is an option to display snipptes [snippet] and [usnippet] but what if you want to call a snippet insite a snippet? like [!DropMenu? &id=[[SectionRoots]]!] ? it wil be getting even more fun to pars snippetcals when people are starting to use the new recursive parse Raymond made tahn all kind of funny combinations are posible.

    I do not know if its posible to have a field that is not parst truw the parser but just stays plain text as is?

    This needs to be fixed befor releasing the repository to the public if we do not want to get a load of questions why snippet cals do not work etc.

    Another thing

    adding [!DropMenu!] to the Description field does nothing it display’s [!DropMenu!]
    but adding [[DropMenu]] to the Description field wil result in a nice menu:
    http://www.modxcms.com/SectionRoots-0.9.2-495.html

    other calls are removed if not found thats why its zo hard to add a snippet call

    Dimmy
      follow me on twitter: @dimmy01
      • 6726
      • 7,075 Posts
      Quote from: PaulGregory at Jun 27, 2006, 12:30 PM
      I’d like, in short, to see the first post of the thread link to lots of other threads - ideally about specific issues, but not necessarily. Hmmn. Just volunteered myself for a lot of work.

      Indeed you did... that’s very smart Paul, I like the idea. But it sure will require a lot of work... It’s a bit like writing a FAQ for every MODx resource !

      A lot of questions I answer to on forums are just pointers to other threads I have come accross (now that the search has improved, it’s less frequent but still a lot of cases).

      While I am here : the repository looks really great now !
      I am impatient to collect the feedback from users... this was becoming a more and more needed tool, even for forum-addict like me !
      I can’t remember how many resources I discovered way late because I had missed it...
        .: COO - Commerce Guys - Community Driven Innovation :.


        MODx est l'outil id
        • 10487 MODX Staff
        • 1,535 Posts
        Thanks, Dimmy smiley

        Quote from: Dimmy at Jun 27, 2006, 03:19 PM

        I saw that in the bb-code there is an option to display snipptes [snippet] and [usnippet] but what if you want to call a snippet insite a snippet? like [!DropMenu? &id=[[SectionRoots]]!] ? it wil be getting even more fun to pars snippetcals when people are starting to use the new recursive parse Raymond made tahn all kind of funny combinations are posible.
        I’ve made a few small changes in the Upload snippet so that it correctly parses the nested tags, as long as the bbcode equivalents are used to define them. The styling still needs to tweak as it currently doesn’t handle nested tags very well - I will look at this tomorrow.

        Quote from: Dimmy at Jun 27, 2006, 03:19 PM

        adding [!DropMenu!] to the Description field does nothing it display’s [!DropMenu!]
        but adding [[DropMenu]] to the Description field wil result in a nice menu
        Any non-bbcoded snippet/tv/chunk calls will now be stripped out of the Description field (they already were for most of the fields, that one must’ve slipped through the net)
          Garry Nutting
          Senior Developer
          MODX, LLC

          Email: [email protected]
          Twitter: @garryn
          Web: modx.com
          • 25663 MODX Staff
          • 12,272 Posts
          Some minor editing to content and layout has now been done. Biggest thing was moving the tag cloud count over to the center column then adding the site navigation and search back in. Just need to fix the navigation folder icons, which are botched at the moment then I say we unload it on the general forums as quickly as feasible thereafter.
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 7455
            • 2,204 Posts
            I tryed to edit my reopsitory post but it gave me this error;
            « MODx Parse Error »
            MODx encountered the following error while attempting to parse the requested resource: 
            « PHP Parse Error » 
              
            PHP error debug 
              Error:  mysql_num_rows(): supplied argument is not a valid MySQL result resource   
              Error type/ Nr.:  Warning - 2   
              File:  /home/httpd/vhosts/modxcms.com/httpdocs/manager/processors/cache_sync.class.processor.php   
              Line:  78   
              Line 78 source:  $limit_tmp = mysql_num_rows($rs);    
              
            Parser timing 
              MySQL:  0.1155 s s (37 Requests) 
              PHP:  0.3432 s s   
              Total:  0.4587 s s   
            
              follow me on twitter: @dimmy01
              • 22815
              • 1,097 Posts
              Just need to fix the navigation folder icons, which are botched at the moment then I say we unload it on the general forums as quickly as feasible thereafter.

              Well that’s just a few seconds of CSS padding.

              So yes, it will be good to have a public thread announcing this and requesting feedback.

              I suggest that we link to the new repository at the top of the resources post (which is what Resources links to), stating that it is still in test and does not yet contain all the resources listed in Wendy’s post.

              I believe we need to state on the Repo main page "Not all resources have yet been added to this system. If you have authored a resource, please use the ’Add A New Resource’ function on the right. The previous list of over 70 resources is available here." - as this makes the true picture clearer.

              At the moment there are 70+ resources on Wendy’s list and 7 in the Repository.

              Would it be helpful if I went through Wendy’s list and created a new list with the resources grouped by the author? (I’ll take to be whoever posted the file in a thread in the first place).

              Then someone can message them and get them to put their stuff in the Repository. I see that it is important that the author does this because they are then the only ones who can edit their resource info.

              If there are resources that are *not* by someone with an active forum account, then these can be added by other people.

              --

              @kylej - thanks for taking my comments on board.

              The demo site is interesting - each version of a resource seems to have its own tags, and clicking ’ajax’ for example pulls up all the previous versions of a resource : http://modxtest.muddydogpaws.com/resource_listing.html&tags=ajax - but the link goes to the latest version.

              Is that intended behaviour? I’m actually kinda glad people are directed to the latest version but I would much rather just see the latest releases. There is a theoretical issue if TunaCatcher 1.5 has the tag "Dolphin-friendly" but TunaCatcher 1.6 doesn’t - so perhaps it should show the most recent release that matches the tag?

              Perhaps this also ties in to the needed ability to mark a snippet version as "dead"?
                No, I don't know what OpenGeek's saying half the time either.
                MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
                Forum: Where to post threads about add-ons | Forum Rules
                Like MODx? donate (and/or share your resources)
                Like me? See my Amazon wishlist
                MODx "Most Promising CMS" - so appropriate!
                • 15987
                • 786 Posts
                Quote from: PaulGregory at Jun 28, 2006, 08:11 AM

                The demo site is interesting - each version of a resource seems to have its own tags, and clicking ’ajax’ for example pulls up all the previous versions of a resource : http://modxtest.muddydogpaws.com/resource_listing.html&tags=ajax - but the link goes to the latest version.

                Is that intended behaviour? I’m actually kinda glad people are directed to the latest version but I would much rather just see the latest releases. There is a theoretical issue if TunaCatcher 1.5 has the tag "Dolphin-friendly" but TunaCatcher 1.6 doesn’t - so perhaps it should show the most recent release that matches the tag?

                Paul, yes that is intended behavior. Our thinking was when you find a resource in the listing always go to the most recent version. If the most recent version is not what the user wants the previous releases are listed below and they can get the one they are looking for. This should hopefully keep people using the current version of a resource.

                Perhaps this also ties in to the needed ability to mark a snippet version as "dead"?

                I have started working on this and hope to get it added soon. I was thinking that when you marked something deprecated though it would be the whole resource, not just a particular version. Would it be more beneficial to just mark a version deprecated? I guess in my thinking that once a new version is released the older version are inherently deprecated and users should move to the new version.
                  • 22815
                  • 1,097 Posts
                  The intended behavior I was questioning was the listing on the tag search results screen of previous versions.
                  I am concerned that what will happen is that you’ll click on AJAX and half the results will be the same resource.
                  If people who actually want the older version have to click on the link to the latest release and then scroll down to the older versions, there seems no point listing the older versions separately on the search results page.

                  My point about specific versions being dead was that this could be used as a filter so that the tag search results could know not to show the older versions.

                  There are however many times that two versions are "alive" at the same time, for whatever reason. PHP4 & PHP5; OtherExample 0.9.5 and OtherExample 1.0 Beta might both be supported for various reasons, and in those instances there may be merit in both appearing in search results.
                    No, I don't know what OpenGeek's saying half the time either.
                    MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
                    Forum: Where to post threads about add-ons | Forum Rules
                    Like MODx? donate (and/or share your resources)
                    Like me? See my Amazon wishlist
                    MODx "Most Promising CMS" - so appropriate!
                    • 10487 MODX Staff
                    • 1,535 Posts
                    Quote from: Dimmy at Jun 28, 2006, 12:35 AM

                    I tryed to edit my reopsitory post but it gave me this error;
                    I’ve been looking at this today - it appears the synccache class is losing the database information somewhere along the line and resulting in the query failure. It’s baffled me why this has only just happened, but it seems to be a persistant error now regardless of what I do.

                    I need to look at this a bit more, but I think coding a customised sync cache function is on the books.
                      Garry Nutting
                      Senior Developer
                      MODX, LLC

                      Email: [email protected]
                      Twitter: @garryn
                      Web: modx.com
                      • 15987
                      • 786 Posts
                      Quote from: PaulGregory at Jun 28, 2006, 08:47 AM

                      The intended behavior I was questioning was the listing on the tag search results screen of previous versions.
                      I am concerned that what will happen is that you’ll click on AJAX and half the results will be the same resource.
                      If people who actually want the older version have to click on the link to the latest release and then scroll down to the older versions, there seems no point listing the older versions separately on the search results page.

                      My point about specific versions being dead was that this could be used as a filter so that the tag search results could know not to show the older versions.

                      There are however many times that two versions are "alive" at the same time, for whatever reason. PHP4 & PHP5; OtherExample 0.9.5 and OtherExample 1.0 Beta might both be supported for various reasons, and in those instances there may be merit in both appearing in search results.

                      I got you now, this will actually be easier to do too! I should have this working soon.

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