erland;219623 Wrote: > > The context menu/header/footers menus have an "Object type" parameter, > the value of this parameter indicates where the context item is shown. > In the list in the "Edit context menus/headers/footers" menu the object > type will also be shown as the first item before the name of a specific > item. So for example the "albumheader/Genre" item has the object type > "albumheader". >
OK, I'm getting lost in the huge number of menus/files. Let's take an example: The Genre/subgenre custom menu. I think the code for this menu is in "subgenres.template", right? The behavior of the G/subG menu is that after selecting a subgenre you get a list of matching artists, proceeded by a header block that includes a list of albums and artists among other info. The crumbtrail at the top shows "Genres/Subgenres / Artists/Genres". So which "object type" puts a header here? Is this an artistheader, an albumheader, or a genreheader? I tried editing from Custom Browse the artistheadergenre context menu (by excluding all libraries to see if it would go away), but it didn't change the behaviour of the G/subG menu. Can I tell by inspecting the subgenres.template file which header context menu will be used with the menu? Suppose I wanted to change the header on all pages that display artist info (artist pages?), is there a single artistheader file that does this, or are there different artistheader files depending on how the artist page is reached, for example by browsing thru genres vs. browsing by year or by artist directly? > > In the XML configuration the object type parameter will be put in the > menugroup element, for example "<menugroup>albumheader</menugroup>" > Is this the XML configuration of the Custom Browse menu or of the context header? In the case of the Genre/SubGenre menu, suppose I wanted to get rid of the list of artists in the header. I'm assuming that that information is added by just a line or two, but what file would I need to edit? The Genre/SubGenre file (subgenres.template?) or the header file? (supposing that artistheader is the right one to be looking at, this would be what file? "genreartist.template" in the custombrowse\contexttemplates directory?) Feel free to tell me that I need to go learn XML on my own and to stop bugging you. BTW, why did you design the custom browse artist headers to include a list of albums and artists? It seems redundant (since the list of matching artists follows) and takes up space. Thanks, -Steve -- wnshall ------------------------------------------------------------------------ wnshall's Profile: http://forums.slimdevices.com/member.php?userid=5886 View this thread: http://forums.slimdevices.com/showthread.php?t=37442 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
