Add description2 field to AdvancedSearchSeoClass and update related templates
This commit is contained in:
@@ -172,6 +172,7 @@
|
||||
{as4_inputTextLang obj=$params.obj key='title' label={l s='Title (H1)' mod='pm_advancedsearch4'} size='350px'}
|
||||
{as4_inputTextLang obj=$params.obj key='seo_url' label={l s='Friendly URL' mod='pm_advancedsearch4'} size='350px' onkeyup='ASStr2url(this);' onchange='ASStr2url(this);'}
|
||||
{as4_richTextareaLang obj=$params.obj key='description' label={l s='Description (visible on the top of the page)' mod='pm_advancedsearch4'}}
|
||||
{as4_richTextareaLang obj=$params.obj key='description2' label={l s='Description 2 (visible below the product listing)' mod='pm_advancedsearch4'}}
|
||||
{as4_ajaxSelectMultiple selectedoptions=$cross_links_selected key='cross_links' label={l s='Results pages to link to this page (cross-linking)' mod='pm_advancedsearch4'} remoteurl="{$base_config_url|as4_nofilter}&pm_load_function=displaySeoSearchOptions&id_seo_origin={$params.obj->id}"}
|
||||
|
||||
<input type="hidden" name="criteria" id="seoSearchCriteriaInput" />
|
||||
|
||||
@@ -26,6 +26,11 @@
|
||||
<div id="PM_ASearchResults" data-id-search="{$id_search|intval}">
|
||||
<div id="PM_ASearchResultsInner" class="PM_ASearchResultsInner_{$id_search|intval}">
|
||||
{$smarty.block.parent}
|
||||
{if $as_seo_description2}
|
||||
<div class="block-category card card-block">
|
||||
<div id="category-description2" class="text-muted">{$as_seo_description2 nofilter}</div>
|
||||
</div>
|
||||
{/if}
|
||||
{if isset($as_cross_links) && $as_cross_links && sizeof($as_cross_links)}
|
||||
<div id="PM_ASearchSeoCrossLinks" class="card-block">
|
||||
<h4 class="h4">{$as_see_also_txt}</h4>
|
||||
|
||||
@@ -33,6 +33,10 @@
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $as_seo_description2}
|
||||
<div class="cat_desc cat_desc_bottom">{$as_seo_description2|as4_nofilter}</div>
|
||||
{/if}
|
||||
|
||||
{include file=$as_obj->_getTplPath("pm_advancedsearch_cross_links.tpl")}
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user