We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9995
    • 1,613 Posts
    I have a TV as dropdown and Input Option Value: No=={{nothing}}||Yes=={{showlink}}
    When I select Yes the page need to be visible front-end. (<a href="id">pagetitle</a>)

    I'm trying to show the links of selected resources in my footer.

    Can this be done with Ditto or is there an other way to do this?

    This question has been answered by banzai. See the first response.

      Evolution user, I like the back-end speed and simplicity smiley
    • discuss.answer
      • 2762
      • 1,198 Posts
      I'm not sure I understood what you need - it's something like "featured in home" ?

      1) Using ditto filtering a tv
      [!Ditto? &parents=`2` &filter=`YourDropdownTv,yes` &display=`10` &tpl=`yourdittoTpl`!]


      - or using the "Sidebar" Multitv:
      http://jako.github.io/multiTV/examples.html
        Free MODx Graphic resources and Templates www.tattoocms.it
        -----------------------------------------------------

        MODx IT  www.modx.it
        -----------------------------------------------------

        bubuna.com - Web & Multimedia Design
        • 9995
        • 1,613 Posts
        I try to add seo landingspages in my footer.
        So I have a landingspage and like to add it to my footer by selecting the dropdown to Yes.

        Your example works! thanks!!

        This is what I have now which works:

        TV called landingpagina:
        Type: Dropdown list menu
        Input value: Nee==0||Ja==1
        Default: 0

        Dittocall:
        [!Ditto? &parents=`0` &filter=`landingspagina,1` &display=`all` &tpl=`landinspagina-tpl`!]


        Chunk: landinspagina-tpl
        <a href="[~[+id+]~]" title="[+pagetitle+]">[+pagetitle+]</a>

          Evolution user, I like the back-end speed and simplicity smiley