Video Genre Field

douglas
@douglas
12 years ago
2,804 posts
I thought there was a video genre field when creating videos, or did I dream that there was?


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos

updated by @douglas: 12/26/13 10:13:47AM
brian
@brian
12 years ago
10,149 posts
There was like 6 months ago, but it was removed. The site admin can always add it in if they want via the Form Designer.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
douglas
@douglas
12 years ago
2,804 posts
Is there any way we can add that back in?

Every media module has a genre or category field except the Video module.

I can imagine we'll get a lot of users complaining about it and wondering why all the other modules have a category or genre field but not the Video module.

Thanks!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
brian
@brian
12 years ago
10,149 posts
Genre really only makes sense in relation to music videos, which may or not be the case with most sites. If a site owner needs it, it's simple to add. Won't that work?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
douglas
@douglas
12 years ago
2,804 posts
I agree with what your saying, but you know as well as I do that our JR4 users will not agree. ;)

The YouTube and Vimeo modules both have a category or genre field so I would think Video module should too.

Before that field was removed, I had the skins showing a Genre for videos, which should probably be changed to category, but now they are all blank.

Is it very hard to add back in? Maybe I can do it?

Thanks!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
brian
@brian
12 years ago
10,149 posts
I understand where you are coming from, but JR5 is targeted to more than just JR4 owners. If Vimeo and YouTube provide actual genre search fields, then it makes sense for those fields to be in those modules.

The real problem with adding it in to the module is that it cannot be removed - I don't want to do that. Having a small guide that says:

- click on form designer
- add your genre field

is super simple and is how we should handle it. Adding additional fields into the core modules makes them less flexible.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
douglas
@douglas
12 years ago
2,804 posts
Okay, I'll get the instructions on adding a genre field into the skins that need it.

Thanks!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
douglas
@douglas
12 years ago
2,804 posts
I've just did a push that has instructions and modified templates in case anyone wants to use categories for videos.

I've also setup a genre and category search for music, videos, music charts and video charts in the ProJam templates.

Let me know if anyone see any issues with this.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
pch
@pch
12 years ago
328 posts
douglas:
I've just did a push that has instructions and modified templates in case anyone wants to use categories for videos.

I've also setup a genre and category search for music, videos, music charts and video charts in the ProJam templates.

Let me know if anyone see any issues with this.

@Douglas

I have been missing the categories/Genres for audio and videos too. I am a great fan of them. They help structure the site well and keep things organized. Even major media Sites like Youtube use Categories. I have spent hours and hours searching for them on my site. Sad they have been removed from JR5.

I am also interested in using them. What are your modifications about? How and where to apply them? Thanks in advance. I am using the ProJam Lite Template.

brian:
Genre really only makes sense in relation to music videos, which may or not be the case with most sites.

On the other hand, I think what Brian has said also makes sens. Genres do not really makes sens on most sites, but "Categories" do!

