CMS MADE SIMPLE FORGE

Cataloger

 

[#4828] cacheable probleme

avatar
Created By: Téïcée (teicee)
Date Submitted: Thu Apr 22 10:21:12 -0400 2010

Assigned To:
Version: 0.7.7
CMSMS Version: None
Severity: Major
Resolution: Fixed
State: Closed
Summary:
cacheable probleme
Detailed Description:
When creating a new category for the catalog, it is impossible to change the
value of "cacheable".

The problem is that i had made two categorys and one of the two has the
parameter "cacheable" set to true and the other set to false.

And if this parameter is set to true, the pages navigation doesn't work.


History

Comments
avatar
Date: 2010-04-27 17:15
Posted By: Ellein (ellein)

Correct:
contenttype.catalogcategory.php
after (function EditAsArray):
    if ($tab == 3) {
array_push($ret,array(lang('active'),'<input type="checkbox"
name="active"'.($this->mActive?' checked="checked"':'').'/>'));
array_push($ret,array(lang('showinmenu'),'<input type="checkbox"
name="showinmenu"'.($this->mShowInMenu?' checked="checked"':'').' />'));

add:
array_push($ret,array(lang('cachable'),'<input type="checkbox"
name="cachable"'.($this->mCachable?' checked="checked"':'').' />'));

and after (function FillParams):
	if (isset($params['showinmenu']))
	  {
	    $this->mShowInMenu = true;
	  }
	else
	  {
	    $this->mShowInMenu = false;
	  }

add:
	if (isset($params['cachable']))
	  {
	    $this->mCachable = true;
	  }
	else
	  {
	    $this->mCachable = false;
	  }

This patch add Cachable checkbox at edit page.

2 Cataloger' author:
Doesn't work get-param 'start' when cache turn on! Pages of one cat with
different start are the same from cache. This is critical!
      
avatar
Date: 2010-11-12 05:20
Posted By: noosphere (noosphere)

MORE CACHE PROBLEMS:

CMSMS MLE 1.8.2

I have multiple categories and multiple custom attributes in item pages (images
in my case).
When the page is cached my custom attributes are not returned anymore !!!
I have to clear the cache everytime to see my custom attribute variables inside
the rendered page.
This is more than critical to me, as I based a whole project on this module.

Can anybody reproduce and try to patch it???

Note:Just installed version 0.8.1 but it doesn't address this!
      
avatar
Date: 2016-10-15 14:23
Posted By: Fernando Morgado (JoMorg)

Should be fixed in Cataloger 1.0 already released.
      
Updates

Updated: 2016-10-15 14:23
resolution_id: 5 => 7
state: Open => Closed

Updated: 2016-10-15 14:23
resolution_id: => 5
cmsms_version_id: => -1