ok, that didn't take long.  the Default skin uses pageHeaderInfo as an
override for the grey header box, which is only filled with the page
title if there is N pageHEader block.  

This can be fixed for your plugin(s) by wrapping the pageHEeaderInfo
block in a conditional, rather than using the conditional inside the
block, or have an ELSE in side the block to fallback to the page title.


Given that other skins use the pageHeader info for things like status
messages, your best option is likely something like this:


Code:
--------------------
    
  [% IF pluginSQLPlayListNowPlaying != '' %]
  [%- pageHeaderInfo = BLOCK %]
                <strong>[% "NOW_PLAYING" | string %]:</strong>
                <span class="exboldnowplaying">[% pluginSQLPlayListNowPlaying 
%]</span>
  [% END %]
  [% END -%]
  
--------------------



This way, rather than an empty pageHeaderInfo block, it simply doesn't
exist if there is nothing to say. Downside is that once you have
something in there, the Default skin will drop the page title from the
grey header element :(
-kdf


-- 
kdf
------------------------------------------------------------------------
kdf's Profile: http://forums.slimdevices.com/member.php?userid=7
View this thread: http://forums.slimdevices.com/showthread.php?t=39026

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

Reply via email to