<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Wolf CMS Forum - Add functions?]]></title>
		<link>http://www.wolfcms.org/forum/topic347.html</link>
		<description><![CDATA[The most recent posts in Add functions?.]]></description>
		<lastBuildDate>Mon, 01 Mar 2010 12:49:37 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Add functions?]]></title>
			<link>http://www.wolfcms.org/forum/post2068.html#p2068</link>
			<description><![CDATA[[code]<?php echo Setting::get('admin_title'); ?>[/code] works well...

Is there something like that for the administrator email?
Found...

[code]<?php echo Setting::get('admin_email'); ?>[/code]]]></description>
			<author><![CDATA[dummy@example.com (oweb)]]></author>
			<pubDate>Mon, 01 Mar 2010 12:49:37 +0000</pubDate>
			<guid>http://www.wolfcms.org/forum/post2068.html#p2068</guid>
		</item>
		<item>
			<title><![CDATA[Re: Add functions?]]></title>
			<link>http://www.wolfcms.org/forum/post2043.html#p2043</link>
			<description><![CDATA[[quote=mvdkleijn]Why use functions for this? Why not just use a snippet, page part (on the Home Page) or even just put them in the Layout?[/quote]
For new users it could be interesting to add this in layouts/templates (automated copyrights...). So, peoples who made new templates can add these variables...

[quote=David]Since these are items that would not change (or not much?) once a site is built, my sense too is that they don't need a "function".

But having said that, at least you could use the "Admin site title" field in Administration > Settings for this ... if you wanted to! IF the {title in your admin} == {title of your site}, then 

[code]<?php echo Setting::get('admin_title'); ?>[/code]

can be used to put it anywhere you want in the frontend, too.

FWIW![/quote]
I'll test that!]]></description>
			<author><![CDATA[dummy@example.com (oweb)]]></author>
			<pubDate>Sun, 28 Feb 2010 16:35:47 +0000</pubDate>
			<guid>http://www.wolfcms.org/forum/post2043.html#p2043</guid>
		</item>
		<item>
			<title><![CDATA[Re: Add functions?]]></title>
			<link>http://www.wolfcms.org/forum/post2042.html#p2042</link>
			<description><![CDATA[Since these are items that would not change (or not much?) once a site is built, my sense too is that they don't need a "function".

But having said that, at least you could use the "Admin site title" field in Administration > Settings for this ... if you wanted to! IF the {title in your admin} == {title of your site}, then 

[code]<?php echo Setting::get('admin_title'); ?>[/code]

can be used to put it anywhere you want in the frontend, too.

FWIW!]]></description>
			<author><![CDATA[dummy@example.com (David)]]></author>
			<pubDate>Sun, 28 Feb 2010 16:11:21 +0000</pubDate>
			<guid>http://www.wolfcms.org/forum/post2042.html#p2042</guid>
		</item>
		<item>
			<title><![CDATA[Re: Add functions?]]></title>
			<link>http://www.wolfcms.org/forum/post2040.html#p2040</link>
			<description><![CDATA[Why use functions for this? Why not just use a snippet, page part (on the Home Page) or even just put them in the Layout?]]></description>
			<author><![CDATA[dummy@example.com (mvdkleijn)]]></author>
			<pubDate>Sun, 28 Feb 2010 15:48:10 +0000</pubDate>
			<guid>http://www.wolfcms.org/forum/post2040.html#p2040</guid>
		</item>
		<item>
			<title><![CDATA[Add functions?]]></title>
			<link>http://www.wolfcms.org/forum/post2039.html#p2039</link>
			<description><![CDATA[Is it possible to implement 2 new functions?
- website name
- website slogan
It could be interesting to add these possibilities when there's a new Wolf install...]]></description>
			<author><![CDATA[dummy@example.com (oweb)]]></author>
			<pubDate>Sun, 28 Feb 2010 15:27:22 +0000</pubDate>
			<guid>http://www.wolfcms.org/forum/post2039.html#p2039</guid>
		</item>
	</channel>
</rss>

