Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
User Site Design, Integration and Customization:
Artist Bio Page
SoundCafe



Joined: 23 Sep 2012
Posts: 21

Posted: 01/03/13 16:29 
I am trying to have my artist bio in a separate page, so that the artist can write his whole life story if he wishes. Only i can't get it to work. Help will be appreciated.

I got the link in the artist page, and a .tpl with {BAND_STORY} inside, but it gives an error. I cannot find a way to tell it where to get the Band id for the band story,ie which band to make the bio for. I assume its something i have to pass,maybe in the menu.tpl or within the tpl,i can't figure it out.

Back to top
boplive



Joined: 03 May 2006
Posts: 817

Posted: 01/03/13 16:49 
you probably will need to provide the code that your using or a link for someone to see and help you better..
umm..you may not need to use the .tpl at the end at wherever your using the code

Back to top
SoundCafe



Joined: 23 Sep 2012
Posts: 21

Posted: 01/03/13 17:06 
i didnt provide what i had because i am sure its wrong. But this is what i have so far, i added the artist_bio.tpl to index.php in the theme.cfg.

menu.tpl

{if strlen($BAND_STORY) > 0}
<li><a href="{$JAMROOM_URL}/index.php&template=index_artist_bio.tpl">Artist Bio</a></li>
{/if}


artist_bio.tpl

<!-- MAIN CONTENT -->
<div class="row">
<div class="span8">

<!-- Begin Artist Bio -->
<h4>{$BAND_NAME} - Bio</h4>

<p>{$BAND_STORY|jr_strip_html}</p>
</div><!--end span-->
</div>

Back to top
Michael
Jamroom Team


Joined: 22 Apr 2008
Posts: 3423
Location: Tokyo

Posted: 01/03/13 21:01 

SoundCafe:
.....i added the artist_bio.tpl ......



SoundCafe:
......p&template=index_artist_bio.tpl">Art.....


your link is pointing to the wrong location.

If you added artist_bio.tpl to the skin then its going to show up as :
index.php?t=artist_bio

Check out the sage demo and the way it does it if your trying to add it to a profile:
http://sage.jamroom.net/Grunge_Band/info.php


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



Joined: 23 Sep 2012
Posts: 21

Posted: 01/04/13 11:45 
that wasn't the error per se, i did not copy everything properly, the name of the file is fine. but i will take a look at sage and see how its implememted there.

Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
User Site Design, Integration and Customization

 
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.