Modifying tmpl files

13 years 4 months ago #133609 by Andy.Palmer
Modifying tmpl files was created by Andy.Palmer
I have a small task to make the group images into hyperlinks on the Category view.

I modified the showcat.tml file as follows:

<div class="grouplist-groupimage">
<mos:tmpl name="cond_show_url" type="condition" conditionvar="GJ_SHOWURL_SHOWGROUP" varscope="list_entry">
<mos:«»sub condition="yes">
<a href="{GJ_URL_SHOWGROUP}"><img src="{GJ_CATIMAGE}" alt="{GJ_LINKNAME_SHOWGROUP}"></img></a>
<mos:«»sub condition="no">


However I am not seeing the image, for whatever reason the template is stripping out the img tags and just leaving the group name text behind as the hyperlink.

I cannot find any documentation anywhere which details any of the available functionality or what it does, so can anyone on the forum suggest what I should do, or better yet point me in the direction of some API docs?

Post edited by: Andy.Palmer, at: 2010/05/20 17:44

Please Log in to join the conversation.

13 years 4 months ago #133701 by krileon
Replied by krileon on topic Re:Modifying tmpl files
There's no documentation available for template usage in GJ 1.8. Please examine the group name with Firebug for Firefox or Google Chrome and see if the image tag is there, but the path to the image could be wrong.

Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.265 seconds

Facebook Twitter LinkedIn