1
Hi,
I am trying to customize the weblinks module (by happy linux) and got stuck here:
There is a template that controls how a link looks (weblinks_link.html), I want to modify this template so that if its on the singleclick page of the module it displays all the content, but if it is on the category view it displays only the name of the link. The problem is that on the templates on both the category and singleclick template the link is called as:
<{include file="db:weblinks_link.html" link=$links[i]}>
so this always calls all the info. I can modify the weblinks_link template but then I get only the name of the link when viewing categories (as expected) but also on the singleclick page (where I want the full info). Is there any way of making an if on the weblinks_link.html template so that it knows if this is a category view or a singleclick page? if the later display all the info?
This may be something simple that I'm overlooking, I am not a programmer. Thanks for reading and any hint on how to do this