Well, I am still studying both approaches (Brian's idea and yours).

brian:
The site admin can always add it in if they want via the Form Designer.

@Brian,

Can audio/video genres/categories created via the form Designer be translated?

Thanks.
douglas
@douglas
12 years ago
2,804 posts
pch:
@Douglas

I have been missing the categories/Genres for audio and videos too. I am a great fan of them. They help structure the site well and keep things organized. Even major media Sites like Youtube use Categories. I have spent hours and hours searching for them on my site. Sad they have been removed from JR5.

I am also interested in using them. What are your modifications about? How and where to apply them? Thanks in advance. I am using the ProJam Lite Template.


I just created a section on it in the ProJamLight Docs here...

https://www.jamroom.net/the-jamroom-network/documentation/skins/301/jrprojamlight#video-category

Hope this helps,
Douglas


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
pch
@pch
12 years ago
328 posts
Thanks Douglas. I will go and check the tutorial.

By the way, can audio/video genres/categories be translated?

I think it doesn't make any sens at all to have genres/categories remained in English while using the site in any other language.

How to properly use genres/categories in a multilingual system?

Thanks
douglas
@douglas
12 years ago
2,804 posts
Since genres and categories are added by the user, they can enter the genre/category in whatever language they want. I'm not aware of anything that will translate them after they've been entered.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
pch
@pch
12 years ago
328 posts
I definitely think that the genre/category translation possibility should be added as a core feature for the reasons mentioned in my previous post.

Instead of letting the users manually add them, they should be preset by the admin like in Youtube (maybe in a form of a select list). JR4 used to be like that. It will make the genre/category translation easier. It will also avoid typo errors by users when creating/entering them.

Thanks
pch
@pch
12 years ago
328 posts
Any answer?
brian
@brian
12 years ago
10,149 posts
There's no reason to add this to the "core", since that decreases the flexibility of the system.

It is very easy in JR5 to add fields to a form, so that's the direction we've decided to go in.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
pch
@pch
12 years ago
328 posts
Ok. Thanks Brian. Any idea on how to translate Audio/video genres/Categories?
brian
@brian
12 years ago
10,149 posts
Since they are free form, you would want to check for them in your template and output the right one - i.e.

{if $item.audio_genre == 'rock'}
  .. whatever you need here ..

That's going to be a lot of work, so you might consider just not worrying about and let your users manage that, or change the audio genre field to a small select list with only specific, broad choices that you have predefined.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
pch
@pch
12 years ago
328 posts
Well, not all of us are running JR as an artist/musician-based CMS where user input infos or upload files. Some of us are running JR in a very different configuration and with different purposes. We have set everything from the ACP and we are the ones uploading audio/video files fom the backend. I think the best approach to this genres/categories translation problem is to duplicate them. E.g: 4 languages will mean 4 same genre/categories in 4 different languages. It just doesn't make any sens to have them remains in the language in which they have been crated while the site language changes. Anyway thanks.
pch
@pch
12 years ago
328 posts
Brain, below are few things I wanted to address regarding to the Audio/video Genres/Categories:

1) Genres/Categories in audio/video page, search results, charts etc... should be clickable (links) like in Youtube (please see the category in video description. It is actually a link).

How to make them links everywhere in JR (frontend)?

2) The links should go the categories page like in Youtube.

Example:

http://www.youtube.com/sports

Also they should have a "Subscribe" aka "Follow" (in JR) button to allow users to suscribe/follow that specific Caterogy.

Any chance to see this feature in JR?

3) As the Genres/Category should be clickable (links/pages), we should be able to set a list of Categories in a "Browse Categories" manner or set a menu (e.g. a drop down menu) with a list of all Categories/Genres. It's more handy.

How to achieve that in JR?

Thanks
brian
@brian
12 years ago
10,149 posts
This is all skin based stuff - I'll let Douglas comment, but since video genres are not being added to the core, this is something you would likely want to add in yourself.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
12 years ago
10,149 posts
pch:
Also they should have a "Subscribe" aka "Follow" (in JR) button to allow users to suscribe/follow that specific Caterogy.

This would require a custom module - that's not supported by the followers module.

Sorry!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

updated by @brian: 11/18/13 01:52:33PM
pch
@pch
12 years ago
328 posts
brian:
This is all skin based stuff - I'll let Douglas comment, but since video genres are not being added to the core, this is something you would likely want to add in yourself.

Thanks!

Thanks Brian. Looking forward to reading from Douglas.

brian:
This would require a custom module - that's not supported by the followers module.

Would you like considering it as feature request?

Thanks
douglas
@douglas
12 years ago
2,804 posts
To make the genre names links, you'll want to modify your row templates.

In the skins/jrProJamLight/music_row.tpl file, find this:

{$item.audio_genre}

and change it to this:

<a href="{$jamroom_url}/music/search_area=audio_genre/search_string={$item.audio_genre}">{$item.audio_genre}</a>

You'll want to do the same for the music chart row template.

And for video categories, in the skins/jrProJamLight/videos_row.tpl file, find this:

{$item.video_category}

and change it to this:

<a href="{$jamroom_url}/videos/search_area=video_category/search_string={$item.video_category}">{$item.video_category}</a>

and do the same in the video chart row template.

If you want a video category page like YouTube, you would have to create something custom. There are no plans at this time, that I'm aware of, to add this feature into any of the JR5 skins.

Hope this helps,
Douglas


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
pch
@pch
12 years ago
328 posts
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?

- 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.

- 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?

<a href="{$jamroom_url}/music/search_area=audio_genre/search_string={$item.audio_genre}">{$item.audio_genre}</a>

- What about if I update my template via Marketplace, will I loose all my changes?

