[geeklog-devel] Geeklog 2.1.0 beta1 and blocks

cordiste cordiste at free.fr
Fri Jun 6 07:23:41 EDT 2014


Tom,

Sorry I thought it was a bug because when I disabled cache templates I
was thinking the display of those 2 blocks would not come from a cache
version.

Ben

2014-06-06 2:14 GMT+02:00 Tom <websitemaster at cogeco.net>:
> The What's New Block and the Topics Block do not rely on
> $_CONF['cache_templates'].
>
> $_CONF['cache_templates'] is specifically to enable caching of the templates
> of the theme.
>
> The What's New Block and Topics block always uses the cache file if the
> files exist.  It is much quicker to do this (especially on large sites) than
> to calculate how many articles are in each topic for every page load (or
> what is a new item). If the cache files  are not then they are generated and
> displayed.
>
> For example the cache files for the topic block get deleted whenever a new
> topic is added or a story gets added or deleted from the system.
>
> For other blocks (and articles) you can enable caching by changing the Cache
> Time Attribute. These are also not affected by the config value
> $_CONF['cache_templates']..
>
> Tom
>
> -----Original Message-----
> From: geeklog-devel [mailto:geeklog-devel-bounces at lists.geeklog.net] On
> Behalf Of cordiste
> Sent: June-05-14 6:54 PM
> To: Geeklog Development
> Subject: Re: [geeklog-devel] Geeklog 2.1.0 beta1 and blocks
>
> Thank you Wim for the link.
>
> Ok few new template files where missing in the purepro theme and I found 2
> bugs
> http://project.geeklog.net/tracking/view.php?id=1768
> http://project.geeklog.net/tracking/view.php?id=1769
>
> Ben
>
> 2014-06-05 17:18 GMT+02:00 Wim Niemans <niemans at nlbox.com>:
>> Hi Ben,
>>
>> the generated 1 is due to a bug in the template class.
>> It happens whenever a empty variable is parsed. In that case the value
> true is assigned.
>>
>> The bug should be resolved already.
>> See http://project.geeklog.net/tracking/view.php?id=1750
>> Wim
>>
>>
>>
>> Op 5 jun. 2014, om 14:33 heeft cordiste <cordiste at free.fr> het volgende
> geschreven:
>>
>>> Hi all,
>>>
>>> I try to update a theme (purepro) for geeklog 2.1.0 beta1 and I get
>>> some issues. Some blocks (topics, User Functions, Admins Only and
>>> What's New) display one or more 1 (see attachment)
>>>
>>> What can I do ?
>>>
>>> Ben
>>> <geeklog_210_blocks.jpg>_____________________________________________
>>> __
>>> geeklog-devel mailing list
>>> geeklog-devel at lists.geeklog.net
>>> http://eight.pairlist.net/mailman/listinfo/geeklog-devel
>>
>> _______________________________________________
>> geeklog-devel mailing list
>> geeklog-devel at lists.geeklog.net
>> http://eight.pairlist.net/mailman/listinfo/geeklog-devel
>>
> _______________________________________________
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
> http://eight.pairlist.net/mailman/listinfo/geeklog-devel
>
> _______________________________________________
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
> http://eight.pairlist.net/mailman/listinfo/geeklog-devel
>



More information about the geeklog-devel mailing list