Jump to content

Re-use CMS block based on sub categories


MedZjik

Recommended Posts

Hi,

 

I've configured my footer to show my CMS links in vertical order.

Because I have a lot of CMS links configured I want to split the list. My footer is configured as a table with 5 columns.

Is it possible to show the CMS links in separate columns based on the CMS subcatgories?

 

What i would like is that following code would do an extra sellection to show only the links from a particular sub category (based on sub categroty id eg.)

 

{foreach from=$cmslinks item=cmslink}

{if $cmslink.meta_title != ''}

<li class="item">

●  <a href="{$cmslink.link|addslashes}" title="{$cmslink.meta_title|escape:'htmlall':'UTF-8'}">{$cmslink.meta_title|escape:'htmlall':'UTF-8'}</a></li>

{/if}

{/foreach}

 

Is there a solution for this?

 

Thnx in advance and with regards

Link to comment
Share on other sites

  • 7 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...