Playlists Showing On Independent Pages

alt=
Ekwe
@ekwe
10 years ago
212 posts
instead of the playlist to show on the user profile, is there a way for it to show on the another page. Similar to how news_story.tpl calls the blog. How can I have a url/playlist/playlist_id/playlist_name

Please help, thanks
updated by @ekwe: 05/04/14 11:34:16PM
douglas
@douglas
10 years ago
2,790 posts
You can use the jrCore_list function to get a list of playlists.

Something like this:

    {jrCore_list module="jrPlaylist" order_by="playlist_title asc" limit="10"}

Or if you want a playlist from the site admin, just add the profile_id parameter to your function:

    {jrCore_list module="jrPlaylist" order_by="playlist_title asc" profile_id="1"}

To get a list of available variables, use this jrCore_list function:

    {jrCore_list module="jrPlaylist" order_by="playlist_title asc" profile_id="1" template="playlist_row.tpl"}

and in your playlist_row.tpl add {debug} to it.


Creating a page like the news story for playlists would take way too long to deal with on the forums.

You should really get the hang of using the jrCore_list function and figuring out what all it can do.

https://www.jamroom.net/the-jamroom-network/documentation/development/89/jrcore-list

You can also use the news.tpl and news_story.tpl as examples if you want to setup a playlist page like the news story page.

Hope this helps,
Douglas


--

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

Tags