Page 1 of 1

Include $serendipity['version'] into template

Posted: Mon Jun 25, 2007 6:28 pm
by SoWhy
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

Posted: Mon Jun 25, 2007 11:02 pm
by Don Chambers
If you are trying to display the s9y version installed, you could try the following (or some variation of it):

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>
Put that code in your index.tpl wherever you want to display that info, such as at the bottom of the page.

Posted: Mon Jun 25, 2007 11:04 pm
by SoWhy
Thank you very much =)