Hey,
I modified a template very much to suit my needs and I want to have the s9y version number in the template. Can anyone tell me how to show the variable $serendipity['version'] from serendipity_config.inc.php in my template?
TIA
SoWhy
Include $serendipity['version'] into template
-
- Regular
- Posts: 3652
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
If you are trying to display the s9y version installed, you could try the following (or some variation of it):
Put that code in your index.tpl wherever you want to display that info, such as at the bottom of the page.
Code: Select all
<p>{$CONST.POWERED_BY} <a href="http://www.s9y.org" target="_blank" title="Serendipity {$head_version} http://www.s9y.org">Serendipity {$head_version}</a></p>
=Don=