Template Errors

amwproductions
@amwproductions
9 years ago
185 posts
Hello i have found some errors on the Pro Jam Dark Template

See follow sites https://www.r-m-n.com/artists and https://www.r-m-n.com/artists/most_viewed here all correct

And here the right side is out https://www.r-m-n.com/artists/by_newest each on this site https://www.r-m-n.com/site_blogs right site is out of space and here https://www.r-m-n.com/site_blogs/featured works

Can you each check the chart ranking here is misconfiguration on our yearly chart pos. 10 has 5 plays and the 11 pos. has 38 plays?!?!?!?
How we can set ranking options/and how we can check out for last week or month the charts?

updated by @amwproductions: 05/03/15 02:48:57AM
douglas
@douglas
9 years ago
2,790 posts
Most likely one of the blog entries, or artist entries, has HTML in it that is breaking the layout.

The first 4 pages from this link: https://www.r-m-n.com/artists/by_newest , the layout is messed up, but every page after that isn't. It's the same for this link: https://www.r-m-n.com/site_blogs , the first two pages are messed up, but after that they aren't.

Give this a try, in your artists_row.tpl, find this:

                                {if strlen($item.profile_bio) > 150}{$item.profile_bio|jrCore_format_string:$item.profile_quota_id|truncate:150:"...":false}{else}{$item.profile_bio|jrCore_format_string:$item.profile_quota_id}{/if}

and change it to this:
{$item.profile_bio|jrCore_format_string:$item.profile_quota_id:null:nl2br|truncate:150:"...":false}

And let me know if that fixes the artists page. If so, I'll get a fix in for those pages.

Thanks!


--

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

updated by @douglas: 11/03/15 01:26:42AM
douglas
@douglas
9 years ago
2,790 posts
Yeah, I'm seeing the same and the fix is this:

artsits_row.tpl, change this:

{if strlen($item.profile_bio) > 150}{$item.profile_bio|jrCore_format_string:$item.profile_quota_id|truncate:150:"...":false}{else}{$item.profile_bio|jrCore_format_string:$item.profile_quota_id}{/if}

to this:

{$item.profile_bio|truncate:150:"...":false|jrCore_format_string:$item.profile_quota_id:null:nl2br}

site_blogs_list.tpl, change this:

{$item.blog_text|truncate:300:"...":false|jrCore_format_string:$item.profile_quota_id|nl2br}

to this:

{$item.blog_text|truncate:300:"...":false|jrCore_format_string:$item.profile_quota_id:null:nl2br}

I'll get the Marketplace updated later today.

Thanks!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
amwproductions
@amwproductions
9 years ago
185 posts
Oh great thx i wait for the update on marketplace i have set all on my site i see each display errors not works
douglas
@douglas
9 years ago
2,790 posts
I've got the Marketplace updated. Let me know if you see anymore issues.

Thanks!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
amwproductions
@amwproductions
9 years ago
185 posts
Hello thx for the update
To me not works
amwproductions
@amwproductions
9 years ago
185 posts
https://www.r-m-n.com/site_blogs the right column display errors comes under all blogs :-(
brian
@brian
9 years ago
10,148 posts
I'm not seeing any errors on the page - your right sidebar has just floated down below due to the "Photo Shooting and Live Evening" blog entry - looks like it has a table in it that is pushing the width.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
amwproductions
@amwproductions
9 years ago
185 posts
how i can fix this table
brian
@brian
9 years ago
10,148 posts
amwproductions:
how i can fix this table

Modify the blog entry.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags