Webmastersite.net
Register Log In

Custom suggestlink template

Comments on Custom suggestlink template

starchdoggy
Beginner

Usergroup: Customer
Joined: May 22, 2004

Total Topics: 4
Total Comments: 4
Posted Mar 11, 2006 - 1:30 AM:

Is it possible to have a custom suggestlink template for different categories? I would like to have a different template for some of the categories. I can do what I need to do using wsncodes and if statements, but this will make for a very big and complex suggestlink template. It would be easier to have separate templates for each category. If this has been addressed I am sorry, but I have searched the forum and help and cannot find anyway to do this.
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Mar 14, 2006 - 12:57 AM:

Yes it is possible. See scripts.webmastersite.net/w...Templates/Custom_Templates
starchdoggy
Beginner

Usergroup: Customer
Joined: May 22, 2004

Total Topics: 4
Total Comments: 4
Posted Mar 14, 2006 - 3:02 AM:

Thanks,

I am guessing that you are refering to calling the the custom template by affixing it in the URL.
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Mar 14, 2006 - 4:06 AM:

you'd make your custom suggestlink template then on the displaylinks template call

<A href="suggest.php?action=addlink&catid={CATID}custom=yes&TID=yourtemplatename">

Depending upon your set up and what you require, it may be easier to have custom display links templates as well, rather than a conditional.<BR></A>
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.