Jump to content

Help modfiying the theme "Matrice"


Recommended Posts

I have found that thhis code:

    {if isset($subcategories)}
   <!-- Subcategories -->


       {foreach from=$subcategories item=subcategory}

getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$subcategory.name|escape:'htmlall':'UTF-8'}">
                   {if $subcategory.id_image}
getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium')}" alt="" />
                   {else}

                   {/if}


getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}">{$subcategory.name|escape:'htmlall':'UTF-8'}
{$subcategory.description|escape:'htmlall':'UTF-8'|truncate:100:'...'}getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" class="subcategory_link">{l s='View'}


       {/foreach}


   {/if}



is the code i want to display the subcategories i am looking for. though when i put this on a .tpl fil included in my index page, it just goes blank. I am probably not understanding something to do with hooks and included files.

please help a brotha out =)+)

Link to comment
Share on other sites

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...