<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://www.secretarycms.com/guide/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://www.secretarycms.com/guide/feed.php">
        <title>The Secretary | User Guide customise:themes</title>
        <description></description>
        <link>http://www.secretarycms.com/guide/</link>
        <image rdf:resource="http://www.secretarycms.com/guide/lib/images/favicon.ico" />
       <dc:date>2012-02-01T05:57:13-08:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://www.secretarycms.com/guide/customise/themes/creating-a-theme-plugin?rev=1257711803&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.secretarycms.com/guide/customise/themes/designing-themes?rev=1257706915&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.secretarycms.com/guide/customise/themes/template-tags?rev=1257709009&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://www.secretarycms.com/guide/lib/images/favicon.ico">
        <title>The Secretary | User Guide</title>
        <link>http://www.secretarycms.com/guide/</link>
        <url>http://www.secretarycms.com/guide/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://www.secretarycms.com/guide/customise/themes/creating-a-theme-plugin?rev=1257711803&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-11-08T12:23:23-08:00</dc:date>
        <title>customise:themes:creating-a-theme-plugin</title>
        <link>http://www.secretarycms.com/guide/customise/themes/creating-a-theme-plugin?rev=1257711803&amp;do=diff</link>
        <description>Themes can include plugins that can add a settings panel to the back-end, hook into other modules or even add new template tags to display content in a special way exclusive to the theme. 

In this tutorial, we will look at the plugin file for the theme used on Mikael Stær's website (the developer of The Secretary). It covers installation and uninstallation functionality of themes, how to create a theme settings panel, and how to introduce a new template tag.</description>
    </item>
    <item rdf:about="http://www.secretarycms.com/guide/customise/themes/designing-themes?rev=1257706915&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-11-08T11:01:55-08:00</dc:date>
        <title>Some Explanations</title>
        <link>http://www.secretarycms.com/guide/customise/themes/designing-themes?rev=1257706915&amp;do=diff</link>
        <description>Designing a theme for The Secretary is very straightforward. Themes consist of a CSS file, layout files and templates, which are a mix of HTML and PHP template tags. 

The best way to design a theme is to copy the default theme, Aplonis, and begin editing from there.</description>
    </item>
    <item rdf:about="http://www.secretarycms.com/guide/customise/themes/template-tags?rev=1257709009&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-11-08T11:36:49-08:00</dc:date>
        <title>customise:themes:template-tags</title>
        <link>http://www.secretarycms.com/guide/customise/themes/template-tags?rev=1257709009&amp;do=diff</link>
        <description>setting(string $name, [int $field]) returns string or array 

This function returns the value of a specific setting from the global_settings table in the database. If $field (1-3) is not given, an array is returned containing all three values. 

 
&lt;?php 
$siteInfo= setting( &quot;site&quot; ); 
/* 
returns Array ( 
		[data1] =&gt; The Secretary, 
		[data2] =&gt; http://www.secretarycms.com 
		[data3] =&gt; 
	) 
*/ 

$siteInfo= setting( &quot;site&quot;, 2 ); 
/* returns http://www.secretarycms.com */ 
?&gt;</description>
    </item>
</rdf:RDF>
