Support Ticket

+status
+tags
 
+issues

One of my "advanced" users tried the example below.  Not sure what features should be supported, but first when the +skype card isn't there, I get three "ADD" links and none of them work because of how they are embedded in the links.

 

Is there a way to condition templates on the existence of something (i.e. format different stuff if a test fails.

 

Also, the <img src=""> doesn't work at all.  It doesn't transclude into an attribute (maybe?).

 

Not sure what the right resolution for this is, so I'll leave it to you.

Skype: <img alt="skypestatus" class="absmiddle" src="http://mystatus.skype.com/smallicon/johnabbe"></img><a class="reference external" href="skype:addname?name=johnabbe">johnabbe</a>

 

There's no way to condition templates on the existence of something. Sometime you can get that effect with WQL, e.g. in this case embedding a Search card with {"left": "_left", "right": "skype", "view": "naked"} might work.

 

The ADD link worked for me.

 

I know that basic images work, not sure why this one isn't. Generally, when you're doing stuff with HTML you'll probably have better luck uing an HTML card. I'll try it here:

Skype: skypestatus


Also, for the inclusion to be fully naked it needs to be a Phrase or PlainText rather than Basic (which is why i added "type:Phrase").

 

Hunh, the ADD isn't working for me in the HTML card. (If you do a search you'll need to add elsewhere anyway.

 

 

Right now we have a bug that's adding a space to inclusions, will probably be fixed in the next week or so.

  --John Abbe.....Tue Jul 28 11:37:07 -0700 2009


closing

  --Ethan McCutchen.....Mon Dec 07 13:35:36 -0800 2009