We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8694
    • 61 Posts
    The snippet-cal fpr the Form ist:
    [[!SimpleSearchForm? &landing=`29`]]


    The snippet-call for the results ist:
    [[!SimpleSearch? &tpl=`suchergebnisse` &containerTpl=`suchwrapper`]]


    &tpl:
    <div id="con_box">
                        	<a class="pop" href="[[+tv.flash-link]]">
                                <img src="[[+tv.cover]]" width="70" height="100" /><br /><br />
                                <strong>[[+tv.firma]]</strong><br />[[+tv.beschreibung]]
                            </a>[[+firma]] [[+pagetitle]] [[+id]]
                        </div>
    

    I use to test the Tv with tv. Prefix and without. (see in the Tpl-Chunk

    &containerTpl:
    <div class="sisea-results-list">  
        [[+results]]  
    </div> 

    simpleSearch version 1.0.0 (I think that is the latest)
      • 28215
      • 4,149 Posts
      SimpleSearch searches TVs, but doesnt offer them as placeholders yet. You can file that as a Feature Request here: http://github.com/splittingred/SimpleSearch/issues
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 34178
        • 212 Posts
        Does anybody know when this really important feature will be realized by the MODX-Team?
          • 37693
          • 47 Posts
          Hello,

          This was solved a while ago by splittingred: https://github.com/splittingred/SimpleSearch/issues/34

          e.g.
          [[!SimpleSearch? &includeTVs=`1`  ]]


          NOTE:

          You don't include the 'tv.' prefix like you do when using getResources e.g

          Do
          [[+mytemplatevariable+]]
          rather than
          [[+tv.mytemplatevariable]]


          Hope this helps,
          Shaun [ed. note: shaunmorrison last edited this post 14 years, 8 months ago.]
            • 14372
            • 49 Posts
            I think you meant;

            [[+mytemplatevariable]]


            That's if you are referring to a MODx Revolution placeholder.

            Refer to MODx Tag Syntax http://rtfm.modx.com/display/revolution20/Tag+Syntax ... there's is no tag syntax for Evolution or Revolution that looks remotely close to;

            [[+mytemplatevariable+]]


              • 35756
              • 166 Posts
              Hi there!

              I'm using SimpleSearch 1.5.2. in MODx Revo 2.2.0 and have added

              &includeTVs=`1`


              to the snippet call.

              I'm using getResources for displaying content on a page like this:

              [[!getResources? &parents=`3` &tpl=`Portfolio` &sortby=`menuindex` &sortdir=`ASC` &includeContent=`1` &showHidden=`true`]]


              The Resources are diabled to be shown in menues, but with the "showHidden=`true` they are displayed on the page.

              But if I enter a word of one of those resources in the Search-Form the result page still says There were no search results for the search

              Any hints for solving this problem?