<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Juipo Web Design &#187; Elgg Hacks</title>
	<atom:link href="http://juipo.com/category/code-hacks/elgg-hacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://juipo.com</link>
	<description>Website Design, Development, Premium and Free Website Templates, Elgg PHP HTML CSS Tips and Tricks.</description>
	<lastBuildDate>Mon, 21 May 2012 20:33:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Changing Elgg Profile Layout</title>
		<link>http://juipo.com/code-hacks/elgg-hacks/changing-elgg-profile-layout/</link>
		<comments>http://juipo.com/code-hacks/elgg-hacks/changing-elgg-profile-layout/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 21:06:10 +0000</pubDate>
		<dc:creator>Damir Gasparlin</dc:creator>
				<category><![CDATA[Elgg Hacks]]></category>

		<guid isPermaLink="false">http://juipo.com/?p=163</guid>
		<description><![CDATA[If you work with Elgg, you know that in default Elgg profile page, the Profile Fields extend into the middle column. No matter what theme you use (Elgg default or plugin) this is the default layout that is coded in Elgg core Profile plugin files. One of our clients wanted to have the Elgg Profile [...]]]></description>
			<content:encoded><![CDATA[<p>If you work with Elgg, you know that in default Elgg profile page, the Profile Fields extend into the middle column. No matter what theme you use (Elgg default or plugin) this is the default layout that is coded in Elgg core Profile plugin files.</p>
<p>One of our clients wanted to have the <a href="http://juipo.com/elgg-custom-mod/custom-profile-page/">Elgg Profile table in one single column</a> with Profile Info Fields below the Profile Icon so other widgets can be flush on the top of middle and right columns with the Profile.</p>
<p><a href="http://juipo.com/wp-content/uploads/2010/02/3colProfile.jpg" rel="facebox"><img class="alignleft size-full wp-image-164" title="SingleColumnProfile" src="http://juipo.com/wp-content/uploads/2010/02/3colProfile.jpg" alt="Profile Info Single Column Layout" width="500" height="293" /></a></p>
<p>To make these sorts of changes you need to get familiar with Elgg&#8217;s view system. This is not easy to achieve as it is controlled by Elgg core/plugin files (even though in this particular project, code was done in such way that layout is controlled by the theme itself &#8211; photo above)</p>
<p>The layout of the profile widgets and dashboard widgets is handled in: /views/default/canvas/layouts/widgets.php</p>
<p>Right now it is using tables to display profile. With some css styling and php coding this can be achieved for unique, single column user profile view.</p>
]]></content:encoded>
			<wfw:commentRss>http://juipo.com/code-hacks/elgg-hacks/changing-elgg-profile-layout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Elgg 1.5 Theme on Elgg 1.6.1</title>
		<link>http://juipo.com/code-hacks/elgg-hacks/using-elgg-1-5-theme-on-elgg-1-6-1/</link>
		<comments>http://juipo.com/code-hacks/elgg-hacks/using-elgg-1-5-theme-on-elgg-1-6-1/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 22:23:09 +0000</pubDate>
		<dc:creator>Damir Gasparlin</dc:creator>
				<category><![CDATA[Elgg Hacks]]></category>

		<guid isPermaLink="false">http://juipo.com/?p=141</guid>
		<description><![CDATA[When Elgg 1.6.1 came out with many great improvements and bug fixes, many upgraded from the 1.5 version, I was one of them. Everything looked good until I logged in and popup message showed up letting me know that I was now logged in but it was not disappearing from the screen. Even clicking on [...]]]></description>
			<content:encoded><![CDATA[<p>When Elgg 1.6.1 came out with many great improvements and bug fixes, many upgraded from the 1.5 version, I was one of them.</p>
<p><img class="alignleft size-full wp-image-143" style="padding: 8px;" src="http://juipo.com/wp-content/uploads/2010/01/elggcamp.gif" alt="" width="61" height="54" />Everything looked good until I logged in and popup message showed up letting me know that I was now logged in but it was not disappearing from the screen. Even clicking on &#8220;click to dismiss&#8221; link did not work.</p>
<p>Another problem was that elgg topbar tools dropdown menu did not drop down. It took me a while to realize that I was using elgg theme for Elgg ver. 1.5 which uses older javascript files. I wanted to use the same theme but upgraded version of the theme was not available so I uploaded js files from Elgg 1.5 vendors/js folder and replaced ones on my new 1.6.1 elgg installation. It worked but that was only a temporary fix.</p>
<p>To get the permanent fix you have to update code in your theme folder/views/default/page_elements/ header.php file so it will call the new javascript files that are included in elgg version 1.6.1</p>
<p>Look for this code:</p>
<blockquote><p>&lt;script type=&#8221;text/javascript&#8221; src=&#8221;&lt;?php echo $vars['url']; ?&gt;vendors/jquery/jquery-1.2.6.pack.js&#8221;&gt;&lt;/script&gt;<br />
&lt;script type=&#8221;text/javascript&#8221; src=&#8221;&lt;?php echo $vars['url']; ?&gt;vendors/jquery/jquery-ui-personalized-1.5.3.packed.js&#8221;&gt;&lt;/script&gt;</p></blockquote>
<p>And replace with this:</p>
<blockquote><p>&lt;script type=&#8221;text/javascript&#8221; src=&#8221;&lt;?php echo $vars['url']; ?&gt;vendors/jquery/jquery-1.3.2.min.js&#8221;&gt;&lt;/script&gt;<br />
&lt;script type=&#8221;text/javascript&#8221; src=&#8221;&lt;?php echo $vars['url']; ?&gt;vendors/jquery/jquery-ui-1.7.2.custom.min.js&#8221;&gt;&lt;/script&gt;<br />
&lt;script type=&#8221;text/javascript&#8221; src=&#8221;&lt;?php echo $vars['url']; ?&gt;vendors/jquery/jquery.form.js&#8221;&gt;&lt;/script&gt;</p></blockquote>
<p>And that should do the trick. So instead of changing to a different theme with a little copy and paste you can make your older theme work with new Elgg 1.6.1</p>
<p>If you have any problems, comment below.</p>
]]></content:encoded>
			<wfw:commentRss>http://juipo.com/code-hacks/elgg-hacks/using-elgg-1-5-theme-on-elgg-1-6-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

