The only way I could find to do this is to pass in a blank cmdimage
(using spacer.gif generates a 20 pixel space) and cmdtitle (otherwise
the text is displayed) to cmdlink, but this is what generates the
warnings!

Ok, I think I do now understand. Looking at Handheld's cmdlink (part of it):

<img src="[% webroot %]html/images/[% cmdimage %].gif" align="middle" alt="[% cmdtitle | string %]" title="[% cmdtitle | string %]">

It takes cmdtitle and tries to turn that tag into a string - which won't work as cmdtitle is empty. So my best bet is to create a string which won't display in HTML and use this as cmdtitle

PLUGIN_LASTFM_NOTHING
        EN      <span></span>

Haven't tested this, though. :-)

--

Michael

-----------------------------------------------------------------
http://www.herger.net/SlimCD - your SlimServer on a CD
http://www.herger.net/slim - AlbumReview, Biography, MusicInfoSCR

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to