We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24865
    • 289 Posts
    Ok, I tried all your fixes and none of them work unfortunately.

    Lemme break it down:
    - getResources 1.3.0
    - MODX Revolution 2.0.8-pl (traditional)

    Veelgestelde vragen (Frequently asked Questions)

    • Question 1 (tv.showFrontpage = 1)
    • Question 2
    • Question 3 (tv.showFrontpage = 1)
    • Question 4
    • Question 5 (tv.showFrontpage = 1)

    The (tv.showFrontpage = 1) means the TV, which is described below, has been CHECKED.

    The TV is as follows:
    Variable name: showFrontpage
    Caption: Vraag op voorpagina
    Category: Customer (inside a category)
    Lock for edition: unchecked
    Clear Cache on Save: checked
    Input type: Check Box
    Input Option Values: (empty)
    Default value: 1
    Output type: Default

    Inside the template, the call is as follows:
    [[!getResources?parents=`8`&includeTVs=`1`&tvFilters=`showFrontpage==1`&tpl=`faqFooterItem`&includeContent=`1`&showHidden=`1`]]/code]
    
    I assume this is what you need?
    
      @MarkGHErnst

      Developer at Adwise Internetmarketing, the Netherlands.
      • 7455
      • 2,204 Posts
      I am not sure if you need to use this in the filters but if you have a tv. prefix do you not use that in the filter?:

      &tvFilters=`tv.showFrontpage==1`

      Dimmy
        follow me on twitter: @dimmy01
        • 22303 MODX Staff
        • 10,725 Posts
        Quote from: Dimmy at May 17, 2011, 12:16 PM

        I am not sure if you need to use this in the filters but if you have a tv. prefix do you not use that in the filter?:

        &tvFilters=`tv.showFrontpage==1`
        No, the prefixes are for the placeholders set for the tpl’s only.
          • 24865
          • 289 Posts
          I tried both tv. and without. smiley None of them work.

          @Dimmy; you can always step into my office and help me out. tongue
            @MarkGHErnst

            Developer at Adwise Internetmarketing, the Netherlands.
            • 7455
            • 2,204 Posts
            @ReSpawN and you can walk into my office and ask me heheh.

              follow me on twitter: @dimmy01
              • 36607 ☆ A M B ☆
              • 44 Posts
              Small point and won’t really help your main issue, but shouldn’t you change:

              [[!getResources?parents=`8`...


              to

              [[!getResources? &parents=`8`...


              you appear to missing the "&" infront of "parents"
                • 24865
                • 289 Posts
                Meh, I’ve seen the code that parses the query string behind a snippet, so that doesn’t really make a difference. smiley Thanks for the heads up tho.
                  @MarkGHErnst

                  Developer at Adwise Internetmarketing, the Netherlands.
                  • 36544
                  • 14 Posts
                  Just wondering if you managed to find fix for this, I just ran into a similar problem today...
                    • 24865
                    • 289 Posts
                    Nope, we didn’t unfortunately... We created a whole different snippet for it.
                      @MarkGHErnst

                      Developer at Adwise Internetmarketing, the Netherlands.
                      • 22303 MODX Staff
                      • 10,725 Posts
                      The latest version of getResources should work with default values for TV’s when using tvFilters.