douglas:
If you want a video category page like YouTube, you would have to create something custom. There are no plans at this time, that I'm aware of, to add this feature into any of the JR5 skins.

Last but not least, any idea/clue on how to create something custom to get a video category page?

Many Thanks
updated by @pch: 11/20/13 04:03:43AM
pch
@pch
12 years ago
328 posts
@Douglas, any reply?

Thanks
brian
@brian
12 years ago
10,149 posts
pch:
@Douglas, any reply?

Thanks

If you need a fast reply from any of us, you will want to subscribe to the VIP Premium Support option - we can assist you via email there.

Otherwise here in the support forum when it comes to customization requests like you have posted here, it's going to be on a "best effort" basis - that means it could take us some time to respond, so please be patient.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

updated by @brian: 11/21/13 08:39:25AM
douglas
@douglas
12 years ago
2,804 posts
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


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
pch
@pch
12 years ago
328 posts
brian:
pch:
@Douglas, any reply?

Thanks

If you need a fast reply from any of us, you will want to subscribe to the VIP Premium Support option - we can assist you via email there.

Otherwise here in the support forum when it comes to customization requests like you have posted here, it's going to be on a "best effort" basis - that means it could take us some time to respond, so please be patient.

Thanks!

Thanks Brian. I understand. ;)
pch
@pch
12 years ago
328 posts
@Douglas

Thanks a lot for the great support.

douglas:
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...

Ok got you. Also, I was wondering why JR Team switched from the drop down genre selection to the genre input field (genres being manually entered by users). Now I get your point.

douglas:
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.

Sorry Douglas, I don't see either a genre tab nor a drop down. I am using ProJam 1.0.8. Are you sure they are there?

douglas:
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.

Changing the text "music" to "audio" from ACP > Skins > Language tab, will it also change the text "music" from the modification you gave me?

Instead of having:
<a href="{$jamroom_url}/music/search_area=audio_genre/search_string={$item.audio_genre}">{$item.audio_genre}</a>

will we have:

<a href="{$jamroom_url}/audio/search_area=audio_genre/search_string={$item.audio_genre}">{$item.audio_genre}</a>

note: "music" was replaced with "audio"

douglas:
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.

Well, I must confess to you that won't be easy for me. :)
Hope, one day you guyz will add genre/category page to skins like in Youtube.

Thanks
michael
@michael
12 years ago
7,800 posts
Here's a youtube video on adding that video genre field for the admin user.

"Using the Form Designer"
Using the Form Designer tool
SteveX
SteveX
@ultrajam
12 years ago
2,584 posts
There is a module which will cope with category/genre listing. It's being tested on a client site at the moment and will probably be in the Marketplace next week once description and documentation are written.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
douglas
@douglas
12 years ago
2,804 posts
pch:
@Douglas

Thanks a lot for the great support.

douglas:
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.

Sorry Douglas, I don't see either a genre tab nor a drop down. I am using ProJam 1.0.8. Are you sure they are there?

Sorry, in the ProJam skins, the genre tab I'm referring to is on the left side, not right. There should be a tab next to the Stats and Online tabs at the top left of the music and video pages. If you are not seeing it, then you are probably not using all of the latest templates.

Did you modify the music.tpl via the skins template editor?


pch:
douglas:
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.

Changing the text "music" to "audio" from ACP > Skins > Language tab, will it also change the text "music" from the modification you gave me?

Instead of having:
<a href="{$jamroom_url}/music/search_area=audio_genre/search_string={$item.audio_genre}">{$item.audio_genre}</a>

will we have:

<a href="{$jamroom_url}/audio/search_area=audio_genre/search_string={$item.audio_genre}">{$item.audio_genre}</a>

note: "music" was replaced with "audio"

No, it will not change the music to audio in the URL, that link will not work because the template for the music page is named music.tpl and if you try using audio, it will use the jrAudio/templates/index.tpl instead of the ProJam skins music template.

pch:
douglas:
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.

Well, I must confess to you that won't be easy for me. :)
Hope, one day you guyz will add genre/category page to skins like in Youtube.

Thanks

If I ever get some free time, I'll see about adding a genre page.

Thanks,
Douglas


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
douglas
@douglas
12 years ago
2,804 posts
pch:
Well, I must confess to you that won't be easy for me. :)
Hope, one day you guyz will add genre/category page to skins like in Youtube.

