solved Site (blog) News Display from home page not showing..

american
@american
8 years ago
28 posts
when you click on the tittle it does not go to article..

it goes here: http://americanbands(.)com/blogs/search/78/yamaha-band-competition-2016

I think it should be directed here:

http://americanbands.com/jdaris/blog/78/yamaha-band-competition-2016

Is this a bug or just my set up.

TIA





http://americanbands.com/jdaris/blog/78/yamaha-band-competition-2016
updated by @american: 11/21/16 11:25:12PM
paul
@paul
8 years ago
4,326 posts
Can we have a link to where this 'faulty' link is please?


--
Paul Asher - JR Developer and System Import Specialist
american
@american
8 years ago
28 posts
From home page

Americanbands.com go to site news click on title..
michael
@michael
8 years ago
7,714 posts
That is the correct url. Make sure you have the blogs.tpl file and the blogs_row.tpl file for your skin.

If you want to make it go to the profile instead, you can do that too though. Change the URL in the 'index_site_news.tpl' file to point to where you want it to go.

The url you probably want is:
<h2><a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.blog_title_url}">{$item.blog_title}</a></h2>

for line 17 which currently reads:
<h2><a href="{$jamroom_url}/blogs/search/{$item._item_id}/{$item.blog_title_url}">{$item.blog_title}</a></h2><br>

updated by @michael: 08/17/16 12:16:06AM
american
@american
8 years ago
28 posts
Not having any luck finding the code.

my skins/jrNova/blogs.tpl and blogs_row.tpl files do not have any of the code you want me to replace..

Am I looking at the wrong files..
see attached files:
SteveX
SteveX
@ultrajam
8 years ago
2,584 posts
michael:Change the URL in the 'index_site_news.tpl' file to point to where you want it to go.
It's probably in index_site_news.tpl


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
douglas
@douglas
8 years ago
2,790 posts
I have this fixed for you. The issue was the custom blog templates were not using the correct code. I have updated the Marketplace with the fix as well.


--

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

Tags