Project

General

Profile

1
QuickSkin Properties:
2

    
3
Please note: if you do not want to modify the default, the respective property code is not required.
4

    
5
$page->set('reuse_code', false);
6
  defines whether or not to use the compiled PHP code or not, default is false
7
  * note: if you have dynamic data (ie. from a database), set to false
8

    
9
$page->set('template_dir', '_skins/');
10
  defines the directory where the skins are stored, default is '_skins/'
11
  (can also be set using the $_CONFIG['template_dir'] variable)
12

    
13
$page->set('temp_dir', '_skins_tmp/');
14
  defines the directory where the compiled code is stored, default is '_skins_tmp/'
15
  (can also be set using the $_CONFIG['quickskin_compiled'] variable)
16

    
17
$page->set('cache_dir', '_skins_tmp/');
18
  defines the directory where the temporary compiled code is stored, default is '_skins_tmp/'
19
  (can also be set using the $_CONFIG['quickskin_cache'] variable)
20

    
21
$page->set('cache_lifetime', 600);
22
  defines the Output Cache Lifetime in seconds, default is 600 seconds (10 minutes)
23
  (can also be set using the $_CONFIG['cache_lifetime'] variable)
24

    
25
$page->set('extensions_dir', '_lib/qx');
26
  defines the directory where the QuickSkin Extensions are stored, default is '_lib/qx'
27
  (QuickSkin Extensions are code that can be used in your templates - but not in dynamic data)
28
  
29
$page->set('extension_prefix', 'qx_');
30
  defines the prefix used on all QuickSkin Extensions, default is 'qx_' (not usually changed)
31

    
32
$page->set('extensions_dir', '_skins/');
33
  defines the directory where the skins are stored, default is '_skins/'
34

    
(5-5/6)