We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20356
    • 3 Posts
    I have another issue. When posting a blog, it creates a new page/blog, but it wont display in my list of blogs.
    I have tried setting my site to Cacheable default - no and set Published default - yes
    they still wont list.

    however, when I search for the title of the blog, it returns a result, but without any content.
    If i search for the content of the newly created blog, it wont show up either.

    I have to unpublish it, then re-publish it to get it to display on my page.
      • 7455
      • 2,204 Posts
      you need to set "&clearcache" to 1, then it will work.

      Dimmy
        follow me on twitter: @dimmy01
        • 6470
        • 69 Posts
        It is not always a solution.
        if you set clearcache to 1 it will work only if the publisher snippet is in the same document where published document located

        In case you have a special page for publisher snippet call
        you need CLEAR Cache manually

        put a call to that snippet after publishing

        <?php
        include_once $modx->config['base_path']."manager/processors/cache_sync.class.processor.php";
                        $sync = new synccache();
                        $sync->setCachepath("assets/cache/");
                        $sync->setReport(false);
                        $sync->emptyCache(); // first empty the cache
        ?>

        spippet ClearCache
          • 8684
          • 29 Posts
          thank!! it resolved the issue i had, i posted it few days ago, guessed i didn’t explain myself clearly