solved Cannot change Module URL

hansd007
@hansd007
10 years ago
50 posts
I bought the Audio support module. I installed it and it's working fine.

I want to change the Module URL from /music to /radio.

When I do this and save it doesn't update the URL when I go to that modules page.

Do I have to un-install and re-install or edit the rewrite rules?
updated by @hansd007: 03/27/14 10:23:05AM
douglas
@douglas
10 years ago
2,791 posts
The module URL for the jrAudio module is audio, not music.

Where are you trying to change the music URL, the main menu or the profile menu?


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
hansd007
@hansd007
10 years ago
50 posts
douglas:
The module URL for the jrAudio module is audio, not music.

Where are you trying to change the music URL, the main menu or the profile menu?

In the main menu, but maybe I am not understanding exactly what I want to do.

I am guessing I need to change this in the header.tpl file.

ie: http://pulse.bamradionetwork.com/music
brian
@brian
10 years ago
10,148 posts
You should be able to change the module URL to anything you want from the module's "info" tab - you may need to adjust the template, but the templates should follow suit if they are setup properly (i.e. they are using {jrCore_module_url} as the URL name).

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
10 years ago
10,148 posts
Just wanted to add I like what you're doing with your site - nice job, and looks like a really useful service for educators.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
10 years ago
2,584 posts
I agree with Brian, that's a very cool idea.


--
¯\_(ツ)_/¯ 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 :)
hansd007
@hansd007
10 years ago
50 posts
brian:
Just wanted to add I like what you're doing with your site - nice job, and looks like a really useful service for educators.

Thanks @brian and @SteveX, we are a new player in the Edtech scene.

I will play around with the header.tpl file and the module settings.

Thanks for the info.
douglas
@douglas
10 years ago
2,791 posts
hansd007:
In the main menu, but maybe I am not understanding exactly what I want to do.

I am guessing I need to change this in the header.tpl file.

ie: http://pulse.bamradionetwork.com/music

There is no need to change the module URL to change that from music to radio.

The music.tpl file in your skins directory is the file for that URL. Rename that file to radio.tpl and then change the link in your header.tpl to point to radio instead of music.

The category tab on the side also links to the music.tpl file, so you'll have to modify the side_music.tpl and music_genres.tpl to change the forms action URL to radio instead of music as well.

Hope this helps,
Douglas


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
hansd007
@hansd007
10 years ago
50 posts
@douglas

ahh there you go. Thank you.
updated by @hansd007: 02/25/14 08:32:04AM
douglas
@douglas
10 years ago
2,791 posts
Your welcome! :)


--

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

Tags