Video Genre Field
Using Jamroom
pch:
Thanks a lot Douglas. It is exactly what I was looking for. I am going to apply the mod and let you know.
Still have few questions:
- Is there a way to shorten theses genre/Category URLs/Links and make them SEF?
Not without making some major modifications to how the music/video templates work. They are already complicated templates as it is and is one of the main reasons for the drop down genre selection, that and so the URL didn't show the search_area=audio_genre etc...
pch:
- Considering the code you gave me, how to have a straight and manually made url to genres and Categories instead of having them dynamically pulled from the database? I would like to create a custom menu or dropdown menu leading to each Genre and Category.
If you are using ProJam, make sure you have the latest templates, there is a drop down in the genre tab on the right side of the music/video pages that has a dynamic drop down for genres/categories on your site.
pch:
- I am not running a music/artist-based site. My audio/videos files are mainly conference recordings, debates, podcasts, seminars, preachings etc. So I have replaced the genre field word: "genre" with the word "audio". I wouldn't like to have the word "music" appeared anywhere in the site since I don't deal with music.
How to get rid of the word "music" in the modification you have just given to me?
- What about if I update my template via Marketplace, will I loose all my changes?
You can go to the ACP > Skins > Language tab and change the text there, this way when you upgrade, your changes will not be effected since they get saved to the database. That goes for the module language tabs as well.
This is also good for templates, just modify them through the ACP > Skin or Module > Templates tab and you won't lose your changes when you upgrade through the Marketplace.
pch:
Last but not least, any idea/clue on how to create something custom to get a video category page?
You can use a jrCore_list function to show a genre/category page, just add a group_by="audio_genre" to the function to list one of each genre on your site. The same would go for the video_category.
Hope this helps,
Douglas