Jump to content

how to add new cms category to category field in footer


Recommended Posts

hi,

i have created one cms category and i placed that in menu bar, i need to add that cms category to category block in footer. in below attached picture there is only one link is there that is LED Products in category block, i need to add cms category below LED Products in footer.

please give me any suggestions..

post-893567-0-36569800-1420184327_thumb.png

Link to comment
Share on other sites

Well you can't do it without modifying the tpl file. Open up blockcategories_footer.tpl (theme folder, modules, blockcategories)

 

Right before the section closes, add

 

{$link->getCMSCategoryLink(3)}

 

where 3 is the id of your cms category

Link to comment
Share on other sites

Well you can't do it without modifying the tpl file. Open up blockcategories_footer.tpl (theme folder, modules, blockcategories)

 

Right before the section closes, add

 

{$link->getCMSCategoryLink(3)}

 

where 3 is the id of your cms category

thanks for replaying, i tried this code but it is showing only link not category name...

can i add this link with <a> tag..? 

like

<a href={$link->getCMSCategoryLink(3)} alt="">products</a>

Edited by siddaramesh (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...