Loading...
 
Skip to main content

Custom Share Module 0.1dev

History: HowtoUseExternalSmarty

Preview of version: 2

edit setup_smarty.php in tikiroot directory to include external smarty

Copy to clipboard
define('SMARTY_DIR', "/usr/lib/php/Smarty/"); require_once ( '/usr/lib/php/Smarty/Smarty.class.php');


and below edit the plugins_dir array, that dirname stuff is unneccessary:

Copy to clipboard
$this->plugins_dir = array(»····// the directory order must be like this to overload a plugin "lib/smarty_tiki", SMARTY_DIR."plugins" );


Note: tiki-install.php also depends on smarty so use this after working install, or modify tiki-install.php appropriately

Copy to clipboard
define('SMARTY_DIR', "/usr/lib/php/Smarty/"); require_once (SMARTY_DIR . 'Smarty.class.php'); and the plugins_dir array again


Note: this works with latest Smarty 2.6.7 at the time of writing ang

See

DevTips
HowtoDev
TikiWikiInternationalizationAndLanguages
InstallTikiDev
TikiProfilesDev
ContentPacksDev - TikiMediaReleaseGentooLinux, TikiGamesGentooLinux, TikiStyleReleaseGentooLinux
InstallMultipleTikis - InstallVirtualHosting

HowtoUseExternalAdodb for further details on Tikiwiki Tweaking

History

Advanced
Information Version
Marc Laporte 5
View
Lorinc 4
View
Lorinc 3
View
Lorinc 2
View
Lorinc 1
View

Upcoming Events

1)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4) 
Tiki birthday
5)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting