Audio module request

gary.moncrieff
gary.moncrieff
@garymoncrieff
10 years ago
865 posts
Hey guys

A quota option to show albums view as default on profiles would be nice if possible.
updated by @garymoncrieff: 07/03/15 04:55:13AM
michael
@michael
10 years ago
7,751 posts
Profile tweaks should allow the user to decide which tab of theirs is the default, your talking about setting a default for everyone right?

Might be something for that already in:

"{jrProfile_menu}"
https://www.jamroom.net/the-jamroom-network/documentation/development/1997/jrprofile-menu

--
couldn't see anything directly in that function, so tried this out in:
/skins/YOUR SKIN/profile_index.tpl
{* default index for profile *}

<div class="col9 last">
    {jrCore_include module="jrAction" template="item_index.tpl"}
</div>

Thats what the default skin looks like, so i changed it to this:
{* default index for profile *}

<div class="col9 last">
    {jrCore_include module="jrAction" template="item_index.tpl"}

    this is something
    {jrCore_location('http://jr500.iixxii.cc/two/flickr')}
</div>

hoping that instead of displaying the default index page, the redirect would kick-in. It did.

So you could put a check for the quota id coming in, then redirect by depending on the quota id like that.

Would that work in your situation?
gary.moncrieff
gary.moncrieff
@garymoncrieff
10 years ago
865 posts
Sorry mustn't have been clear, what I mean is on profile/audio it shows a list of songs, but there is an albums view which would be nice to have an option to show this by default on the audio tab instead of the list of songs.
michael
@michael
10 years ago
7,751 posts
in that case, its the "targets parameter" section on the linked jrprofile-menu doc that your after.

Tags