<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: All about themes</title>
	<atom:link href="http://www.marcus-povey.co.uk/2008/09/15/all-about-themes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.marcus-povey.co.uk/2008/09/15/all-about-themes/</link>
	<description>Making the world a better place, one byte at a time...</description>
	<lastBuildDate>Fri, 27 Jan 2012 17:12:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: david</title>
		<link>http://www.marcus-povey.co.uk/2008/09/15/all-about-themes/comment-page-1/#comment-1568</link>
		<dc:creator>david</dc:creator>
		<pubDate>Mon, 29 Dec 2008 11:38:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=87#comment-1568</guid>
		<description>Tom I would think if you can override the view with you theme plugin if you replace view with the plugin you would like to extend it might work, maybe /mod/myplugin/mod/profile/views/default/icon/user/default/topbar.php but alas I am a newbie to elgg.</description>
		<content:encoded><![CDATA[<p>Tom I would think if you can override the view with you theme plugin if you replace view with the plugin you would like to extend it might work, maybe /mod/myplugin/mod/profile/views/default/icon/user/default/topbar.php but alas I am a newbie to elgg.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Kiss</title>
		<link>http://www.marcus-povey.co.uk/2008/09/15/all-about-themes/comment-page-1/#comment-1009</link>
		<dc:creator>Tom Kiss</dc:creator>
		<pubDate>Mon, 06 Oct 2008 10:07:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=87#comment-1009</guid>
		<description>OK. After some poking around, my question there needs to be more specific, sorry for the repost.

How would I, in my theme plugin, edit the layout of the &#039;topbar&#039; in Elgg?
OR, as another example, the users profile page?</description>
		<content:encoded><![CDATA[<p>OK. After some poking around, my question there needs to be more specific, sorry for the repost.</p>
<p>How would I, in my theme plugin, edit the layout of the &#8216;topbar&#8217; in Elgg?<br />
OR, as another example, the users profile page?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Kiss</title>
		<link>http://www.marcus-povey.co.uk/2008/09/15/all-about-themes/comment-page-1/#comment-1008</link>
		<dc:creator>Tom Kiss</dc:creator>
		<pubDate>Mon, 06 Oct 2008 09:26:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=87#comment-1008</guid>
		<description>Nice post.

I have a question for you then - Without this knowledge, I have gone ahead with a dev version an elgg install and I&#039;ve just set about tearing the default view apart in order to change colours etc.

This is horrid though and I need to keep things in their own seperate space.

The thing that confuses me is the number of plugins and modules that are installed (extra ones too), all seem to have their own seperate views to edit.

Even just editing the default view meant trawling through hundreds of folders and files in order to fine the right file to edit the pages appearance.

I&#039;ve found this process very offputting.

If I am building my theme as a plugin, how do I test it thoroughly? How can see all the possible pages of the site and work out if my theme is working its magic in all the right places?
Will *all* my theme files be neatly within my plugins folder?

It would be nice if there were some official &#039;themes&#039; (literally, just &#039;design&#039; themes, not content themes necessarily available to view) and I think once there is one available, it should helpe people to understand.</description>
		<content:encoded><![CDATA[<p>Nice post.</p>
<p>I have a question for you then &#8211; Without this knowledge, I have gone ahead with a dev version an elgg install and I&#8217;ve just set about tearing the default view apart in order to change colours etc.</p>
<p>This is horrid though and I need to keep things in their own seperate space.</p>
<p>The thing that confuses me is the number of plugins and modules that are installed (extra ones too), all seem to have their own seperate views to edit.</p>
<p>Even just editing the default view meant trawling through hundreds of folders and files in order to fine the right file to edit the pages appearance.</p>
<p>I&#8217;ve found this process very offputting.</p>
<p>If I am building my theme as a plugin, how do I test it thoroughly? How can see all the possible pages of the site and work out if my theme is working its magic in all the right places?<br />
Will *all* my theme files be neatly within my plugins folder?</p>
<p>It would be nice if there were some official &#8216;themes&#8217; (literally, just &#8216;design&#8217; themes, not content themes necessarily available to view) and I think once there is one available, it should helpe people to understand.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas Heissenberger</title>
		<link>http://www.marcus-povey.co.uk/2008/09/15/all-about-themes/comment-page-1/#comment-828</link>
		<dc:creator>Andreas Heissenberger</dc:creator>
		<pubDate>Sat, 20 Sep 2008 01:16:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=87#comment-828</guid>
		<description>Hi, how do I override images, icons from plugins and from parts of the core which are not referenced through the main CSS.

Thanks
Andreas</description>
		<content:encoded><![CDATA[<p>Hi, how do I override images, icons from plugins and from parts of the core which are not referenced through the main CSS.</p>
<p>Thanks<br />
Andreas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus Povey</title>
		<link>http://www.marcus-povey.co.uk/2008/09/15/all-about-themes/comment-page-1/#comment-770</link>
		<dc:creator>Marcus Povey</dc:creator>
		<pubDate>Tue, 16 Sep 2008 09:00:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=87#comment-770</guid>
		<description>@Diego

Overloading is done based on file location.

The core has a view hierarchy under /views/**

The plugin also has a view hierarchy under /mod/myplugin/views/**, which the engine then merges into /views/** in memory at runtime. 

So, if in a plugin you have a file /mod/myplugin/views/default/whatever.php it will replace at runtime the file /views/default/whatever.php from core.

The engine doesn&#039;t currently flag when this has happened, it just replaced.

Make sense?</description>
		<content:encoded><![CDATA[<p>@Diego</p>
<p>Overloading is done based on file location.</p>
<p>The core has a view hierarchy under /views/**</p>
<p>The plugin also has a view hierarchy under /mod/myplugin/views/**, which the engine then merges into /views/** in memory at runtime. </p>
<p>So, if in a plugin you have a file /mod/myplugin/views/default/whatever.php it will replace at runtime the file /views/default/whatever.php from core.</p>
<p>The engine doesn&#8217;t currently flag when this has happened, it just replaced.</p>
<p>Make sense?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diego Ramírez</title>
		<link>http://www.marcus-povey.co.uk/2008/09/15/all-about-themes/comment-page-1/#comment-766</link>
		<dc:creator>Diego Ramírez</dc:creator>
		<pubDate>Tue, 16 Sep 2008 01:10:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=87#comment-766</guid>
		<description>Hi Marcus, Thanks for this article it is very helpful.

However there is a little detail that maybe could be confusing for some people (like me :D).

It is, how the &quot;overwrite&quot; view method works?

For example in the groups plugin you can see:

extend_view(&quot;profile/icon&quot;,&quot;groups/icon&quot;);

and if you check the code at profile/icon you can see some code that uses $vars[&quot;overwrite&quot;]. How defines if its the extension overwriting or not a view?

Thanks a lot.</description>
		<content:encoded><![CDATA[<p>Hi Marcus, Thanks for this article it is very helpful.</p>
<p>However there is a little detail that maybe could be confusing for some people (like me <img src='http://www.marcus-povey.co.uk/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> ).</p>
<p>It is, how the &#8220;overwrite&#8221; view method works?</p>
<p>For example in the groups plugin you can see:</p>
<p>extend_view(&#8220;profile/icon&#8221;,&#8221;groups/icon&#8221;);</p>
<p>and if you check the code at profile/icon you can see some code that uses $vars["overwrite"]. How defines if its the extension overwriting or not a view?</p>
<p>Thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://www.marcus-povey.co.uk/2008/09/15/all-about-themes/comment-page-1/#comment-764</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 15 Sep 2008 20:10:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=87#comment-764</guid>
		<description>I know I have seen this before while looking at code in plugins. Now it all makes sense!

A new tool to work with!

Thanks</description>
		<content:encoded><![CDATA[<p>I know I have seen this before while looking at code in plugins. Now it all makes sense!</p>
<p>A new tool to work with!</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

