Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
User Site Design, Integration and Customization:
Two pages that should look alike - don't
rgnelson



Joined: 28 Feb 2005
Posts: 726

Posted: 03/24/05 22:29 
I don't have my arms around the Smarty Templates yet.

Could someone help me find out what template I need to edit to get the colspan and the cellspacing in this file:

http://arsoundcheck.com/jamroom/ranking.php?mode=song&order=5&pagebreak=40&pagenum=1&header_template=song_header.tpl&row_template=song_row.tpl&footer_template=song_footer.tpl

To look like this file:

http://arsoundcheck.com/jamroom/ranking.php?mode=band&order=5&pagebreak=100&pagenum=1&header_template=artist_header.tpl&row_template=artist_row.tpl&footer_template=common_footer.tpl

It seems these are both based on ranking.php, so the templates for both pages would come from templates/ranking.

Is this safe to say?

Back to top
djmerlyn
Jamroom Ustad


Joined: 18 Dec 2003
Posts: 13497
Location: Behind You

Posted: 03/25/05 00:59 
In the part where it says rank, image, song name, plays...this:


Code
<table cellpadding="0" cellspacing="2" class="slTable">
  <tr>
    <td colspan="4" class="slHead"><div id="sortHow"></div></td>
  </tr>
  <tr bgcolor="#212121">
    <td width="06%" class="slInfo">Rank</td>
    <td width="04%" class="slInfo">Image</td>
    <td width="80%" class="slInfo">Song Name</td>
    <td width="10%" class="slInfo">Plays</td>
  </tr>
  <tr bgcolor="#212121">
    <td width="100%" colspan="4" class="slInfo">


Should be this:

Code
<table cellpadding="0" cellspacing="2" class="slTable">
  <tr>
    <td colspan="6" class="slHead"><div id="sortHow"></div></td>
  </tr>
  <tr bgcolor="#212121">
    <td width="06%" class="slInfo">Rank</td>
    <td width="04%" class="slInfo">Image</td>
    <td width="80%" class="slInfo">Song Name</td>
    <td width="10%" class="slInfo">Plays</td>
  </tr>
  <tr bgcolor="#212121">
    <td width="100%" colspan="6" class="slInfo">


Notice colspan="6" instead of 4 in 2 places.

That should do it. Let me know~

Cheers!


_________________
Pro JR Hosting, now 50% off!
-100% Guaranteed

"more server and network power than any host, dedicated to your jamroom site"
Back to top
rgnelson



Joined: 28 Feb 2005
Posts: 726

Posted: 03/25/05 05:56 
Thanks DJ.
What File??
What Template??

Back to top
djmerlyn
Jamroom Ustad


Joined: 18 Dec 2003
Posts: 13497
Location: Behind You

Posted: 03/25/05 09:20 
The header template for your first link I think. The one you said you are having problems with Wink

Cheers!


_________________
Pro JR Hosting, now 50% off!
-100% Guaranteed

"more server and network power than any host, dedicated to your jamroom site"
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.