This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

Latest hardware news block not updating


avatar
error 232
From: -
Latest hardware news block not updating

As title says. When i post news in hardware section, latest hardware news block not updating. It also comes to my attention that latest news block update takes long time to show up.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: Latest hardware news block not updating
avatar
OP 232
From: -
Works like a charm. Thanks.
1 Re: Latest hardware news block not updating
avatar
Editor
0
From: -
Yes, you need to remove AND newsstory_frontpage = '1' from the SQL query to fix this problem.
1 Re: Latest hardware news block not updating
avatar
OP 232
From: -
When I post news in hardware channel and not on the frontpage it will not show up in block: latest hardware news. Latest software news block work well.
1 Re: Latest hardware news block not updating
avatar
Editor
0
From: -
I think I found the problem. Your hardware news will be not displayed on the front page?

In this case remove AND newsstory_frontpage = '1' from the SQL query:

$results = $database -> dbquery( "SELECT newsstory_seo, newsstory_title FROM " . DB_PREFIX . "esselbach_ct_newsstories WHERE newsstory_channels LIKE '%".$channel_key."%' AND (newsstory_status = '0' OR newsstory_status = '3') AND (newsstory_website = '0' OR newsstory_website = '" . $preferences[ 'current_website' ] . "')" . $news_expire_sql . " ORDER BY newsstory_date DESC LIMIT 5" ); 
1 Re: Latest hardware news block not updating
avatar
Editor
0
From: -
Can you attach your hardware block here? I need to take a look.
1 Re: Latest hardware news block not updating
avatar
OP 232
From: -
Yes, but latest hardware block not updating at all.
1 Re: Latest hardware news block not updating
avatar
Editor
0
From: -
The content of the blocks will be usual refreshed every 10 minutes. If you are using the HTML caching system the refresh rate may be lower and depends on your cache expire time.

You can adjust the cache expire time under Manage Websites.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.