Brian has posted a start to creating a genre page here:

https://www.jamroom.net/the-jamroom-network/forum/design-and-skin-customization/2305/genre-list


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
pch
@pch
12 years ago
328 posts
michael:
Here's a youtube video on adding that video genre field for the admin user.

"Using the Form Designer"
Using the Form Designer tool

Hi Michael,

Thanks for the link, It is very informative. I like the tutorial. The Form Designer is definitely a powerful and flexible tool. Nice job to the JR Team.

Well, about genre/category page, I was talking about something like this: http://www.youtube.com/sports

By the way, I saw the following message when visiting the Form design:

Quote:
The following designer forms have not been setup yet for this module:

video/update
video/create_album


What does it mean and what step to undertake?

Thanks
updated by @pch: 11/22/13 05:54:27AM
pch
@pch
12 years ago
328 posts
SteveX:
There is a module which will cope with category/genre listing. It's being tested on a client site at the moment and will probably be in the Marketplace next week once description and documentation are written.

Hi Steve,

Sounds interesting. More details please. What is the module about?
Any demo?

Thanks
pch
@pch
12 years ago
328 posts
Hi Douglas,

Once again, thanks for the Support.

douglas:

Sorry, in the ProJam skins, the genre tab I'm referring to is on the left side, not right. There should be a tab next to the Stats and Online tabs at the top left of the music and video pages. If you are not seeing it, then you are probably not using all of the latest templates.

Did you modify the music.tpl via the skins template editor?

Sorry, still not seeing it. I don't see it on the JR demo page either: http://demo.jamroomnetwork.com/music

Can you send me a link from the JR demo where I can see it?

douglas:
No, it will not change the music to audio in the URL, that link will not work because the template for the music page is named music.tpl and if you try using audio, it will use the jrAudio/templates/index.tpl instead of the ProJam skins music template.

So, how to get rid of the text "music" in the url?

When the JR5 development started, we have been told by JR Team that the new JR will be more flexibe to fit any Media industry. (a kind of General use media CMS, not for artists and musics only unlike JR4 yet with more generic words like "audio" etc).

How will I show conferences, debates, podcasts under a URL called "music"? It won't make sens to my users.

douglas:
If I ever get some free time, I'll see about adding a genre page.

I know you will :) Thanks for everything you guyz are doing for us.

Thanks
updated by @pch: 11/22/13 05:57:14AM
pch
@pch
12 years ago
328 posts
douglas:
Brian has posted a start to creating a genre page here:

https://www.jamroom.net/the-jamroom-network/forum/design-and-skin-customization/2305/genre-list

Awesome. Thanks Douglas. I will go have a look to the post.

Thanks
pch
@pch
12 years ago
328 posts
@Douglas

Update:

I have managed to see the genre tab you were talking about. I saw it on this site showcased here in JR:

http://www.mixposure.com/music

Why isn't the Genres tab showing on my site? Same on JR demo.

Now there is another concern popping up:

The Genres tab and the drop down seem to be powered by ajax. The genres load on the same page than the music page (/music). So There is no way to know or grab the direct URL to a specific gernre/category.

I would like to have these URLs because I would like to add genres/categories to the top menu bar.

Since JR skins don't have Genre/Category Pages like on Youtube yet ( http://www.youtube.com/sports)

What is a direct URL to a specific Genres/Categories based on the modification yo gave to me: (/search_area=audio_genre/search_string=.....)

Thanks
douglas
@douglas
12 years ago
2,804 posts
pch:
@Douglas

Update:

I have managed to see the genre tab you were talking about. I saw it on this site showcased here in JR:

http://www.mixposure.com/music

Why isn't the Genres tab showing on my site? Same on JR demo.

Now there is another concern popping up:

My guess would be that you aren't using all of the templates from the latest version of ProJam. Have you modified any templates via the ACP > Skins > Templates editor?

If you have, those files will not be overwritten when you update the skin via the Marketplace. Try going back to the default templates and see if the tab shows for you then.

pch:
The Genres tab and the drop down seem to be powered by ajax. The genres load on the same page than the music page (/music). So There is no way to know or grab the direct URL to a specific gernre/category.

