<?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: Contact</title>
	<atom:link href="http://www.swpframework.com/contact/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.swpframework.com</link>
	<description>making it easy for programmers to create wordpress plugins</description>
	<lastBuildDate>Tue, 24 Aug 2010 14:55:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Phil Manzano</title>
		<link>http://www.swpframework.com/contact/#comment-13</link>
		<dc:creator>Phil Manzano</dc:creator>
		<pubDate>Tue, 24 Aug 2010 14:55:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.swpframework.com/?page_id=18#comment-13</guid>
		<description>Hi,

Looks like you developed what I&#039;m looking for but the latest version (as stated in changelog) is not available at wordpress or your website. 

Would you please indicate me where I can download 0.9.2?
Thanks

Phil Manzano</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Looks like you developed what I&#8217;m looking for but the latest version (as stated in changelog) is not available at wordpress or your website. </p>
<p>Would you please indicate me where I can download 0.9.2?<br />
Thanks</p>
<p>Phil Manzano</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Regis Zaleman</title>
		<link>http://www.swpframework.com/contact/#comment-6</link>
		<dc:creator>Regis Zaleman</dc:creator>
		<pubDate>Wed, 25 Nov 2009 15:32:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.swpframework.com/?page_id=18#comment-6</guid>
		<description>Hi Leonado! Thanks for the great plugin framework. I have looked at a few and yours is definitely the one I like the best. I am implementing it right now for a custom enterprise solution, but I will try to create plugins for the community right after this. If you don&#039;t mind, I can send you my two cents every so often. I am not an advanced programmer like you, but hey, you never kow, I could have a good idea! ;)
My first comment: in the functions file, I like better to gather all my includes in one function for js and one function for css. They can be grouped because they are in the same hook. What do you think? (code below)

##  ----------------------------------------------
##				LOAD PLUGIN CSS
##  ----------------------------------------------

add_action(&#039;admin_head&#039;, &#039;myplugin_load_css&#039;);

function myplugin_load_css()
{
	## -- Load CSS for options page
	if ( strpos($_SERVER[&#039;REQUEST_URI&#039;], &#039;myplugin-options&#039; ) !== false ) { # load css for options page
		echo &#039;&#039;.&quot;\n&quot;;
		echo &#039;&#039;.&quot;\n&quot;;
	}
	## -- Load CSS for menus page
	else if ( strpos($_SERVER[&#039;REQUEST_URI&#039;], &#039;myplugin-submenu-setup&#039; ) !== false ) { # verify menus page is loaded
		echo &#039;&#039;.&quot;\n&quot;;
	}
}

##  ----------------------------------------------
##			LOAD PLUGIN JAVACRIPT
##  ----------------------------------------------

add_action( &#039;init&#039;, &#039;myplugin_load_js&#039; );

function myplugin_load_js()
{
	## -- Load JS for options page
	if ( strpos($_SERVER[&#039;REQUEST_URI&#039;], &#039;myplugin-options&#039; ) !== false ) { # load js for options page

		wp_enqueue_script( &#039;myplugin_farbtastic&#039;, plugins_url(&#039;widgets/myplugin_farbtastic.js&#039;, __FILE__), array( &#039;jquery&#039;, &#039;farbtastic&#039;, &#039;rgbcolor&#039; ) ); // this is very important
		wp_enqueue_script( &#039;rgbcolor&#039;, plugins_url(&#039;widgets/rgbcolor.js&#039;, __FILE__)   );
	    add_action(&#039;admin_footer&#039;, &#039;ssp_insert_colorpicker&#039;);
		function ssp_insert_colorpicker()
		{
			echo &quot;\n&quot;;
			echo &#039; &#039;.&quot;\n&quot;;
			echo &quot;\n&quot;;
		}
	}
	## -- LOAD JAVASCRIPT FOR MENUS PAGE
	else if ( strpos($_SERVER[&#039;REQUEST_URI&#039;], &#039;myplugin-submenu-setup&#039; ) !== false ) {
		wp_enqueue_script( &#039;myplugin_js_menus&#039;, plugins_url(&#039;js/myplugin_menus.js&#039;, __FILE__), array(&#039;jquery&#039;));
	}
}
</description>
		<content:encoded><![CDATA[<p>Hi Leonado! Thanks for the great plugin framework. I have looked at a few and yours is definitely the one I like the best. I am implementing it right now for a custom enterprise solution, but I will try to create plugins for the community right after this. If you don&#8217;t mind, I can send you my two cents every so often. I am not an advanced programmer like you, but hey, you never kow, I could have a good idea! <img src='http://www.swpframework.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
My first comment: in the functions file, I like better to gather all my includes in one function for js and one function for css. They can be grouped because they are in the same hook. What do you think? (code below)</p>
<p>##  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
##				LOAD PLUGIN CSS<br />
##  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>add_action(&#8216;admin_head&#8217;, &#8216;myplugin_load_css&#8217;);</p>
<p>function myplugin_load_css()<br />
{<br />
	## &#8212; Load CSS for options page<br />
	if ( strpos($_SERVER['REQUEST_URI'], &#8216;myplugin-options&#8217; ) !== false ) { # load css for options page<br />
		echo &#8221;.&#8221;\n&#8221;;<br />
		echo &#8221;.&#8221;\n&#8221;;<br />
	}<br />
	## &#8212; Load CSS for menus page<br />
	else if ( strpos($_SERVER['REQUEST_URI'], &#8216;myplugin-submenu-setup&#8217; ) !== false ) { # verify menus page is loaded<br />
		echo &#8221;.&#8221;\n&#8221;;<br />
	}<br />
}</p>
<p>##  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
##			LOAD PLUGIN JAVACRIPT<br />
##  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>add_action( &#8216;init&#8217;, &#8216;myplugin_load_js&#8217; );</p>
<p>function myplugin_load_js()<br />
{<br />
	## &#8212; Load JS for options page<br />
	if ( strpos($_SERVER['REQUEST_URI'], &#8216;myplugin-options&#8217; ) !== false ) { # load js for options page</p>
<p>		wp_enqueue_script( &#8216;myplugin_farbtastic&#8217;, plugins_url(&#8216;widgets/myplugin_farbtastic.js&#8217;, __FILE__), array( &#8216;jquery&#8217;, &#8216;farbtastic&#8217;, &#8216;rgbcolor&#8217; ) ); // this is very important<br />
		wp_enqueue_script( &#8216;rgbcolor&#8217;, plugins_url(&#8216;widgets/rgbcolor.js&#8217;, __FILE__)   );<br />
	    add_action(&#8216;admin_footer&#8217;, &#8217;ssp_insert_colorpicker&#8217;);<br />
		function ssp_insert_colorpicker()<br />
		{<br />
			echo &#8220;\n&#8221;;<br />
			echo &#8216; &#8216;.&#8221;\n&#8221;;<br />
			echo &#8220;\n&#8221;;<br />
		}<br />
	}<br />
	## &#8212; LOAD JAVASCRIPT FOR MENUS PAGE<br />
	else if ( strpos($_SERVER['REQUEST_URI'], &#8216;myplugin-submenu-setup&#8217; ) !== false ) {<br />
		wp_enqueue_script( &#8216;myplugin_js_menus&#8217;, plugins_url(&#8216;js/myplugin_menus.js&#8217;, __FILE__), array(&#8216;jquery&#8217;));<br />
	}<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- This Quick Cache file was built for (  www.swpframework.com/contact/feed/ ) in 0.32856 seconds, on Sep 8th, 2010 at 1:25 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Sep 8th, 2010 at 2:25 am UTC -->