Jump to content

[Solved] custom link to category inside template


Guest

Recommended Posts

Does anyone know how to create a static link to a category page? I tried getPageLink and getCategoryLink but they don't seem to be what I need.

 

 

So I have category called "category one"

 

<a href="[LINK TO CAT HERE]"><img src="{$img_dir}image.jpg" alt=""></a>

 

thanks

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

hello $Link->getCategoryLink() function returns an url to category page

isn't this what you're looking for? i think that it is!

 

Yeah it works now by just feeding it an ID, I better quit for today I'm just too tired I'm messing up.

Thanks Vekia!

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