Michael Herger;223996 Wrote: 
> 
> 
> > The problem I'm having in 6.5 is in the Custom Browse plugin where I
> > want a "Sort by" droplist and I want the "Gallery" button. But I
> want
> > to the contents of the drop list and the url that is executed when a
> > drop list item is selected to be totally different.
> 
> It then would probably best not to use the existing code at all. The
> new  
> skin doesn't neither... In some places I've broken with 100% backwards 
> 
> compatibility (still to be approved by the authorities :-)). The new
> skin  
> uses much more JS than before. That List is now created dynamically
> using  
> JS.
> 


The advantage with using the pageheader.html is that I don't have to
write code in my plugin for every skin. If I implemented my own
pageheader.html I would pretty much have to make one for each skin
available on SlimServer. 

But I can also understand what you are doing, because the same
pageheader.html also means that all skins are limited to what it
supports. I guess I'll just have to make my own header for each skin I
like to support if I want it to look perfect.

Michael Herger;223996 Wrote: 
> 
> 
> > Something similar to how the pageHeaderInfo section is handled in
> > pageheader.html would be great.
> 
> As you can include HTML code in the pageheaderinfo section, you could 
> 
> setup up your own DIV or SPAN, adding it the styles needed to be placed
> 
> where you want it, and pass this all together as the page header.
> Doesn't  
> look nice in the browser's title bar, but as most skins are using
> frames  
> anyway, it's well hidden.
> 


I think I tried to use pageHeaderInfo, but I didn't get it to work
correctly because that DIV is below the statusMessage DIV which
contains the breadcrumb nagivation links. The problem is probably that
I don't really know CSS that well, so it is probably possible to get it
to look right with the right CSS styles. It looks pretty good now when
I'm using the pwd_list, but the alignment is a little bit incorrect.

Anyway, I thought I would just mention this if it was something easy to
fix when you were working with the skins. But as it sounds it would be
better to look into this in more details when I decide to convert my
plugins to 7.0.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.homeip.net) 'My download page'
(http://erland.homeip.net/download)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library and RandomPlayList plugins'
(http://wiki.erland.homeip.net/index.php/Category:SlimServer))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=37848

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

Reply via email to