Problem with Projam 5 theme

alt=
@kayskeem
11 years ago
200 posts
My image was working fine on the homepage where it shows the articles posted. I upgraded the YouTube module and Forum and also added some articles and all of the sudden the image wont show on the homepage for the articles. You can see at exposehits.com under Latest News. The post is there but the picture is gone. Can anyone help me?
updated by @kayskeem: 01/07/14 08:41:26PM
michael
@michael
11 years ago
7,717 posts
if you look in the code for the index.tpl page, it looks like this:

                    {if isset($_conf.jrProJamLight_blog_profile) && $_conf.jrProJamLight_blog_profile > 0}
                        {jrCore_list module="jrBlog" order_by="_created desc" limit="10" search1="_profile_id = `$_conf.jrProJamLight_blog_profile`" search2="blog_category = latest" template="news_slider.tpl"}
                    {else}
                        {jrCore_list module="jrBlog" order_by="_created desc" limit="10" search1="_user_id = 1" search2="blog_category = latest" template="news_slider.tpl"}
                    {/if}

Which reads "If there is a blog profile set in the skin settings, use that, otherwise use the admins profile, #1. Now go look for any blogs which have a category of 'latest' and display the most current 10 of those in this slider."

So if your skin is the same as the default one, it means that you dont have any blog posts in the category of 'latest'.
alt=
@kayskeem
11 years ago
200 posts
Yes I tried that and it still didnt show I set 2 blogs under latest. It used to show before now all of the sudden it doesnt.
alt=
@kayskeem
11 years ago
200 posts
I do not know how it worked but I changed the theme to something else and then back to Projam and it started showing the photos. Do you know how that happened ?
SteveX
SteveX
@ultrajam
11 years ago
2,584 posts
Are you seeing cached content?

Use jrDeveloper to turn off the cache for css and js - check "run in developer mode" in config.

And set cache time to 0 in global config.


--
¯\_(ツ)_/¯ 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 :)
alt=
@kayskeem
11 years ago
200 posts
Not sure @SteveX but thanks for the information.

Tags