Jump to content

to connect the contact form with a item of menu in the left column


Recommended Posts

edit the blockcms.tpl, change this

 

 

<ul class="block_content">

{foreach from=$cms_title.categories item=cms_page}

{if isset($cms_page.link)}<li class="bullet"><b style="margin-left:2em;">

<a href="{$cms_page.link}" title="{$cms_page.name|escape:html:'UTF-8'}">{$cms_page.name|escape:html:'UTF-8'}</a>

</b></li>{/if}

{/foreach}

{foreach from=$cms_title.cms item=cms_page}

{if isset($cms_page.link)}<li><a href="{$cms_page.link}" title="{$cms_page.meta_title|escape:html:'UTF-8'}">{$cms_page.meta_title|escape:html:'UTF-8'}</a></li>{/if}

{/foreach}

{if $cms_title.display_store}<li><a href="{$link->getPageLink('stores')}" title="{l s='Our stores' mod='blockcms'}">{l s='Our stores' mod='blockcms'}</a></li>{/if}

 

 

<a href="{$link->getPageLink('contact-form')}" >{l s='Contact us' mod='blockcms'}</a>

 

</ul>

 

 

for this

 

 

<ul class="block_content">

{foreach from=$cms_title.categories item=cms_page}

{if isset($cms_page.link)}<li class="bullet"><b style="margin-left:2em;">

<a href="{$cms_page.link}" title="{$cms_page.name|escape:html:'UTF-8'}">{$cms_page.name|escape:html:'UTF-8'}</a>

</b></li>{/if}

{/foreach}

{foreach from=$cms_title.cms item=cms_page}

{if isset($cms_page.link)}<li><a href="{$cms_page.link}" title="{$cms_page.meta_title|escape:html:'UTF-8'}">{$cms_page.meta_title|escape:html:'UTF-8'}</a></li>{/if}

{/foreach}

{if $cms_title.display_store}<li><a href="{$link->getPageLink('stores')}" title="{l s='Our stores' mod='blockcms'}">{l s='Our stores' mod='blockcms'}</a></li>{/if}

</ul>

Link to comment
Share on other sites

×
×
  • Create New...