Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Jamroom Help:
Question about Jr5 Ranking and Also Listing by Quota_ID
cmpnetwork



Joined: 15 Sep 2007
Posts: 1241
Location: Chicago

Posted: 10/12/13 02:09 
Hello got a question for you.

ok you know how in JR4 you could add a link like

http://domainname.com/ranking.php?mode=artists blah blah blah by quota_id and template information stuff so if you got a button or text link you could designate a page for it, is that possible for the JR5 stuff?

like if i want to have 3 tabs that say artists, djs, labels and they have quota 1 through 3 for a actual link

like http://domainname.com/profiles/(what comes next)? how is the profile variables broken down after that for listing..


_________________
Promoter - Developer - Video Game Geek
http://www.chicagomusicpromotions.com
Back to top
Michael
Jamroom Team


Joined: 22 Apr 2008
Posts: 3423
Location: Tokyo

Posted: 10/12/13 11:32 
/profiles/artists
/profiles/djs
/profiles/labels

put {debug} in your profiles.tpl template and locate the variable that djs comes out on, then use that in an if/else switch


Code
{jrCore_list module="jrProfile" search="profile_type = `$_post._1`"}


could even work, but if the var is $_post._1 (it might even be just {$option} or other)

Code

{if $_post._1 == 'artists'}
{jrCore_list module="jrProfile" search="profile_type = artists"}
{elseif $_post._1 == 'djs'}
{jrCore_list module="jrProfile" search="profile_type = djs"}
{else}
{jrCore_list module="jrProfile"}
{/if}


something like that.


_________________
Michael Ussher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
cmpnetwork



Joined: 15 Sep 2007
Posts: 1241
Location: Chicago

Posted: 10/12/13 16:45 
ok confused not really what i was going for...

basically say i wanted to make a hyperlink that lists all DJS on a page, how would i do that with Jr5 i am not sure about what you said above..

do i need to create a artist, dj, label tpl file? then what do i add in it?


_________________
Promoter - Developer - Video Game Geek
http://www.chicagomusicpromotions.com
Back to top
Dazed



Joined: 22 Mar 2006
Posts: 4147

Posted: 10/12/13 17:56 
This thread may help. The ranking system is basically gone so no need for header and footer any more. Everything is done with a loop.

http://www.jamroom.net/phpBB2/viewtopic.php?t=42720

Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
Jamroom Help

 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.