We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21595
    • 159 Posts
    oK all done. Thanks
      • 18397
      • 3,250 Posts
      NewsListing Version 6.3

      15-Jan-2006 fixed show more link, added summarize all (set summarize to 0), multiple filters via the pipe delimiter, minor bugfixs (Mark)
        • 6726
        • 7,075 Posts
        Multiple filter is great news !

        I updated to Newslisting 6.3 today (both the snippet and the functions.php file), but I still have some problems with the "Show more" link.

        It’s just not displayed. It’s like [+link+] is not parsed anymore. Everything is working fine except the "show more" link is not there... I might be in a specific case though : only TVs have values, the content field is empty since it’s unused for those items I want to list. Anyway, it worked fine with 6.2.

        Any thoughts ?
        Thanks !

        Edit : I added &debug=’1’ and went through all the information there, wasn’t any warning message or useful information to understand this...


          .: COO - Commerce Guys - Community Driven Innovation :.


          MODx est l'outil id
          • 18397
          • 3,250 Posts
          Laughs, David you were using the very bug I finally was able to fix to your advantage! Logically when the snippet shows the entire content of the page you wouldn’t want a show more link because the visitor would already be seeing everything! Logical fix: put something in the content field or introtext field to force the snippet to generate a link.. Easy fix: Remove the [+link+] from your tpl and add this:

          <a href="[~[+id+]~]">Your Trunc Text Goes Here</a>
          


          in its place. That should allow you to continue using NewsListing in the manner you describe.
            • 6726
            • 7,075 Posts
            Thanks for the quick fix smiley

            Yeah, I had read through the code changes and though I still don’t know php I managed to figure out this much tongue

            I guess we like to play so much with TVs some of us will end up not using content fields at all ! Proof is, the HideEditor plugin...

            Anyway, as I said somewhere else on the forums, the NewsListing snippet has become a full blown blogging/publishing tool that rivals with dedicated publishing/blogging tool + the unrivaled MODx flexiblity I can foretell a very bright future for it among power users/bloggers grin

            Hats off !
              .: COO - Commerce Guys - Community Driven Innovation :.


              MODx est l&#39;outil id
              • 21595
              • 159 Posts
              Just I need it . very useful when the adress is a link and not a text
              Thanks
                • 20079
                • 49 Posts
                1) Is it possible to change the blogContent TV so it dispays full bar of Rich Text editor’s options?
                My blog requires pictures, H1-2-3, p and other editing. and such feature would be real handy!

                2) &tpl - name of the chunk to use for the summary view template
                Can someone explain this? I don’t really get it.

                What i’d like to do is make the blog entry when viewed whole (after click ’read more’) to use different template. Would this be the one?
                UPD:
                Figured it out-- to make a blog assign itself to a different template, i used &template=`theDifferentTemplate` within the [!NewsPublisher... ]thing.

                3) Is it possible to allow everybody to comment without the registration?

                thanks.
                  • 25663 MODX Staff
                  • 12,272 Posts
                  1) You can do this by changing a config somewhere... gotta recal exactly where though! I think it’s in the plugin itself... even creating a totally custom toolbar. Or maybe the custom config file on the filesystem.

                  3) You can remove the restriction on comments.
                    Ryan Thrash, MODX Co-Founder
                    Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                    • 18397
                    • 3,250 Posts
                    NewsListing Version 6.3.1
                    CRITICAL UPDATE

                    Bugs fixed:

                    If you had a doc with a missing variable and its called in the tpl it used to show the previous documents value instead of nothing.

                    &menuOnly now works again.


                      • 18397
                      • 3,250 Posts
                      Hmmmm... on some servers I seem to get this error:

                      Fatal error: Cannot use [] for reading in /manager/includes/document.parser.class.inc.php(807) : regexp code on line 1
                      


                      Any ideas?