We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25803 ☆ A M B ☆
    • 721 Posts
    Hello,

    On my article container page I have a situation where the current article (i.e. that latest published article, could be this month, could be 2 months ago) lists it's content in point form and a link to a PDF. Below that, under a heading of Past Issues, is a list of the past issues, that can be expanded to see the content in point form and download a PDF.

    It can be viewed here: http://staging.qualityandcompliance.com/gmp-gazette

    I need to hide the current article that is displayed first from the Past Issues list, but only the current article. I could use this:
    &tplFirst=`blankTPL`


    But when you click an Archive link, it will then hide the first article in the Archive. I need to be able to just hide only the current article. I could create a TV to act as a toggle but then the client will have to manage that. It would be much better if it was automatic.

    Any ideas?
      • 4172
      • 5,888 Posts
      you can try to figure the id of the current one and set it into a placeholder (current_id).

      than you can filter with

      &where=`{"id:!=":"[[+current_id]]"}`


      or

      &resources = `-[[+current_id]]`
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!