I would like to have these URLs because I would like to add genres/categories to the top menu bar.

Since JR skins don't have Genre/Category Pages like on Youtube yet ( http://www.youtube.com/sports)

What is a direct URL to a specific Genres/Categories based on the modification yo gave to me: (/search_area=audio_genre/search_string=.....)

Thanks

The URL's in the drop down are exactly the same as the ones I gave you... you just don't see them in the browser address bar because they are hidden inputs in the drop down form.

To change the word music in the URL, you would need to rename the music.tpl template to what you want it to be, other than audio.tpl of course. Then you would need to modify all the links in the skin templates that lead to the music page so they match the name of the template you just renamed. That is how JR works as far as SEO URL's... ie. the URL for a template named audio_tracks.tpl would be yoursite.com/audio_tracks

Creating a genre page like YouTube would take some time to do. You may want to wait on Steve's module, I don't know what it does, but it may work for what your wanting to do.

Hope this helps,
Douglas


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
SteveX
SteveX
@ultrajam
12 years ago
2,584 posts
pch:
SteveX:
There is a module which will cope with category/genre listing. It's being tested on a client site at the moment and will probably be in the Marketplace next week once description and documentation are written.

Hi Steve,

Sounds interesting. More details please. What is the module about?
Any demo?

Thanks

The details will be posted as soon as they are written.

But it does categories nicely.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
pch
@pch
12 years ago
328 posts
douglas:
My guess would be that you aren't using all of the templates from the latest version of ProJam. Have you modified any templates via the ACP > Skins > Templates editor?

Not quite sure but I will go and check it out again.

douglas:
The URL's in the drop down are exactly the same as the ones I gave you... you just don't see them in the browser address bar because they are hidden inputs in the drop down form.

Then could you please confirm to me whether direct URLs (see the example below) from the top menu to the genres/categories will work?

Example:

<a href="{$jamroom_url}/music/search_area=audio_genre/search_string=conferences">Conferences</a>

<a href="{$jamroom_url}/music/search_area=audio_genre/search_string=debates">debates</a>

Thanks
pch
@pch
12 years ago
328 posts
SteveX:

The details will be posted as soon as they are written.

But it does categories nicely.

Thanks Steve. Well, I just wanted to know before I start editing my site and eventually wasting my time, maybe your mod will fit my needs.

Any release date?

Thanks
SteveX
SteveX
@ultrajam
12 years ago
2,584 posts
pch:
Any release date?

It will be next week.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
douglas
@douglas
12 years ago
2,804 posts
pch:

Then could you please confirm to me whether direct URLs (see the example below) from the top menu to the genres/categories will work?

Example:

<a href="{$jamroom_url}/music/search_area=audio_genre/search_string=conferences">Conferences</a>

<a href="{$jamroom_url}/music/search_area=audio_genre/search_string=debates">debates</a>

Thanks

If you have audio tracks with those genres set, conferences and debates, then yes they should work.

Hope this helps,
Douglas


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
pch
@pch
12 years ago
328 posts
douglas:

If you have audio tracks with those genres set, conferences and debates, then yes they should work.

Hope this helps,
Douglas

Thanks a lot Douglas.
pch
@pch
12 years ago
328 posts
michael:
for that sports page like youtube has:
http://www.youtube.com/sports

I would just get a list of all videos that are tagged #sports done, easy.


@michael

Thanks for the tip and the links. I will read them very carefully.

@steve

Thanks
douglas
@douglas
12 years ago
2,804 posts
I just tried changing the URL from Music to Audio and it is possible and not that hard to do...

1. Go to your Audio modules info tab and change the URL to something other than audio so we can use that for the URL.

2. Rename your music.tpl to audio.tpl

3. In the audio.tpl file, there are 5 links that you'll need to change the URL from music to audio.

4. In your side_music.tpl and music_genres.tpl file, change the form action parameter to use audio instead of music.

5. In your header.tpl, change the music links to audio.

6. Clear the cache and test.

Hope this helps,
Douglas


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
douglas
@douglas
12 years ago
2,804 posts
Just to follow up... you can also change the text "Music" to "Audio" in the language tab of the skin your using.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
pch
@pch
12 years ago
328 posts
douglas:
I just tried changing the URL from Music to Audio and it is possible and not that hard to do...

