We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19726
    • 239 Posts
    In the call you posted you use ’ instead of ` for the &paginate= parameter, the startDoc parameter is OK. Fix it and see if that helps.
      • 4273
      • 356 Posts
      wow didn’t catch that, i fixed it and check it but still no see is there something else missing in my snippet call ?

      i put the snippet in the folder containing the articles

      [[NewsListing? &startDoc=’58’ &paginate= ’1’]]
        SMF Bookmark Mod - check it out
        http://mods.simplemachines.org/index.php?mod=350
        • 18397
        • 3,250 Posts
        You need to add the placeholders like I explained earlier.

        Try this:

        [!NewsListing? &startID=`58` &summarize=`3` &paginate=`1` &alwaysshow=`1`]]<br /><br />Showing <strong>[+start+]</strong> - <strong>[+stop+]</strong> of <strong>[+total+]</strong> Articles<br />
        < div id="nl_pages">
        [+previous+] [+pages+] [+next+]
        < /div>
        


        Note the names of the parameters.

        With this CSS:

         <style type="text/css">
        #nl_archivelist ul{list-style-type: none; margin-left: 15px; padding-left: 0px;}
        #nl_archivelist ul ul{
        list-style-type: square;
        margin-left: 35px;}
        .nl_month {font-weight: bold;} #nl_pages {margin-top: 10px;}
        #nl_pages #nl_currentpage {border: 1px solid blue;padding: 2px; margin: 2px; background-color: rgb(90, 132, 158); color: white;}
        #nl_pages .nl_off {border: 1px solid #CCCCCC; padding: 2px; margin: 2px}
        #nl_pages a {border: 1px solid rgb(203, 227, 241);; padding: 2px; margin: 2px; text-decoration: none; color: black;}
        #nl_pages a:hover {border: 1px solid #000066; background-color: white; }
        #nl_archivelist ul{list-style-type: none; margin-left: 15px; padding-left: 0px;}
        #nl_archivelist ul ul{list-style-type: square;margin-left: 35px;}
        .nl_month {font-weight: bold;}
        </style>
        


        This is from my tutorial for NewsListing @ http://modxcms.com/NewsListing.html
          • 4273
          • 356 Posts
          when there are a list of articles displayed and you click on one article there’s no page number display like in the initial page with the article links get listed

          I notice on the modx blog they do not have the page 1 or 18 previous/next links on the article pages themselves either is this a possiblity ?

          there’s not much sense in having 100 pages of articles when you can’t click back to the beginning or previous links from with in each article page
            SMF Bookmark Mod - check it out
            http://mods.simplemachines.org/index.php?mod=350
            • 25663 MODX Staff
            • 12,272 Posts
            I’m not following the problem. The paging is not meant for the article pages, only the summary views. A quick trip to the back button takes you back from where you started.
              Ryan Thrash, MODX Co-Founder
              Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
              • 19220
              • 26 Posts
              Hi,

              First of all, this is very nice. I made myself a simple little blog with categories, etc. using multilevel=`1` and it was quite easy. I’m using MODx 0.9.1 (rev 646) and NewsListing Version: 6.3.3. It looks great in Firefox, but it looks bad in Internet Explorer. Is this a well-known/common problem? I can PM you the URL, provide more details/screenshots, etc.

              Thanks,

              -michael
                • 25663 MODX Staff
                • 12,272 Posts
                IE is most likely due to it’s creative interpretation of CSS.
                  Ryan Thrash, MODX Co-Founder
                  Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  I usually have to have a conditional IE section in the head of my template to put in three or four IE-specific styles. It’s a lot better than trying to work throught a bunch of "hacks" and then hack the hacks because they broke some other browser.
                    Studying MODX in the desert - http://sottwell.com
                    Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                    Join the Slack Community - http://modx.org
                    • 19220
                    • 26 Posts
                    Are there any good examples of stylesheets I should use for IE? Everything I’m using right now is just the MODx default stuff, but I’ll be happy to change things.

                    Actually, I’m kind of new to modern web development (that is, I’m a reasonable guy, but I only have minimal experience with css and php), so I might need a little handholding as far as installing IE specific stuff. Do I just put IE specific stuff inside this block in the default template?

                    <!--[if lte IE 6]>
                    
                      <style type="text/css" media="screen, tv, projection">
                            body { behavior: url(assets/js/csshover.htc); } /* hover:anything support */
                            #content { margin-left: 22px; } /* to avoid the BMH */
                            a,  a:link { border-bottom-style: solid } /* becuase IE just doesn't dot */
                      </style>
                    
                      <script type="text/javascript" src="assets/js/sleight.js"></script>
                    
                    <![endif]-->


                    Thanks,

                    -michael
                      • 4273
                      • 356 Posts
                      I managed to get it all together, had to study up on the modx documentation, it’s become a common bookmark I keep going back to grin
                        SMF Bookmark Mod - check it out
                        http://mods.simplemachines.org/index.php?mod=350