<?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"
	>
<channel>
	<title>Comments on: Integration into your theme</title>
	<atom:link href="http://www.christianschenk.org/projects/wordpress-smoothgallery-plugin/integration-into-your-theme/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.christianschenk.org</link>
	<description>Writing about my experiences with technology and all different kinds of projects and experiments</description>
	<pubDate>Thu, 04 Dec 2008 01:34:52 +0000</pubDate>
	
		<item>
		<title>By: andy</title>
		<link>http://www.christianschenk.org/projects/wordpress-smoothgallery-plugin/integration-into-your-theme/#comment-3901</link>
		<dc:creator>andy</dc:creator>
		<pubDate>Wed, 03 Dec 2008 05:31:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.christianschenk.org/projects/wordpress-smoothgallery-plugin/integrate-smoothgallery-into-your-theme/#comment-3901</guid>
		<description>I have a weird problem where the smoothgallery.php css returns a 404. If I remove the 'prefix' get parameter, it works ok.
Any ideas?

Just to clarify the statement above, it’s the css link to the css code (smoothgallery.php) the plugin inserts in the head section of my html that I discovered was returning the 404.</description>
		<content:encoded><![CDATA[<p>I have a weird problem where the smoothgallery.php css returns a 404. If I remove the &#8216;prefix&#8217; get parameter, it works ok.<br />
Any ideas?</p>
<p>Just to clarify the statement above, it’s the css link to the css code (smoothgallery.php) the plugin inserts in the head section of my html that I discovered was returning the 404.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Schenk</title>
		<link>http://www.christianschenk.org/projects/wordpress-smoothgallery-plugin/integration-into-your-theme/#comment-3876</link>
		<dc:creator>Christian Schenk</dc:creator>
		<pubDate>Mon, 01 Dec 2008 10:15:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.christianschenk.org/projects/wordpress-smoothgallery-plugin/integrate-smoothgallery-into-your-theme/#comment-3876</guid>
		<description>Hi Christiaan,
After adding the images you'll have reload the edit screen. The SmoothGallery panel under &lt;em&gt;Advanced Options&lt;/em&gt; won't pick up the images until you hit reload in your browser or click &lt;em&gt;Save&lt;/em&gt;. There's no AJAX magic involved here.</description>
		<content:encoded><![CDATA[<p>Hi Christiaan,<br />
After adding the images you&#8217;ll have reload the edit screen. The SmoothGallery panel under <em>Advanced Options</em> won&#8217;t pick up the images until you hit reload in your browser or click <em>Save</em>. There&#8217;s no AJAX magic involved here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christiaan</title>
		<link>http://www.christianschenk.org/projects/wordpress-smoothgallery-plugin/integration-into-your-theme/#comment-3856</link>
		<dc:creator>Christiaan</dc:creator>
		<pubDate>Sat, 29 Nov 2008 22:43:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.christianschenk.org/projects/wordpress-smoothgallery-plugin/integrate-smoothgallery-into-your-theme/#comment-3856</guid>
		<description>Once I add images to a post or page I just get "There aren't any images attached here" where the code is meant to be.</description>
		<content:encoded><![CDATA[<p>Once I add images to a post or page I just get &#8220;There aren&#8217;t any images attached here&#8221; where the code is meant to be.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Schenk</title>
		<link>http://www.christianschenk.org/projects/wordpress-smoothgallery-plugin/integration-into-your-theme/#comment-3880</link>
		<dc:creator>Christian Schenk</dc:creator>
		<pubDate>Wed, 26 Nov 2008 09:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.christianschenk.org/projects/wordpress-smoothgallery-plugin/integrate-smoothgallery-into-your-theme/#comment-3880</guid>
		<description>Hi Kat,
&lt;blockquote cite="http://www.christianschenk.org/projects/wordpress-smoothgallery-plugin/integration-into-your-theme/#comment-3778"&gt;I must be very stupid.&lt;/blockquote&gt;
No you're not ;) I'm sure that we'll get this working!

Can you e-mail me a link to your test post? I'll have a look at your page to see what might be wrong.

PS.: The error should be fixed in version 1.11.2.</description>
		<content:encoded><![CDATA[<p>Hi Kat,</p>
<blockquote cite="http://www.christianschenk.org/projects/wordpress-smoothgallery-plugin/integration-into-your-theme/#comment-3778"><p>I must be very stupid.</p></blockquote>
<p>No you&#8217;re not <img src='http://www.christianschenk.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> I&#8217;m sure that we&#8217;ll get this working!</p>
<p>Can you e-mail me a link to your test post? I&#8217;ll have a look at your page to see what might be wrong.</p>
<p>PS.: The error should be fixed in version 1.11.2.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kat</title>
		<link>http://www.christianschenk.org/projects/wordpress-smoothgallery-plugin/integration-into-your-theme/#comment-3778</link>
		<dc:creator>Kat</dc:creator>
		<pubDate>Tue, 25 Nov 2008 21:09:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.christianschenk.org/projects/wordpress-smoothgallery-plugin/integrate-smoothgallery-into-your-theme/#comment-3778</guid>
		<description>I must be very stupid. I have attempted to add this plugin and get it to work. I believe I followed the directions: I have WP version 2.3.1. I uploaded the plugin to my plugins folder. I then activated it.

Herein lies the problem. I do a test post. I add a couple of images and the plugin does not provide the code until I save. So I save and I follow all the directions in your video: I add the custom field and implement the shortcode. I've added the html generated code also and still, It won't work. If there's something else I need to do to the files, please tell me step by step because I'm not a programmer.
But I get this error:

Warning: Invalid argument supplied for foreach() in /home/content/e/f/o/efoliomn/html/wp-content/plugins/smoothgallery/utils.php on line 357

I don't know what to do. Please help.</description>
		<content:encoded><![CDATA[<p>I must be very stupid. I have attempted to add this plugin and get it to work. I believe I followed the directions: I have WP version 2.3.1. I uploaded the plugin to my plugins folder. I then activated it.</p>
<p>Herein lies the problem. I do a test post. I add a couple of images and the plugin does not provide the code until I save. So I save and I follow all the directions in your video: I add the custom field and implement the shortcode. I&#8217;ve added the html generated code also and still, It won&#8217;t work. If there&#8217;s something else I need to do to the files, please tell me step by step because I&#8217;m not a programmer.<br />
But I get this error:</p>
<p>Warning: Invalid argument supplied for foreach() in /home/content/e/f/o/efoliomn/html/wp-content/plugins/smoothgallery/utils.php on line 357</p>
<p>I don&#8217;t know what to do. Please help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://www.christianschenk.org/projects/wordpress-smoothgallery-plugin/integration-into-your-theme/#comment-2631</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Thu, 02 Oct 2008 21:42:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.christianschenk.org/projects/wordpress-smoothgallery-plugin/integrate-smoothgallery-into-your-theme/#comment-2631</guid>
		<description>I do web design &#38; coding for a living and I have to say the instructions here are not the clearest I have ever seen. If &lt;strong&gt;I&lt;/strong&gt; struggled to get this working, I can only imagine how many newbs get frustrated and go onto some other plugin.

This is an excellent plugin and looks great, so here are the instructions to get it working:

&lt;ol&gt;
&lt;li&gt;Open &lt;code&gt;/wp-content/plugins/smoothgallery/config.php&lt;/code&gt; and at the bottom find this: &lt;code&gt;function insertSmoothGallery()&lt;/code&gt; ... and change it so that it looks like this:
&lt;pre lang="php"&gt;
function insertSmoothGallery() {
  return array('width' =&gt; 600,
               'height' =&gt; 200,
               'timed' =&gt; 'true',
               'delay' =&gt; '5000',
               'showInfopane' =&gt; 'false',
               'showArrows' =&gt; 'true',
               'Carousel' =&gt; 'true',               
               'embedLinks' =&gt; 'false');
}
&lt;/pre&gt;

Of course, you can change the settings to your needs and image size.&lt;/li&gt;
&lt;li&gt;Use Christian's &lt;a href="http://data.christianschenk.org/wordpress-smoothgallery-plugin/" rel="nofollow"&gt;Markup generator&lt;/a&gt; or write your own code to insert on the page that you want to display the carousel. In my case, it was on the homepage and this is what it looks like: &lt;em&gt;Sorry, but WordPress stipps out the HTML&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Upload the images to the spot that you designated in your code.&lt;/li&gt;
&lt;li&gt;Refresh your page.&lt;/li&gt;
&lt;/ol&gt;

The reason I struggled to get it to work was that I had &lt;code&gt;ShowCarousel&lt;/code&gt;, which was not correct and I happen to come across the correct variable (Carousel). Before I changed that variable I got zip, nada, nothing displaying although I could see that the code found the images ok. I even reverted &lt;code&gt;config.php&lt;/code&gt; to its original state and my 5 images would display, stacked. I knew the problem had to be a setting in the plugin.

Hope this helps the next person.</description>
		<content:encoded><![CDATA[<p>I do web design &amp; coding for a living and I have to say the instructions here are not the clearest I have ever seen. If <strong>I</strong> struggled to get this working, I can only imagine how many newbs get frustrated and go onto some other plugin.</p>
<p>This is an excellent plugin and looks great, so here are the instructions to get it working:</p>
<ol>
<li>Open <code>/wp-content/plugins/smoothgallery/config.php</code> and at the bottom find this: <code>function insertSmoothGallery()</code> &#8230; and change it so that it looks like this:

<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> insertSmoothGallery<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">return</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="">'width'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">600</span><span style="color: #339933;">,</span>
               <span style="">'height'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">200</span><span style="color: #339933;">,</span>
               <span style="">'timed'</span> <span style="color: #339933;">=&gt;</span> <span style="">'true'</span><span style="color: #339933;">,</span>
               <span style="">'delay'</span> <span style="color: #339933;">=&gt;</span> <span style="">'5000'</span><span style="color: #339933;">,</span>
               <span style="">'showInfopane'</span> <span style="color: #339933;">=&gt;</span> <span style="">'false'</span><span style="color: #339933;">,</span>
               <span style="">'showArrows'</span> <span style="color: #339933;">=&gt;</span> <span style="">'true'</span><span style="color: #339933;">,</span>
               <span style="">'Carousel'</span> <span style="color: #339933;">=&gt;</span> <span style="">'true'</span><span style="color: #339933;">,</span>               
               <span style="">'embedLinks'</span> <span style="color: #339933;">=&gt;</span> <span style="">'false'</span><span style="color: #009900;">&#41;</span>;
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Of course, you can change the settings to your needs and image size.</li>
<li>Use Christian&#8217;s <a href="http://data.christianschenk.org/wordpress-smoothgallery-plugin/">Markup generator</a> or write your own code to insert on the page that you want to display the carousel. In my case, it was on the homepage and this is what it looks like: <em>Sorry, but WordPress stipps out the HTML</em></li>
<li>Upload the images to the spot that you designated in your code.</li>
<li>Refresh your page.</li>
</ol>
<p>The reason I struggled to get it to work was that I had <code>ShowCarousel</code>, which was not correct and I happen to come across the correct variable (Carousel). Before I changed that variable I got zip, nada, nothing displaying although I could see that the code found the images ok. I even reverted <code>config.php</code> to its original state and my 5 images would display, stacked. I knew the problem had to be a setting in the plugin.</p>
<p>Hope this helps the next person.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastien Page</title>
		<link>http://www.christianschenk.org/projects/wordpress-smoothgallery-plugin/integration-into-your-theme/#comment-2434</link>
		<dc:creator>Sebastien Page</dc:creator>
		<pubDate>Thu, 18 Sep 2008 16:32:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.christianschenk.org/projects/wordpress-smoothgallery-plugin/integrate-smoothgallery-into-your-theme/#comment-2434</guid>
		<description>Thanks for the quick reply :-)</description>
		<content:encoded><![CDATA[<p>Thanks for the quick reply <img src='http://www.christianschenk.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Schenk</title>
		<link>http://www.christianschenk.org/projects/wordpress-smoothgallery-plugin/integration-into-your-theme/#comment-2432</link>
		<dc:creator>Christian Schenk</dc:creator>
		<pubDate>Thu, 18 Sep 2008 16:10:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.christianschenk.org/projects/wordpress-smoothgallery-plugin/integrate-smoothgallery-into-your-theme/#comment-2432</guid>
		<description>Hi Sebastien,
if you changed the &lt;code&gt;insertSmoothGallery&lt;/code&gt; function and it doesn't return &lt;code&gt;false&lt;/code&gt; or an array that holds the options for the gallery, the &lt;code&gt;foreach&lt;/code&gt; statement will break apart.
Just replace this function with the original one and everything should be okay. If you want to integrate the gallery into your theme and you want to change that function make sure to either return an array or &lt;code&gt;false&lt;/code&gt;.</description>
		<content:encoded><![CDATA[<p>Hi Sebastien,<br />
if you changed the <code>insertSmoothGallery</code> function and it doesn&#8217;t return <code>false</code> or an array that holds the options for the gallery, the <code>foreach</code> statement will break apart.<br />
Just replace this function with the original one and everything should be okay. If you want to integrate the gallery into your theme and you want to change that function make sure to either return an array or <code>false</code>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastien Page</title>
		<link>http://www.christianschenk.org/projects/wordpress-smoothgallery-plugin/integration-into-your-theme/#comment-2415</link>
		<dc:creator>Sebastien Page</dc:creator>
		<pubDate>Wed, 17 Sep 2008 19:58:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.christianschenk.org/projects/wordpress-smoothgallery-plugin/integrate-smoothgallery-into-your-theme/#comment-2415</guid>
		<description>That's a great plugin however I am having a bit of an issue. I installed it and played with the plugin enough to have it work (that's what I thought!).

The plugin displays the images and everything but I get an error message at the top and bottom of my page saying: 

Warning: Invalid argument supplied for foreach() in /home/.minni/xxxxxx/iphonedownloadblog.com/wp-content/plugins/smoothgallery/smoothgallery.php on line 97

Line 97 is : foreach ($parameters as $key =&#62; $value) {

I really don't know what to do here.

Any help would be greatly appreciated. Thanks</description>
		<content:encoded><![CDATA[<p>That&#8217;s a great plugin however I am having a bit of an issue. I installed it and played with the plugin enough to have it work (that&#8217;s what I thought!).</p>
<p>The plugin displays the images and everything but I get an error message at the top and bottom of my page saying: </p>
<p>Warning: Invalid argument supplied for foreach() in /home/.minni/xxxxxx/iphonedownloadblog.com/wp-content/plugins/smoothgallery/smoothgallery.php on line 97</p>
<p>Line 97 is : foreach ($parameters as $key =&gt; $value) {</p>
<p>I really don&#8217;t know what to do here.</p>
<p>Any help would be greatly appreciated. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Salman</title>
		<link>http://www.christianschenk.org/projects/wordpress-smoothgallery-plugin/integration-into-your-theme/#comment-2284</link>
		<dc:creator>Salman</dc:creator>
		<pubDate>Mon, 08 Sep 2008 14:55:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.christianschenk.org/projects/wordpress-smoothgallery-plugin/integrate-smoothgallery-into-your-theme/#comment-2284</guid>
		<description>Hey man thanks for the great plugin.

im having some trouble with installation.. i did everything youve requested (im trying to include the plugin as part of my theme on the home page i.e. display featured posts) and you keep mentioning insert the HTML markup in the header.

Could you please tell me WHAT html markup? im new to programming so i have no idea how to call the plugin on my home page?

PS i think a lot of people are trying to use this to display their featured posts... maybe a tutorial just on that???

thanks!</description>
		<content:encoded><![CDATA[<p>Hey man thanks for the great plugin.</p>
<p>im having some trouble with installation.. i did everything youve requested (im trying to include the plugin as part of my theme on the home page i.e. display featured posts) and you keep mentioning insert the HTML markup in the header.</p>
<p>Could you please tell me WHAT html markup? im new to programming so i have no idea how to call the plugin on my home page?</p>
<p>PS i think a lot of people are trying to use this to display their featured posts&#8230; maybe a tutorial just on that???</p>
<p>thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
