Ah ... now all is clear. Many thanks.
Peter
Search found 10 matches
- Sun Aug 08, 2010 8:43 am
- Forum: Developers Discussion
- Topic: [SOLVED] Newbie question about installing a module
- Replies: 2
- Views: 1631
- Sat Aug 07, 2010 8:03 pm
- Forum: Developers Discussion
- Topic: [SOLVED] Newbie question about installing a module
- Replies: 2
- Views: 1631
[SOLVED] Newbie question about installing a module
I have written a simple module Foo based on the Skeleton module. How do I install Foo? I guess that I can add a folder Foo under the modules folder and CMS will find this folder and install the module for me. But I may be completely wrong about this. Unfortunately placing Foo in the modules folder ...
- Thu Aug 28, 2008 6:35 pm
- Forum: Developers Discussion
- Topic: CMS_Compiler.class.php
- Replies: 0
- Views: 1017
CMS_Compiler.class.php
This class extends Smarty_Compiler and overrides the method _compile_custom_tag and basically nothing else. The changes in the method are not extensive either - just three or four lines. One of them is: $this->_plugins['function'][$tag_command][4] = false; which is just before a call to _push_cache...
- Fri Aug 15, 2008 9:28 am
- Forum: Developers Discussion
- Topic: smarty_cms_prefilter_precompilefunc
- Replies: 2
- Views: 1481
Re: smarty_cms_prefilter_precompilefunc
I deleted everything from templates_c so presumably it should be compiled. smarty_cms_prefilter_precompilefunc 29 in/cmsmadesimple/plugins/prefilter.precompilefunc.php $result[0] for case is tpl_body $smarty->_current_file: tpl_body:17 Nothing done Other calls with $smarty->_current_file is 'content...
- Fri Aug 15, 2008 9:05 am
- Forum: General Discussion
- Topic: Caching with Smarty
- Replies: 6
- Views: 2440
Re: Caching with Smarty
Thanks - I up to speed here then. I really like CMSMS because it promises to be intelligible. I think this is in part because it encapsulates function inside Smarty which is a different system (like function is encapsulated within the DBMS). Many years ago I read a book called "Sciences of the ...
- Thu Aug 14, 2008 8:54 pm
- Forum: Developers Discussion
- Topic: smarty_cms_prefilter_precompilefunc
- Replies: 2
- Views: 1481
smarty_cms_prefilter_precompilefunc
Hi, I'm studying CMSMS to see how it works - particularly how it uses Smarty. I found a prefilter called prefilter_precompilefunc.php that Smarty loads. This has a function smarty_cms_prefilter_precompilefunc which is called before a template is compiled passing the source. The function has a case ...
- Thu Aug 14, 2008 8:38 pm
- Forum: General Discussion
- Topic: Caching with Smarty
- Replies: 6
- Views: 2440
Re: Caching with Smarty
Thank very much for this. I have just started with CMSMS and am trying to see how it uses Smarty. I don't know what cache CMSMX 1.x does apart from templates_c which is Smarty. But there is a file called 'contentcache.php' but I don't know what that is for at all. Anyway thanks again. I did not un...
- Mon Aug 11, 2008 6:36 pm
- Forum: General Discussion
- Topic: Caching with Smarty
- Replies: 6
- Views: 2440
Caching with Smarty
I searched the forums and around an now understand that Smarty will cache pages if you ask it to but that CMSMS has decided to bypass this option as apparently it did not speeds things up much if at all and anyway makes things more complicated (this is not compiled templates of course CMSMS lets Sma...
- Fri Aug 01, 2008 8:28 am
- Forum: CMS Show Off
- Topic: my first (but not last) CMSMS site
- Replies: 5
- Views: 3570
Re: my first (but not last) CMSMS site
That was the bit I was wondering about! Thanks.-null- wrote: The main complication I found was the menu didn't create the same html as the template styled so it didn't look quite correct. I'm not sure if this was the right way to do it but I just edited the cssmenu.tpl file and removed an un-necessary div.
- Thu Jul 31, 2008 10:58 am
- Forum: CMS Show Off
- Topic: my first (but not last) CMSMS site
- Replies: 5
- Views: 3570
Re: my first (but not last) CMSMS site
I am new to CMS MS and would second this request.Sven A wrote: One more question for my curiosity I would like to know how long you have been working to integrate the template in CMS MS.