by Colby on Sat Jun 12, 2004 2:24 am
Hey guys maybe I can offer some help.
Some tips I know are: For every filter you want to sort by; you need the 'tag in the database. For an mp3 there are already by default display,artist, albumname, genre, year, tracknumber, trackname, trackfilename,artist embedded in the id3 tag and in the XML db. You can filter by any of these. In a movie there can be an array of 'tags as well ie. director, genre, runtime, title, year, rating, .... which you can sort by. In a given database the elements check marked will be those you can filter and/or display. In a new database, whatever elements (tags) created in the XML database will be able to filter. If there are "homemade" elements (tags) these will need to be in the xml or added in the edit database.
How to create new elements (tags):
F2>edit database
choose the database you want to add filters
click edit
select an Item, the in the line on the bottom you can add what ever tag you wish by typing the name of the new tag and clicking add.
Now be sure to check the checkbox of your newly created tag.
You can continue to do this for the whole database. (which can be a task.)
You can type the discription for the tag too. (for instance if I create a tag called lyrics for my music db, then I can copy the lyrics text into the big textbox where it says set information here) Now with the Lyrics tag checked I can filter and/or display the information of the lyrics tag on some screen.
Adding events to sort:
f2>event manager
create a new event for your skin
name it whatever (ie. set filter game genre)
then you add the set filter command
type what category (database) it is associate with
Then type what filter, (tag) you need this event to do (ie. genre)
With the database and events properly set up you can add the events to buttons in the skin editor. copy and paste a filter details category textbox from a screen to use for your filter results. Add the set filter event on other buttons.
Final Tips:
If you want a page to have a default filter upon load of the page, create the set filtercommand as part of the goto page event.
With the new thumbnails view enable for filter details, showing all genre, per page would be easy.
This is only food for thought, I dont know if it is clear or helpful. Sorry.