We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39267
    • 50 Posts
    Hi everyone,
    I'm trying to set the output delimiter from one of my tv.
    By default it's || and I just want a space.
    The delimiter function of the tv do not work.

    Here is the getRessources:
    [[!getResources? &parents=`[[*id]]` &tpl=`thumbs_template` &depth=`2` &limit=`20` &showHidden=`1` &includeTVs=`1`]]


    And the tpl:
    <div class="thumbs [[+tv.Cat_egories]]">
    	<div class="thumbs_top"></div>
    	<a href="[[~[[+id]]]]">
    		<div class="thumbs_fond">
    			<div class="thumbs_contenu">
    				<div class="thumbs_contenu_in" style="top:-137px;">
    					<div class="thumbs_contenu_in_h">
    						<div class="thumbs_contenu_in_titre" style="top:-40px;">[[+pagetitle]]</div>
    						<div class="thumbs_contenu_in_hr_blanc"></div>
    						<div class="thumbs_contenu_in_hr_fonce"></div>
    						<div class="thumbs_contenu_in_desc">[[+description]]</div>
    					</div>
    					<div class="thumbs_contenu_in_b"><img src="[[+tv.Upload_thumbs]]"/></div>
    				</div>
    			</div>
    		</div>
    		</a>
    	<div class="thumbs_bot"></div>
    	<div class="thumbs_titre">[[+pagetitle]]</div>
    </div>
    [ed. note: mojomateo last edited this post 12 years ago.]
      • 1778
      • 659 Posts
      Hello
      Didi you try to set the outputSeparator property in getResources?
      Cheers
        • 39267
        • 50 Posts
        it's for the separation between each tpl I need to separate the output of my multiple listbox.
          • 4172
          • 5,888 Posts
          if this is your multiple-listbox-tv:
          [[+tv.Cat_egories]]


          and you have set an output-delimiter try the &processTV and &processTVList -propertys

          http://rtfm.modx.com/display/ADDON/getResources#getResources-OtherProperties
            -------------------------------

            you can buy me a beer, if you like MIGX

            http://webcmsolutions.de/migx.html

            Thanks!
            • 39267
            • 50 Posts
            Great it works thanks smiley &processTV + delimiter from tv