• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: SEARCH PARAMETER RESULTTEMPLATE
PostPosted: Tue May 23, 2017 9:34 am 
Offline
New Member
New Member

Joined: Tue May 23, 2017 9:29 am
Posts: 1
{strip}
<h3>{$searchresultsfor} &quot;{$phrase}&quot;</h3>
{if $itemcount > 0}
{capture assign=newsids}
{cms_module module=CGBlog category="25" summarytemplate='searchnewsfaqsummary'}
{/capture}

{foreach from=$results item=entry}
{assign var=modrecord value='~'|cat:$entry->modulerecord|cat:'~'}
{if $entry->module == 'CGBlog' and $newsids|strpos:$modrecord !== false}
<p><a href="{$entry->url}">{$entry->urltxt}</a> ({$entry->weight}%)</p>
{/if}
{/foreach}
{else}
<p><strong>{$noresultsfound} Try again</strong></p>
{cms_module module=Search modules='CGBLog' search_method="post"}
{/if}
{/strip}


How to use the parameter resulttemplate in search?
When i go to define a search result template, and i go to get it in the resulttemplate parameter i will not work as i can fix it?


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting