We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10997
    • 27 Posts
    Last night, Ditto pagination (as well as PHx functions) worked perfectly. Today - no dice. I think the ’placeholders’ are not being put into the page, as I get the regular text "Showing - of Articles | Page of", but as you can see, nothing in the spaces where the numbers delivered by the placeholders are going. Ditto does return the documents requested in the call, but these placeholders are dead (Again, PHx as well...)

    I just logged into the site this morning to find this being the case... it is on a localhost here, nothing changed on this end other than the machine being shut down for the evening. I am completely lost - and frankly super confused.

    Does anyone have any idea how I might figure out what to do here? I will post the ditto call, which worked w/o problems yesterday. Like I said, Ditto and PHx seem to be broken, other snippets seem OK, delivering profile information, etc, but I will keep checking.

    This is going to be a deal-breaker if I can’t figure it out... help is definitely needed...
    [!Ditto? &parents=`9` &extenders=`summary` &tpl=`NewsSummary` &summarize=`3` &paginate=`1` &paginateAlwaysShowLinks=`1`!]
    
    Showing [+start+] - [+stop+] of [+total+] Articles | Page [+currentPage+] of [+totalPages+]
    
    [+previous+] [+pages+] [+next+]


    I hate to keep asking, but I am totally stumped here and hate to lose all this work by starting over on some new CMF/CMS...

    UPDATE:
    I can get other placeholders to work, it just seems to be in the pagination section, placeholders in the template chunk work fine. I’ve also tried this on a ’clean’ page alone, with the same issues...

    I’ve tried to attach the debug console information, but it says ’no html allowed’ when I try to attach... i will attempt to do it as another format, then you folks can switch it back... this is cuh-razy!!
    UPDATE:
    I’ve got it up as a .txt. Thanks!

    UPDATE:
    I’ve reinstalled Ditto - with no change in the situation, the pagination placeholders are still gone.

    UPDATE:
    Disabling PHx makes it work again... any idea how to get PHx and pagination to play nicely? I looked in the forums and saw that you have to call Ditto Cached, but not the page... I know how to call Ditto cached but how do I prevent the page from being cached?
      • 14089
      • 56 Posts
      try making the ditto call cached...

      [[Ditto? &parents=`9` &extenders=`summary` &tpl=`NewsSummary` &summarize=`3` &paginate=`1` &paginateAlwaysShowLinks=`1`]]


      then, in the settings of the page where that is called from, uncheck the cachable checkbox. that worked for me.
        for all things independent, check out http://www.indieophile.com