Hi,
on my webspace I already got Smarty at another location with a newer version cause I use it for a couple of other pages.
My first question is: Can I use a newer version of Smarty without problems to compability?
And if this works: Where can I define the SMARTY DIR to use the newer version?
greets
FF
Smarty at another Location and with newer version
-
Florian Fiegel
- Regular
- Posts: 21
- Joined: Fri Feb 15, 2008 12:38 pm
- Location: Germany/Bochum
- Contact:
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Smarty at another Location and with newer version
Hi!
Yes, you can use a newer smarty version; s9y uses Smarty unmodified. Best thing is if you copy your Smarty files into the s9y bundled-libs directory, or set a symlink.
If you absolutely must patch the SMARTY_DIR, look for it in the include/functions_smarty.inc.php file in the serendipity_smarty_init() function.
Regards,
Garvin
Yes, you can use a newer smarty version; s9y uses Smarty unmodified. Best thing is if you copy your Smarty files into the s9y bundled-libs directory, or set a symlink.
If you absolutely must patch the SMARTY_DIR, look for it in the include/functions_smarty.inc.php file in the serendipity_smarty_init() function.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Florian Fiegel
- Regular
- Posts: 21
- Joined: Fri Feb 15, 2008 12:38 pm
- Location: Germany/Bochum
- Contact:
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Lookup google for a tutorial. But it does not matter if you copy the files over, because your menu and the other parts can be interpreted by serendipity's smarty; another Smarty object instance will not be involved.
Regards,
Garvin
Lookup google for a tutorial. But it does not matter if you copy the files over, because your menu and the other parts can be interpreted by serendipity's smarty; another Smarty object instance will not be involved.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/