1. Go to your Audio modules info tab and change the URL to something other than audio so we can use that for the URL.

2. Rename your music.tpl to audio.tpl

3. In the audio.tpl file, there are 5 links that you'll need to change the URL from music to audio.

4. In your side_music.tpl and music_genres.tpl file, change the form action parameter to use audio instead of music.

5. In your header.tpl, change the music links to audio.

6. Clear the cache and test.

Hope this helps,
Douglas

Hi Douglas, once again thanks a lot for the support.

Thanks for your modification Tips. Then, I have just noticed that I will loose the word "audio" in the audio URL/page which is something that I don't want to.

I would like to keep it the way it is:

e.g.
http://demo.jamroomnetwork.com/richard-hefner/audio/1/deep-purple

The URL looks great and it makes sense.

Unfortunately, "music.tpl" can not be renamed to "audio" without renaming the audio module. Because "audio" will already be using by the audio module. Unfortunately that is the way it is.

Right now in JR5 it is impossible to have the text "audio" as a standard (default) word in all URLs regarding audio files.

Example, you can not have:

http://demo.jamroomnetwork.com/audio (listing all the audio files)

and

http://demo.jamroomnetwork.com/richard-hefner/audio/1/deep-purple (showing a specific audio page)

which would have definitely made sense.

Apart from changing music.tpl, side_music.tpl and music_genres.tpl, hearder.tpl or renaming files when needed, please bear in mind that we still have Music by play, Music by rating, Music Charts, Music Charts Weekly, Monthly, Yearly etc to edit.

The same procedure (file name changing and file editing) you show me must be done with "artists" in order to change it to "author".

You have shown me how to modify things and renaming template files in order to get things more generic. Now what do you say about skyn update? Have you tried to imagine how will the skin/template update be handled or difficult? All this, just because one needed to have a more generic looking JR5 site?

JR5 can be used out of the box without almost no major skin modifications, maybe just little things needed to be made in the header and footer. JR5 is ready to go.

Unfortunately, IMHO, making JR5+Skins more generic to be used by non-music/artists-based site is the only thing that requires so many template file edition/modification/hacking, template file renaming etc.

That is the reason why I am talking about a more generic JR5 in my other post:

https://www.jamroom.net/the-jamroom-network/forum/using-jamroom/2387/a-more-generic-jr5

All skins were made with music/artists interest only in mind, not for non-music/artists-based site.
douglas
@douglas
12 years ago
2,804 posts
Okay, try this...


1. Rename your music.tpl to jrAudio_index.tpl

2. In the jrAudio_index.tpl file, there are 5 links that you'll need to change the URL from music to audio.

3. In your side_music.tpl and music_genres.tpl file, change the form action parameter to use audio instead of music.

4. In your header.tpl, change the music links to audio.

5. Clear the cache and test.

See if that works for you.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos

updated by @douglas: 11/24/13 04:56:40AM
SteveX
SteveX
@ultrajam
12 years ago
2,584 posts
pch:
SteveX:

The details will be posted as soon as they are written.

But it does categories nicely.

Thanks Steve. Well, I just wanted to know before I start editing my site and eventually wasting my time, maybe your mod will fit my needs.

Any release date?

Thanks

Here's some description as to what it does:
https://www.jamroom.net/ultrajam/documentation/modules/1284/ujcategories

And a quick walkthrough:
https://www.jamroom.net/ultrajam/documentation/modules/1281/ujcategories-intro-video


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
michael
@michael
12 years ago
7,800 posts
pch:...Right now in JR5 it is impossible to have the text "audio" as a standard (default) word in all URLs regarding audio files...
Not true. Look at the routing guide:
https://www.jamroom.net//download/doc_file/236

from:
"To Developers: how it works in a nutshell"
https://www.jamroom.net/the-jamroom-network/documentation/in-a-nutshell/231/to-developers-how-it-works-in-a-nutshellto-developers-how-it-works-in-a-nutshell


/audio/ is the url for the jrAudio module.

There should be a way in there for the skin to over-ride the module.

First one I would try would be:
override_jrAudio_index.tpl

If that didn't work I would try the other override locations.

--edit--
The correct template over-ride of url
yoursite.com/audio
is
* add a jrAudio_index.tpl file to your skin.
updated by @michael: 11/25/13 05:21:09PM

Tags