<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;Ak8MSXs9eip7ImA9WhRbEkk.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079</id><updated>2012-02-02T22:01:28.562-08:00</updated><category term="mobile" /><category term="flash" /><category term="javascript" /><category term="SQL" /><category term="coldfusion" /><category term="admin" /><category term="debugging" /><category term="html5" /><category term="joomla" /><category term="Titanium" /><category term="iframe" /><category term="as3" /><category term="csvi" /><category term="remote address" /><category term="private messages" /><category term="adobe" /><category term="analytics" /><category term="vbulletin" /><category term="template" /><category term="k2" /><category term="t-sql" /><category term="firefox" /><category term="FedEx" /><category term="module" /><category term="excel" /><category term="plugin" /><category term="spam" /><category term="rss" /><category term="k2mart" /><category term="IE issues" /><category term="email" /><category term="datePicker" /><category term="image" /><category term="gantry" /><category term="mootools" /><category term="IE7" /><category term="snippet" /><category term="jQuery" /><category term="mysql" /><category term="thickbox" /><category term="php" /><category term="rokstories" /><category term="sh404sef" /><category term="phpmyadmin" /><category term="squeezebox" /><category term="import/export" /><category term="ideas" /><category term="API" /><category term="wordpress" /><category term="Auto post" /><category term="Shipping" /><category term="outlook" /><category term="userport" /><category term="reservation" /><category term="slider" /><category term="ppc" /><category term="twitter" /><category term="IE8" /><category term="virtuemart" /><category term="jQueryUI" /><category term="feedburner" /><category term="error" /><category term="modalizer" /><category term="widget" /><category term="rockettheme" /><category term="virutemart" /><category term="zip" /><category term="google" /><category term="xhr" /><title>CodePyro</title><subtitle type="html">a blog about programming, ideas, and interesting tech</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://blog.codepyro.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://blog.codepyro.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_kn9del4J-Kc/StlOrrOrdtI/AAAAAAAAC00/qRlFz_YCsig/S220/me+by+the+lake.JPG" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>53</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/Codepyro" /><feedburner:info uri="codepyro" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>Codepyro</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><entry gd:etag="W/&quot;A0IMR3wzfSp7ImA9WhRUF0w.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-9182850292072585888</id><published>2012-01-27T18:59:00.000-08:00</published><updated>2012-01-27T18:59:46.285-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-27T18:59:46.285-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="php" /><category scheme="http://www.blogger.com/atom/ns#" term="vbulletin" /><title>vbulletin error after upgrading php "includes/init.php Line: 49"</title><content type="html">If you are getting the below errors with vBulletin after upgrading php. &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Deprecated: Assigning the return value of new by reference is deprecated in E:\websites\dynamic\gtglass\a2hosting_forum\includes\init.php on line 383&lt;br /&gt;
&lt;br /&gt;
Deprecated: Assigning the return value of new by reference is deprecated in E:\websites\dynamic\gtglass\a2hosting_forum\includes\class_core.php on line 2529&lt;br /&gt;
&lt;br /&gt;
Unable to add cookies, header already sent.&lt;br /&gt;
File: E:\websites\dynamic\gtglass\a2hosting_forum\includes\init.php&lt;br /&gt;
Line: 49&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To fix &lt;br /&gt;
Try replacing&lt;br /&gt;
&lt;br /&gt;
error_reporting(E_ALL &amp; ~E_NOTICE);&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
error_reporting(E_ALL &amp; ~E_NOTICE &amp; ~8192); &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then replace all occurances of '=&amp;' with '='&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-9182850292072585888?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/AjtSCv_oW9_93bm8Q0BwujC-y2g/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AjtSCv_oW9_93bm8Q0BwujC-y2g/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/AjtSCv_oW9_93bm8Q0BwujC-y2g/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AjtSCv_oW9_93bm8Q0BwujC-y2g/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/Bl42BqcUTqM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/9182850292072585888/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2012/01/vbulletin-error-after-upgrading-php.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/9182850292072585888?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/9182850292072585888?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/Bl42BqcUTqM/vbulletin-error-after-upgrading-php.html" title="vbulletin error after upgrading php &quot;includes/init.php Line: 49&quot;" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_kn9del4J-Kc/StlOrrOrdtI/AAAAAAAAC00/qRlFz_YCsig/S220/me+by+the+lake.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2012/01/vbulletin-error-after-upgrading-php.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0cDRX49eip7ImA9WhRUFk8.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-1717298492589355058</id><published>2012-01-26T16:44:00.000-08:00</published><updated>2012-01-26T16:44:34.062-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-26T16:44:34.062-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="joomla" /><category scheme="http://www.blogger.com/atom/ns#" term="plugin" /><category scheme="http://www.blogger.com/atom/ns#" term="virtuemart" /><title>Joomla Virtuemart Product search plugin not finding products</title><content type="html">The vmxsearch.plugin that comes with Virtuemart to integrate product search into the normal joomla website search works great once its configured. Some products may not show in the search results. &lt;br /&gt;
&lt;br /&gt;
The main cause for this is if the product is out of stock. In my case I had a -2 in the stock amount for the products that were not showing. &lt;br /&gt;
&lt;br /&gt;
Change this by going into the admin-&gt;virtuemart-&gt;product list-&gt; edit product and change the stock on the Product Status Tab.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-1717298492589355058?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/146Chq6Huvk0VP_DJ0uZyyiubSY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/146Chq6Huvk0VP_DJ0uZyyiubSY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/146Chq6Huvk0VP_DJ0uZyyiubSY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/146Chq6Huvk0VP_DJ0uZyyiubSY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/4TsRK1AFtKU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/1717298492589355058/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2012/01/joomla-virtuemart-product-search-plugin.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/1717298492589355058?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/1717298492589355058?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/4TsRK1AFtKU/joomla-virtuemart-product-search-plugin.html" title="Joomla Virtuemart Product search plugin not finding products" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_kn9del4J-Kc/StlOrrOrdtI/AAAAAAAAC00/qRlFz_YCsig/S220/me+by+the+lake.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2012/01/joomla-virtuemart-product-search-plugin.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0IESXgzfSp7ImA9WhRXFU0.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-7637248690903975553</id><published>2011-12-21T14:05:00.000-08:00</published><updated>2011-12-21T14:11:48.685-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-21T14:11:48.685-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="wordpress" /><category scheme="http://www.blogger.com/atom/ns#" term="slider" /><title>How to Add  an image link to a Nivo Slider using Next Gen Gallery for Wordpress</title><content type="html">This setup is for when you need to use a custom field say a Link for your Next Gen Gallery images while viewing the images in a Nivo Slider. In particular I am using the Easy Nivo Slider. &lt;br /&gt;
&lt;br /&gt;
First get your gallery setup with all of your images. Next go get the &lt;a href="http://wordpress.org/extend/plugins/nextgen-gallery-custom-fields/"&gt;Next Gen Gallery Custom Fields &lt;/a&gt;. Once the plugin is installed add a new field called "link", now each of your images will have a link field in the gallery manager. Fill out a link for each. &lt;br /&gt;
&lt;br /&gt;
Next in the Easy Nivo Slider get that plugged into an article or in one of your templates. Once that is done and the slideshow is running at the dimensions that you need. Your ready to add the custom fields to the output.&lt;br /&gt;
&lt;br /&gt;
The Custom fields in the Next Gen gallery are not called in the Easy Nivo Slider so we will need to use some functions to get the particular field. &lt;br /&gt;
&lt;br /&gt;
Open up the file plugins/easy-nivo-slider/nextgen/list-images.php &lt;br /&gt;
&lt;br /&gt;
You should find the php code that displays the image tag around 185.&lt;br /&gt;
&lt;pre class="brush: plain"&gt;echo '&amp;lt;img src=&amp;quot;'.$image-&amp;gt;imageURL.'&amp;quot; '. $image_description.$size.' border=&amp;quot;0&amp;quot; /&amp;gt;';
&lt;/pre&gt;&lt;br /&gt;
Just before that code we are going to add the php to output our new custom link field. &lt;br /&gt;
We will use the function from the Next Gen Gallery Custom Fields functions.php file called nggcf_get_field. It takes 2 parameters ('PHOTO ID','CUSTOM FIELD NAME')&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: plain"&gt;//get the field value from the Next Gen Gallery Custom Fields using the photo id
  $linkval= nggcf_get_field($result-&amp;gt;pid,'link');
  if($linkval !='')
     echo &amp;quot;&amp;lt;a href=\&amp;quot;&amp;quot; . $linkval . &amp;quot;\&amp;quot;&amp;gt;&amp;quot;;
&lt;/pre&gt;&lt;br /&gt;
So thats it now you have outputted your custom field of link before the image is ouput. I would also reccomend closing the a tag after the image is displayed. Here is the full snippet.&lt;br /&gt;
&lt;pre class="brush: plain"&gt;//codepyro hack using the next gen gallery custom fields to get  the custom field of link for each photo
              $linkval= nggcf_get_field($result-&amp;gt;pid,'link');
             if($linkval !='')
               echo &amp;quot;&amp;lt;a href=\&amp;quot;&amp;quot; . $linkval . &amp;quot;\&amp;quot;&amp;gt;&amp;quot;;

            // Output the image
            // Note that this outputs the original nextgen image, not the resized one.  need to figure out how
            // to get that one, if it exists

            echo '&amp;lt;img src=&amp;quot;'.$image-&amp;gt;imageURL.'&amp;quot; '. $image_description . $size .' border=&amp;quot;0&amp;quot; /&amp;gt;';

             if($linkval !='')
                 echo '&amp;lt;/a&amp;gt;';
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-7637248690903975553?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/zfJNb3e29HwdVcF_2mGn9yo-TUk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zfJNb3e29HwdVcF_2mGn9yo-TUk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/zfJNb3e29HwdVcF_2mGn9yo-TUk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zfJNb3e29HwdVcF_2mGn9yo-TUk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/NvjsFNROFEw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/7637248690903975553/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2011/12/how-to-add-link-for-each-image-in-nivo.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/7637248690903975553?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/7637248690903975553?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/NvjsFNROFEw/how-to-add-link-for-each-image-in-nivo.html" title="How to Add  an image link to a Nivo Slider using Next Gen Gallery for Wordpress" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_kn9del4J-Kc/StlOrrOrdtI/AAAAAAAAC00/qRlFz_YCsig/S220/me+by+the+lake.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2011/12/how-to-add-link-for-each-image-in-nivo.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0YESXY8eip7ImA9WhRXFE4.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-3410199292675363500</id><published>2011-12-20T17:31:00.000-08:00</published><updated>2011-12-20T17:31:48.872-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-20T17:31:48.872-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="t-sql" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><title>MSSQL subquery as a list.. i.e. return categories as a select item</title><content type="html">If you have ever wondered how to return a list of categories with a select statement heres the answer. It actually comes from &lt;a href="http://stackoverflow.com/questions/3447309/convert-sql-subquery-to-list-or-varchar"&gt;StackOverflow&lt;/a&gt;.This is a repost so I can find it later as I am sure that I have needed to do this about 20 times in the past.&lt;br /&gt;
&lt;br /&gt;
This is Really clever and full credit goes to this really Smart guy Niikola&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is a simple-ish query, gets some user data along with the list of categories. The Category table is separate with a linking table called contact_category_xref which holds the category id and the contact id associated.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: plain"&gt;SELECT
c.id,
c.FirstName,
c.LastName,
c.email,
c.City,
c.State,
&lt;!---Amazing query to combine the reference table select into a list---&gt;
Stuff((select ','+cat.name from category cat left join 
        contact_category_xref x
        on cat.id = x.catid
        where x.contactid = c.id
        For XML PATH('')),1,1,'') as categoryList
FROM contacts c 

&lt;/pre&gt;&lt;br /&gt;
Ill attempt some explanation, feel free to jump in and offer corrections please.&lt;br /&gt;
&lt;br /&gt;
The first bit of Magic comes in the form of the "For XML Path('')" command in sql returns the query columns as XML which is incredibly handy. &lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: plain"&gt;  "&lt;name&gt;pizza&lt;/name&gt;,&lt;name&gt;pie&lt;/name&gt;"
&lt;/pre&gt;&lt;br /&gt;
Now to get rid of the xml portion concatenating the comma before the cat.name   returns the list without XML. example ',pizza,pie,cookies,snickers'&lt;br /&gt;
&lt;i&gt;I have no Idea how this works or why but it does. Please feel free to explain if you know.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
So Whats left is the STUFF command which removes the first character for 1 character in length and replaces it with ''. Which means we are left with our nicely formatted list 'pizza,pie,cookies,snickers'.&lt;br /&gt;
&lt;br /&gt;
Pretty COOL i must say.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-3410199292675363500?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/VvEnW_OYgA9NwJ0SJxftSJSSnd4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VvEnW_OYgA9NwJ0SJxftSJSSnd4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/VvEnW_OYgA9NwJ0SJxftSJSSnd4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VvEnW_OYgA9NwJ0SJxftSJSSnd4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/87-Q6L-wUnM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/3410199292675363500/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2011/12/mssql-subquery-as-list-ie-return.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/3410199292675363500?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/3410199292675363500?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/87-Q6L-wUnM/mssql-subquery-as-list-ie-return.html" title="MSSQL subquery as a list.. i.e. return categories as a select item" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_kn9del4J-Kc/StlOrrOrdtI/AAAAAAAAC00/qRlFz_YCsig/S220/me+by+the+lake.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2011/12/mssql-subquery-as-list-ie-return.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0cARH4ycCp7ImA9WhRQGE4.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-1360279908156067534</id><published>2011-12-13T19:57:00.000-08:00</published><updated>2011-12-13T19:57:25.098-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-13T19:57:25.098-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="wordpress" /><category scheme="http://www.blogger.com/atom/ns#" term="mobile" /><title>Size Nivo slideshows for mobile using CSS</title><content type="html">Yep, you sure can scale and re-size the Nivo and many other jQuery or Mootools slideshows using CSS media queries. &lt;br /&gt;
&lt;br /&gt;
To get started I am using&lt;br /&gt;
The &lt;a href="http://www.theemeraldcurtain.com/wordpress-plugin/easy-nivo-slider/"&gt;easy-nivo-slider &lt;/a&gt; for Wordpress. This is in conjunction with Really Nice &lt;a href="http://alexrabe.de/wordpress-plugins/nextgen-gallery/"&gt;NextGen Wordpress Gallery&lt;/a&gt; Manager plugin. &lt;br /&gt;
&lt;i&gt; (If you need to learn these just visit their respective pages.)&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Now to the quick goodies. I am only showing the normal website width and a small mobile. I would reccomend setting another media query for around 768px wide, or go look up common &lt;a href="http://mobiforge.com/designing/story/effective-design-multiple-screen-sizes"&gt;mobile device screen sizes&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: plain"&gt;//Normal width of a website
 .easy-nivo-slider-first
{ 
  width:700px;
}

//CSS media Query for screen sizes less than or equal too 320px wide
@media only screen and (max-width: 320px) {
 .easy-nivo-slider-first
{  
width:300px;
}

&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-1360279908156067534?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/2vXrlyS18-wTILoZsW-eE4CFo_k/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2vXrlyS18-wTILoZsW-eE4CFo_k/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/2vXrlyS18-wTILoZsW-eE4CFo_k/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2vXrlyS18-wTILoZsW-eE4CFo_k/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/c-RsgcWzl8M" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/1360279908156067534/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2011/12/size-nivo-slideshows-for-mobile-using.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/1360279908156067534?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/1360279908156067534?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/c-RsgcWzl8M/size-nivo-slideshows-for-mobile-using.html" title="Size Nivo slideshows for mobile using CSS" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_kn9del4J-Kc/StlOrrOrdtI/AAAAAAAAC00/qRlFz_YCsig/S220/me+by+the+lake.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2011/12/size-nivo-slideshows-for-mobile-using.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A08GQ3c4fSp7ImA9WhRRGEk.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-103610424622461261</id><published>2011-12-02T10:15:00.000-08:00</published><updated>2011-12-02T10:17:02.935-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-02T10:17:02.935-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="outlook" /><category scheme="http://www.blogger.com/atom/ns#" term="import/export" /><title>Export Lists from Outlook to csv</title><content type="html">Open up the contacts&lt;br /&gt;
Click to highlight a list&lt;br /&gt;
Choose File-&gt;Save As&lt;br /&gt;
Change the Save As Type to "Text Only .txt"&lt;br /&gt;
&lt;br /&gt;
Save the file&lt;br /&gt;
Then open excel&lt;br /&gt;
Next goto File-&gt;Open Choose your file &lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-zM6izFf5C-s/TtkVseyNvaI/AAAAAAAADEs/8htkfjk_0tw/s1600/Untitled-1.jpg" imageanchor="1" style="clear:right; float:right; margin-left:1em; margin-bottom:1em"&gt;&lt;img border="0" height="230" width="320" src="http://2.bp.blogspot.com/-zM6izFf5C-s/TtkVseyNvaI/AAAAAAAADEs/8htkfjk_0tw/s320/Untitled-1.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;You should get a popup "Text Import Wizard" asking you about delimited, just leave the default. &lt;br /&gt;
- Choose Next&lt;br /&gt;
- make sure Tab is checked&lt;br /&gt;
- Click Finish&lt;br /&gt;
&lt;br /&gt;
Next choose File-&gt;Save As&lt;br /&gt;
Save your file as a csv&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-103610424622461261?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZjjlWB7KwOkH2f4iGIuVJaDM_jc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZjjlWB7KwOkH2f4iGIuVJaDM_jc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ZjjlWB7KwOkH2f4iGIuVJaDM_jc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZjjlWB7KwOkH2f4iGIuVJaDM_jc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/RIbXHoEsL2o" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/103610424622461261/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2011/12/export-lists-from-outlook.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/103610424622461261?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/103610424622461261?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/RIbXHoEsL2o/export-lists-from-outlook.html" title="Export Lists from Outlook to csv" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_kn9del4J-Kc/StlOrrOrdtI/AAAAAAAAC00/qRlFz_YCsig/S220/me+by+the+lake.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-zM6izFf5C-s/TtkVseyNvaI/AAAAAAAADEs/8htkfjk_0tw/s72-c/Untitled-1.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2011/12/export-lists-from-outlook.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUcMRnY8cCp7ImA9WhdSGUo.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-6646081662983312522</id><published>2011-07-29T13:58:00.000-07:00</published><updated>2011-07-29T13:58:07.878-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-29T13:58:07.878-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="html5" /><category scheme="http://www.blogger.com/atom/ns#" term="adobe" /><category scheme="http://www.blogger.com/atom/ns#" term="flash" /><title>Adobe Wallaby - flash to html5 canvas conversion tool</title><content type="html">Just gave wallaby a try with a new flash project. &lt;a href="http://labs.adobe.com/technologies/wallaby/"&gt;Wallaby&lt;/a&gt; is a beta utility that converts flash fla to html5 svg. It has some problems but I am pretty impressed with it thus far. Although it doesn't produce anything of professional quality nor create anything that can be polished. Can't wait until its a fully functional product, its about time adobe figured out a way to support more devices! &lt;br /&gt;
&lt;br /&gt;
Here are a list of &lt;a href="http://labs.adobe.com/wiki/index.php/Wallaby#Release_Notes"&gt;release notes with supported features below&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Browsers tested and sorta working:&lt;br /&gt;
Safari 5.0.3 - had some loading issues but good results&lt;br /&gt;
iPod mobile safari v???  - partly worked, not all animation loaded&lt;br /&gt;
Chrome v12.0.742.122 - best results&lt;br /&gt;
&lt;br /&gt;
Firefox 5 - dont work at all :(&lt;br /&gt;
IE9 - failure as well &lt;br /&gt;
&lt;br /&gt;
The animation came across exactly as in the flash fla (CS4). &lt;br /&gt;
Sound did not get converted&lt;br /&gt;
Buttons - hover actions and links don't work&lt;br /&gt;
&lt;br /&gt;
Convert project contains&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;jQuery 1.4.2&lt;/li&gt;
  &lt;li&gt;project_source_assets - folder for all the svg files&lt;/li&gt;
&lt;li&gt;project.html - loads all svg resource in div containers with styles for the resource/tween/sprite.&lt;/li&gt;
&lt;li&gt;project.js - file that starts animation for objects and children&lt;/li&gt;
&lt;li&gt;project.css - styles and css based webkit animations, the styles have an underscore and a number which seems to inidicate the motion or tween setup in flash.&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
i.e.   &lt;br /&gt;
&lt;pre class="brush: plain"&gt;.wlby_260
{
    -webkit-animation-duration: 0.28125s;
    display: none;
    position: absolute;
    -webkit-transform: matrix(1, 0, 0, 1, 182.55, 270.05);
}

&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-6646081662983312522?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/fdUxI-RrfB5lVDXa6HWfk_DU53I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fdUxI-RrfB5lVDXa6HWfk_DU53I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/fdUxI-RrfB5lVDXa6HWfk_DU53I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fdUxI-RrfB5lVDXa6HWfk_DU53I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/Uc1Fm2LTlQQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/6646081662983312522/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2011/07/adobe-wallaby-flash-to-html5-canvas.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/6646081662983312522?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/6646081662983312522?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/Uc1Fm2LTlQQ/adobe-wallaby-flash-to-html5-canvas.html" title="Adobe Wallaby - flash to html5 canvas conversion tool" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_kn9del4J-Kc/StlOrrOrdtI/AAAAAAAAC00/qRlFz_YCsig/S220/me+by+the+lake.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2011/07/adobe-wallaby-flash-to-html5-canvas.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck4DRX0-eip7ImA9WhdSFk4.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-8533850523890778171</id><published>2011-07-25T14:56:00.000-07:00</published><updated>2011-07-25T14:56:14.352-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-25T14:56:14.352-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="xhr" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><category scheme="http://www.blogger.com/atom/ns#" term="Titanium" /><title>Debugging Titanium xhr requests with php</title><content type="html">Authentication for xhr request for Appcelerator Titanium is difficult. During my latest bout with the cross platform mobile app platform I discovered that XHR request header variable names get renamed (aka case changes). &lt;br /&gt;
&lt;br /&gt;
For the auth part of the app being worked on requires sending a Session Key for authorization for every request after the user is logged in. For a good tutorial on how a more basic authorization might work go check out &lt;a href="http://mobile.tutsplus.com/tutorials/appcelerator/titanium-user-authentication/"&gt;Titanium User Authentication&lt;/a&gt;. In any case request headers sent from Titanium are re-cased i.e. "UserAuthKey" becomes "Userauthkey". &lt;br /&gt;
&lt;br /&gt;
To discover this lil gem of a problem after hours of poking I chose to find and use a logging utility to see what was actually being sent. &lt;br /&gt;
&lt;br /&gt;
Below is a quick php POST logging utility from &lt;a href="http://blog.apokalyptik.com/2008/03/25/logging-post-data/comment-page-1/"&gt;CodeWord&lt;/a&gt; with headers added. This logging utility serializes the incoming Post request to a logs directory. It makes it easy to see the variables being passed in and headers. &lt;br /&gt;
&lt;br /&gt;
To use, create a php file called xhrlog.php. Upload to your favorite testing server. Ensure you have a directory called "logs". Then submit your xhr POST requests to MYDOMAIN.com/xhrlog.php from php, html, android, titanium.. wherever and it'll log it for you!&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: plain"&gt;&amp;lt;?php

 
  /*function from http://blog.apokalyptik.com/2008/03/25/logging-post-data/comment-page-1/
Creates a log file of the POST request
*/ 
if ( isset($_POST) &amp;amp;&amp;amp; is_array($_POST) &amp;amp;&amp;amp; count($_POST) &amp;gt; 0 ) {
  $log_dir = dirname( __FILE__ ) . '/logs/';
  $log_name = &amp;quot;posts-&amp;quot; . $_SERVER['REMOTE_ADDR'] . &amp;quot;-&amp;quot; . date(&amp;quot;Y-m-d-H&amp;quot;) . &amp;quot;.log&amp;quot;;
  $log_entry = gmdate('r') . &amp;quot;\t&amp;quot; .serialize(parseRequestHeaders()).&amp;quot;\n &amp;quot;. $_SERVER['REQUEST_URI'] . &amp;quot;\r\n&amp;quot; . serialize($_POST) . &amp;quot;\r\n\r\n&amp;quot;;
  $fp=fopen( $log_dir . $log_name, 'a' );
  fputs($fp, $log_entry);
  fclose($fp); }
   
/*
function copied from stackoverflow http://stackoverflow.com/questions/541430/how-do-i-read-any-request-header-in-php

Parses html request headers
*/
  function parseRequestHeaders() {
    $headers = array();
    foreach($_SERVER as $key =&amp;gt; $value) {
        if (substr($key, 0, 5) &amp;lt;&amp;gt; 'HTTP_') {
            continue;
        }
        $header = str_replace(' ', '-', ucwords(str_replace('_', ' ', strtolower(substr($key, 5)))));
        $headers[$header] = $value;
    }
    return $headers;
}

?&amp;gt;


&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-8533850523890778171?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_DAKLKgaPH_g6puhHHduyWUadBk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_DAKLKgaPH_g6puhHHduyWUadBk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_DAKLKgaPH_g6puhHHduyWUadBk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_DAKLKgaPH_g6puhHHduyWUadBk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/5oaiAIghok4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/8533850523890778171/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2011/07/debugging-titanium-xhr-requests-with.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/8533850523890778171?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/8533850523890778171?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/5oaiAIghok4/debugging-titanium-xhr-requests-with.html" title="Debugging Titanium xhr requests with php" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_kn9del4J-Kc/StlOrrOrdtI/AAAAAAAAC00/qRlFz_YCsig/S220/me+by+the+lake.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2011/07/debugging-titanium-xhr-requests-with.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0cNQnY5cCp7ImA9WhdTEEQ.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-4052342934432375454</id><published>2011-07-07T19:11:00.000-07:00</published><updated>2011-07-07T19:11:33.828-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-07T19:11:33.828-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="wordpress" /><category scheme="http://www.blogger.com/atom/ns#" term="rockettheme" /><category scheme="http://www.blogger.com/atom/ns#" term="gantry" /><category scheme="http://www.blogger.com/atom/ns#" term="rokstories" /><title>Wordpress RocketTheme and RokStories issues</title><content type="html">Using RocketThemes for Joomla has been a great Joy. This week I tried one of the wordpress themes, boy what a journey. &lt;br /&gt;
&lt;br /&gt;
There seems to be some sort of caching issue and settings troubles. If you go to create your own preset, that is to say your own customized template use one of the pre-existing ones. I tried to create a separate preset and had NO-End of problems. The customized template preset would work fine and be cached for several hours then revert back to the last preset. Your best hope to get the template to work correctly is to completely over-write one of the presets. &lt;br /&gt;
&lt;br /&gt;
Anyway, enough about the dang template issues and on to the RokStories. &lt;br /&gt;
&lt;br /&gt;
In my customized template there was a "Showcase" for RokStories which by template defaults were loading 3 posts under category frontpage. The RokStories shows on every page by default. To make it show only on the homepage you need to 1st create a new override call it something useful. &lt;br /&gt;
&lt;br /&gt;
Now that you have an override you can go to the widgets admin and remove all of the widgets un-needed for the Default Gantry Settings. When happy switch to your custom override for the homepage. &lt;br /&gt;
&lt;br /&gt;
Now you would think with the override that the settings would just *work* for the homepage, BZZZZ WRONG. The settings still come from the default settings for RokStories. So to resolve my issue of RokStories for wordpress only showing 3 entries I had to manually edit the rokstories_artcount json variable in the wp_options db.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;Also note that when manually editing this variable, YOU MAY not set it above 9, for some reason 2 digits break the site!&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: plain"&gt;//to find the variable
SELECT *
FROM `wp_options`
WHERE option_value LIKE '%artcount%'

&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-4052342934432375454?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/3ck_MvdAw2psO4K9YGURz2nZYsM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/3ck_MvdAw2psO4K9YGURz2nZYsM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/3ck_MvdAw2psO4K9YGURz2nZYsM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/3ck_MvdAw2psO4K9YGURz2nZYsM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/m8TuDuE4wRU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/4052342934432375454/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2011/07/wordpress-rockettheme-and-rokstories.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/4052342934432375454?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/4052342934432375454?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/m8TuDuE4wRU/wordpress-rockettheme-and-rokstories.html" title="Wordpress RocketTheme and RokStories issues" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_kn9del4J-Kc/StlOrrOrdtI/AAAAAAAAC00/qRlFz_YCsig/S220/me+by+the+lake.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2011/07/wordpress-rockettheme-and-rokstories.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0QNQn85eCp7ImA9WhZVGUQ.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-6533439769476610192</id><published>2011-06-02T00:23:00.000-07:00</published><updated>2011-06-02T00:23:13.120-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-02T00:23:13.120-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="image" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><title>php Image Magik - how to force Text Wap without cropping</title><content type="html">After several hours of trying to find the best way to add 2 sets of text to an image using ImageMagik without overlapping. The image is split into two natural text blocks. I felt it was easier to add the two sections of text to the one image instead of combining two images.  &lt;br /&gt;
&lt;br /&gt;
The simplest way I could find is to figure out the font point size and approximate the dimensions by the number of characters in your string. Then use the php &lt;a href="http://php.net/manual/en/function.wordwrap.php"&gt;wordwrap function&lt;/a&gt; to add newline characters every 35 characters. &lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;Note: I only needed to force word wrapping on message one because it shows on the left side of the image. ImageMagik will automatically wrap the annotation if it runs into the right edge of the image. Well it appears that way and its working so far, but I may change it later just cause :)&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: plain"&gt;//force text wrapping every 35 characters
$message = wordwrap($message, 35, &amp;quot;\n&amp;quot;, true);
$filepath = '/home/test.com/';
$newfile = $filepath.'uploads/files/'.$newfilename;
//image we want to write text on
$blankfile = $filepath.'images/blank_image.png';

$imageCMD = &amp;quot;convert  '$blankfile'    &amp;quot;.
                 &amp;quot; -fill '#000000' -pointsize 16   -annotate +40+80 '$message1'   &amp;quot;.  
                 &amp;quot; -fill '#000000' -pointsize 20   -annotate +340+150 '$message2' &amp;quot;.
                 &amp;quot; '$newfile'&amp;quot; ;
//calls the linux commandline to process the command    
$cr = system( $imageCMD  , $retval);


&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-6533439769476610192?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/eH_zXc3u0TKk3f7SK_PyR3hoOc4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/eH_zXc3u0TKk3f7SK_PyR3hoOc4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/eH_zXc3u0TKk3f7SK_PyR3hoOc4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/eH_zXc3u0TKk3f7SK_PyR3hoOc4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/DhZ-dp8H_i0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/6533439769476610192/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2011/06/php-image-magik-how-to-force-text-wap.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/6533439769476610192?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/6533439769476610192?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/DhZ-dp8H_i0/php-image-magik-how-to-force-text-wap.html" title="php Image Magik - how to force Text Wap without cropping" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_kn9del4J-Kc/StlOrrOrdtI/AAAAAAAAC00/qRlFz_YCsig/S220/me+by+the+lake.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2011/06/php-image-magik-how-to-force-text-wap.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0EHRXw-fSp7ImA9WhZWFkU.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-66373643941711787</id><published>2011-05-17T18:20:00.000-07:00</published><updated>2011-05-17T18:20:34.255-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-17T18:20:34.255-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="joomla" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><title>Customize the Joomla offline login redirect url</title><content type="html">First off to customize the offline login form for joomla change the "Site Offline" to yes in the Global Configuration-&gt; site tab.&lt;br /&gt;
&lt;br /&gt;
Once you make this change the website will require a login to view the site. To customize this page copy the offline.php file to templates/YOURTEMPLATE folder. Then feel free to add your graphics, tweak the css and heck even add some animation from jquery or perhaps a slideshow. &lt;br /&gt;
&lt;br /&gt;
For my project I needed to have a splash html page before the website login. This causes issues because the index.html page is loaded as the 'URL/' inestead of the index.php. Basically when someone logged in they would be redirected to the splash page. Well heck that ain't gonna work... &lt;br /&gt;
&lt;br /&gt;
So to resolve the issue you need to find the line in the offline.php file that has the base64_encode(JURI::base()). Replace the JURI::base() with the url you need to redirect to i.e. base64_encode('http://YOURDOMAIN.com/about')&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-66373643941711787?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/m_Hp9KCl9pb_CXoQUZZj6SWQxks/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/m_Hp9KCl9pb_CXoQUZZj6SWQxks/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/m_Hp9KCl9pb_CXoQUZZj6SWQxks/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/m_Hp9KCl9pb_CXoQUZZj6SWQxks/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/hhQ8vthCcPs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/66373643941711787/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2011/05/customize-joomla-offline-login-redirect.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/66373643941711787?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/66373643941711787?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/hhQ8vthCcPs/customize-joomla-offline-login-redirect.html" title="Customize the Joomla offline login redirect url" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_kn9del4J-Kc/StlOrrOrdtI/AAAAAAAAC00/qRlFz_YCsig/S220/me+by+the+lake.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2011/05/customize-joomla-offline-login-redirect.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUcCRXY8eyp7ImA9WhZWEEo.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-2053893144722063831</id><published>2011-05-10T17:17:00.000-07:00</published><updated>2011-05-10T17:17:44.873-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-10T17:17:44.873-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="joomla" /><category scheme="http://www.blogger.com/atom/ns#" term="phpmyadmin" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><category scheme="http://www.blogger.com/atom/ns#" term="sh404sef" /><title>Joomla website offline login issue on IIS with sh404sef</title><content type="html">&lt;b&gt;QUICK how to fix sh404sef on IIS - just in case&lt;/b&gt;&lt;br /&gt;
1. open up webroot\components\com_sh404sef\shPageRewrite.php&lt;br /&gt;
2. Find and replace every instance of #__sh404SEF so it matches your db table. The default is lower case #__sh404sef. OMG WTF! it works on Linux and Apache, why not windows????&lt;br /&gt;
 &lt;br /&gt;
&lt;b&gt;Venting and Explanations&lt;/b&gt;&lt;br /&gt;
Horray! another 3 hours learning about sh404sef. This time a site needed to use the joomla website offline login form. This particular site is hosted on win IIS over at &lt;a href="http://www.outstandahosting.com"&gt;Outstanda hosting&lt;/a&gt;, they actually had really responsive tech support which was nice. &lt;br /&gt;
&lt;br /&gt;
Support was needed to figure out how to modify folder permissions in their control panel. For reference you have to change it in the FTP manager from the control panel. &lt;br /&gt;
&lt;br /&gt;
As soon as the website offline was enabled the website was throwing a "service temporarily unavailable" which is INCREDIBLY annoying to figure out, esp because this server would not output error messages. I manually stepped through the files tracing it to the shPageRewrite.php file to the first line for the db call.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-2053893144722063831?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/cA5itnRpyUJbfMZoQyBTlPeBwXg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cA5itnRpyUJbfMZoQyBTlPeBwXg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/cA5itnRpyUJbfMZoQyBTlPeBwXg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cA5itnRpyUJbfMZoQyBTlPeBwXg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/JMS8YudYQDY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/2053893144722063831/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2011/05/joomla-website-offline-login-issue-on.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/2053893144722063831?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/2053893144722063831?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/JMS8YudYQDY/joomla-website-offline-login-issue-on.html" title="Joomla website offline login issue on IIS with sh404sef" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_kn9del4J-Kc/StlOrrOrdtI/AAAAAAAAC00/qRlFz_YCsig/S220/me+by+the+lake.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2011/05/joomla-website-offline-login-issue-on.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkMNQXkycSp7ImA9WhdTEEQ.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-6850007010145920517</id><published>2011-04-12T23:03:00.000-07:00</published><updated>2011-07-07T19:01:30.799-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-07T19:01:30.799-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="wordpress" /><category scheme="http://www.blogger.com/atom/ns#" term="plugin" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><title>Sidebar Generator plugin for Wordpress 3.1 issues resolved</title><content type="html">Hello all of you out there frustrated with the Zero response to the issues with the &lt;a href="http://wordpress.org/extend/plugins/sidebar-generator/"&gt;Sidebar Generator&lt;/a&gt;. I had a word press site that used this plugin and after upgrading it no longer worked or appeared to.&lt;br /&gt;
&lt;br /&gt;
After playing with the plugin and testing it after the 3.1 upgrade is related to the saving the post. It turns out that the database table wp_postmeta was getting populated with a JSON string of php output&lt;br /&gt;
&lt;pre&gt;SELECT * FROM `wp_postmeta` where meta_value like '%&amp;lt;?=$i?&amp;gt;%'
&lt;/pre&gt; &lt;br /&gt;
&lt;pre class="brush: plain"&gt;&amp;lt;select name=&amp;quot;sidebar_generator[&amp;lt;?=$i?&amp;gt;]&amp;quot;&amp;gt;
&lt;/pre&gt;&lt;br /&gt;
Just replace the lines with this one&lt;br /&gt;
&lt;pre class="brush: plain"&gt;&amp;lt;select name=&amp;quot;sidebar_generator_replacement[&amp;lt;?php echo $i; ?&amp;gt;]&amp;quot;&amp;gt;
&lt;/pre&gt;&lt;br /&gt;
Link to &lt;a href="http://labs.codepyro.com/wordpress/sidebar_generator.zip"&gt;updated plugin&lt;/a&gt; working on Wordpress 3.1.0&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-6850007010145920517?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/RqLPNWIxb6v_x86KXtcNXIGpPB4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RqLPNWIxb6v_x86KXtcNXIGpPB4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/RqLPNWIxb6v_x86KXtcNXIGpPB4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RqLPNWIxb6v_x86KXtcNXIGpPB4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/wop52iM_LkA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/6850007010145920517/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2011/04/sidebar-generator-plugin-for-wordpress.html#comment-form" title="12 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/6850007010145920517?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/6850007010145920517?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/wop52iM_LkA/sidebar-generator-plugin-for-wordpress.html" title="Sidebar Generator plugin for Wordpress 3.1 issues resolved" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_kn9del4J-Kc/StlOrrOrdtI/AAAAAAAAC00/qRlFz_YCsig/S220/me+by+the+lake.JPG" /></author><thr:total>12</thr:total><feedburner:origLink>http://blog.codepyro.com/2011/04/sidebar-generator-plugin-for-wordpress.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE8AR309eip7ImA9WhZREEs.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-978358307444163994</id><published>2011-04-05T21:07:00.000-07:00</published><updated>2011-04-05T21:07:26.362-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-05T21:07:26.362-07:00</app:edited><title>Speed up websites with the new Google Tool</title><content type="html">I love the new google Page Speed tool. It not only identifies ways to speed up a website but actually gives you useful suggestions.&lt;br /&gt;
&lt;br /&gt;
Things like Optimizing Images and Browser caching for example&lt;br /&gt;
&lt;i&gt;Losslessly compressing http://codepyro.com/assets/lay/footer.jpg could save 20.4KiB (33% reduction).&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Its nice that they actually include the % saved&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://pagespeed.googlelabs.com/#url=codepyro.com&amp;mobile=false&amp;rule=OptimizeImages"&gt;check it out&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-978358307444163994?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/hIRMxzYTUe4sH3DhRM0wtj0ZbSc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hIRMxzYTUe4sH3DhRM0wtj0ZbSc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/hIRMxzYTUe4sH3DhRM0wtj0ZbSc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hIRMxzYTUe4sH3DhRM0wtj0ZbSc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/8nE6hzOX3Rc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/978358307444163994/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2011/04/speed-up-websites-with-new-google-tool.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/978358307444163994?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/978358307444163994?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/8nE6hzOX3Rc/speed-up-websites-with-new-google-tool.html" title="Speed up websites with the new Google Tool" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_kn9del4J-Kc/StlOrrOrdtI/AAAAAAAAC00/qRlFz_YCsig/S220/me+by+the+lake.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2011/04/speed-up-websites-with-new-google-tool.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUcEQ3s5eCp7ImA9WhZSEkQ.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-9061458643763029066</id><published>2011-03-28T00:23:00.000-07:00</published><updated>2011-03-28T00:23:22.520-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-28T00:23:22.520-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="joomla" /><category scheme="http://www.blogger.com/atom/ns#" term="k2" /><title>Enable HTML in joomla k2 extra fields</title><content type="html">K2 is a wonderful CCK and content replacement for the standard joomla content. In fact I am using it with k2mart to create some awesome shopping cart goodnes. Of course the shopping cart I am converting from is a Custom CMS/E-commerce system that has tons of custom html pieces in the product buy now pages. &lt;br /&gt;
&lt;br /&gt;
Specifically I needed the ability to choose several custom messages that have little html to open new windows, highlight messages etc.&lt;br /&gt;
 &lt;br /&gt;
There are community links for an older version of k2 &lt;a href="http://community.getk2.org/forum/topics/adding-html-code-into-extra"&gt;here&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
These don't work in the latest so here is an updated working html hax for K2 v2.4.1!&lt;br /&gt;
&lt;br /&gt;
Open up Administrator/components/com_k2/models/extrafield.php&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: plain"&gt;//line 32 
if (!$row-&amp;gt;bind(JRequest::get('post')))
 

//around line 53 look for 
$objects = array ();
$values = JRequest::getVar('option_value');
$names = JRequest::getVar('option_name');
&lt;/pre&gt;&lt;br /&gt;
Replace with the following (if you have questions &lt;a href="http://docs.joomla.org/Retrieving_data_from_GET_and_POST_requests"&gt;see documentation&lt;/a&gt;)&lt;br /&gt;
&lt;pre class="brush: plain"&gt; //line 32 - replaced
if (!$row-&gt;bind(JRequest::get('post',JREQUEST_ALLOWHTML)))


//around line 53 - replaced
$objects = array ();
$values = JRequest::getVar('option_value','','post','string',JREQUEST_ALLOWRAW);
$names = JRequest::getVar('option_name','','post','string',JREQUEST_ALLOWRAW);
 
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-9061458643763029066?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/jBDSBWPbgJRr9MjSemqrb6Oth28/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jBDSBWPbgJRr9MjSemqrb6Oth28/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/jBDSBWPbgJRr9MjSemqrb6Oth28/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jBDSBWPbgJRr9MjSemqrb6Oth28/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/vAHZgTHoCo4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/9061458643763029066/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2011/03/enable-html-in-joomla-k2-extra-fields.html#comment-form" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/9061458643763029066?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/9061458643763029066?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/vAHZgTHoCo4/enable-html-in-joomla-k2-extra-fields.html" title="Enable HTML in joomla k2 extra fields" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_kn9del4J-Kc/StlOrrOrdtI/AAAAAAAAC00/qRlFz_YCsig/S220/me+by+the+lake.JPG" /></author><thr:total>4</thr:total><feedburner:origLink>http://blog.codepyro.com/2011/03/enable-html-in-joomla-k2-extra-fields.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0cAQn84eyp7ImA9WhZTEk4.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-8416318926946967900</id><published>2011-03-15T18:30:00.000-07:00</published><updated>2011-03-15T18:30:43.133-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-15T18:30:43.133-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="joomla" /><category scheme="http://www.blogger.com/atom/ns#" term="k2" /><category scheme="http://www.blogger.com/atom/ns#" term="virtuemart" /><category scheme="http://www.blogger.com/atom/ns#" term="module" /><title>Remove modules from Virtuemart Checkout</title><content type="html">In creating a new e-commerce site with K2 the Virtuemart checkout was showing all the homepage modules. &lt;br /&gt;
&lt;br /&gt;
After reading a lot of different overly complex solutions on the forums I created this.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: plain"&gt;//add this code at the top of your template
global $option;
 
//disable modules for virtuemart checkout
 $vmpage= 0;
 if($option == 'com_virtuemart')
 {
  $vmpage= 1;
     $mainWidth = &amp;quot;twoL&amp;quot;;
 }

//Then for every module position you need to turn off just add &amp;&amp; !$vmpage
//example
if($this-&amp;gt;countModules('right')  &amp;amp;&amp;amp;  !$vmpage ){}
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-8416318926946967900?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/79dqgyzhZmv5Zajis1Jzl2hWRq8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/79dqgyzhZmv5Zajis1Jzl2hWRq8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/79dqgyzhZmv5Zajis1Jzl2hWRq8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/79dqgyzhZmv5Zajis1Jzl2hWRq8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/tUu2yMogpUc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/8416318926946967900/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2011/03/remove-modules-from-virtuemart-checkout.html#comment-form" title="5 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/8416318926946967900?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/8416318926946967900?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/tUu2yMogpUc/remove-modules-from-virtuemart-checkout.html" title="Remove modules from Virtuemart Checkout" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_kn9del4J-Kc/StlOrrOrdtI/AAAAAAAAC00/qRlFz_YCsig/S220/me+by+the+lake.JPG" /></author><thr:total>5</thr:total><feedburner:origLink>http://blog.codepyro.com/2011/03/remove-modules-from-virtuemart-checkout.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkAASX45fip7ImA9WhZTEEs.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-1795350145898904673</id><published>2011-03-13T16:56:00.000-07:00</published><updated>2011-03-13T16:59:08.026-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-13T16:59:08.026-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="joomla" /><category scheme="http://www.blogger.com/atom/ns#" term="k2" /><category scheme="http://www.blogger.com/atom/ns#" term="k2mart" /><category scheme="http://www.blogger.com/atom/ns#" term="virtuemart" /><title>k2mart Creating a module Product Grid</title><content type="html">&lt;a href="http://2.bp.blogspot.com/-A1b71db4x8A/TX1ZICSiZiI/AAAAAAAAC-g/TIt2g9myx0M/s1600/joomlak2martgrid.jpg" imageanchor="1" style="clear:right; float:right; margin-left:1em; margin-bottom:1em"&gt;&lt;img border="0" height="142" width="200" src="http://2.bp.blogspot.com/-A1b71db4x8A/TX1ZICSiZiI/AAAAAAAAC-g/TIt2g9myx0M/s200/joomlak2martgrid.jpg" /&gt;&lt;/a&gt;To create your product grid you will need to first &lt;a href="http://blog.codepyro.com/2011/03/k2-override-k2mart-templates.html"&gt;setup k2mart custom listing overrides&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Once that is done create a new mod_k2_content module item and add it to your template. My grid is fairly large so it goes in the "bottom" position under the content. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Change module settings&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Change the "Select sub-template" to your new custom override directory. &lt;/li&gt;
&lt;li&gt;Select the categories or specific items, I chose categories to make it simple&lt;/li&gt;
&lt;li&gt;Configure all of the things you would like to show, I turned off everything but the image; all of the items prices and names come from the k2mart plugin so we dont need any of the k2 items properties&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;b&gt; !important: Before saving your module, make sure to enable k2 plugins under advanced in the module. Or k2mart will not load.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Now that your module is all setup we can make grid changes. Open up Template/html/mod_k2_content/CUSTOM_OVERRIDE/default.php file to alter the default list behavior. In this file you will find that the k2 items are setup in an HTML list. &lt;br /&gt;
&lt;br /&gt;
Add a class of "productGrid" to the UL  and "boxItem" to the LI.&lt;br /&gt;
&lt;pre class="brush: plain"&gt;//around line 20
&amp;lt;ul class=&amp;quot;productGrid&amp;quot;&amp;gt;
    &amp;lt;?php foreach ($items as $key=&amp;gt;$item):  
//around line 26 
&amp;lt;li class=&amp;quot;&amp;lt;?php echo ($key%2) ? &amp;quot;odd&amp;quot; : &amp;quot;even&amp;quot;; if(count($items)==$key+1) echo ' lastItem'; ?&amp;gt; boxItem&amp;quot;&amp;gt;
&lt;/pre&gt;&lt;br /&gt;
Now go adjust your template style sheets to get the list items to behave as a grid. I wanted all of my k2 items in a box format to fit 4 items per row. To do this I made each list item a block with a width and padding to ensure they would fit in 980px.  &lt;br /&gt;
&lt;pre class="brush: plain"&gt;.productGrid li.boxItem
{  
    color:#D76024;     
    display:block; 
    float:left; 
    font-weight:bold;
    font-size:14px !important;
    padding:5px 20px 5px 20px;
    width:200px;
}
&lt;/pre&gt;&lt;br /&gt;
Now we have a grid of our products but the k2 mart product boxes are ugly. Lets go fix that too. &lt;br /&gt;
&lt;br /&gt;
Open up the custom override TEMPLATE/html/k2mart/module.php&lt;br /&gt;
Change the module.php k2mart class from class="itemVmFields" to class="itemGrid".&lt;br /&gt;
&lt;br /&gt;
To get my desired look of Product Name, then Image, then Price, I copied over the image display from the mod_k2_content file. As you can see I removed the LI item for the product name and put it into an h4 tag before the image.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: plain"&gt;//K2mart STARTS HERE
&amp;lt;div class=&amp;quot;itemGrid&amp;quot;&amp;gt; 

//moved product name into h4
 &amp;lt;?php if($this-&amp;gt;params-&amp;gt;get('moduleProductName') &amp;amp;&amp;amp; !empty($product-&amp;gt;name)): ?&amp;gt;
         &amp;lt;h4 &amp;gt;
            &amp;lt;span class=&amp;quot;itemLabel&amp;quot;&amp;gt;&amp;lt;?php echo JText::_('Name'); ?&amp;gt;:&amp;lt;/span&amp;gt;
            &amp;lt;span class=&amp;quot;itemValue&amp;quot;&amp;gt;&amp;lt;?php echo $product-&amp;gt;name; ?&amp;gt;&amp;lt;/span&amp;gt;
         &amp;lt;/h4&amp;gt;
&amp;lt;?php endif; ?&amp;gt;

//Image code pulled from mod_k2_content/default.php        
 &amp;lt;?php if(isset($item)):?&amp;gt;
     &amp;lt;div class=&amp;quot;moduleItemIntrotext&amp;quot;&amp;gt;
            &amp;lt;a class=&amp;quot;moduleItemImage&amp;quot; href=&amp;quot;&amp;lt;?php echo $item-&amp;gt;link; ?&amp;gt;&amp;quot; title=&amp;quot;&amp;lt;?php echo JText::_('Continue reading'); ?&amp;gt; &amp;amp;quot;&amp;lt;?php echo K2HelperUtilities::cleanHtml($item-&amp;gt;title); ?&amp;gt;&amp;amp;quot;&amp;quot;&amp;gt;
              &amp;lt;img src=&amp;quot;&amp;lt;?php echo $item-&amp;gt;image; ?&amp;gt;&amp;quot; alt=&amp;quot;&amp;lt;?php echo $item-&amp;gt;title; ?&amp;gt;&amp;quot;/&amp;gt;
          &amp;lt;/a&amp;gt;
       &amp;lt;/div&amp;gt;
 &amp;lt;?php endif;?&amp;gt; 
    &amp;lt;ul&amp;gt; 
&lt;/pre&gt;&lt;br /&gt;
Now lets play with our style sheets for the k2mart items in our grid&lt;br /&gt;
&lt;pre class="brush: plain"&gt;.itemGrid ul { margin:0px; padding:0px;}
.itemGrid ul li{ margin:0px; padding:0px; height:auto; list-style:none;}
.itemGrid h4{ color:#AAA;}
&lt;/pre&gt;&lt;br /&gt;
Of course then I played with buttons and text styles, but hey its a start.&lt;br /&gt;
&lt;br /&gt;
Final Results:&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-fcT6o0ibrRE/TX1ZgyR6qkI/AAAAAAAAC-w/MQ5DcW7Jx2k/s1600/joomlak2martgrid.jpg" imageanchor="1" style="margin-left:1em; margin-right:1em"&gt;&lt;img border="0" height="283" width="400" src="http://1.bp.blogspot.com/-fcT6o0ibrRE/TX1ZgyR6qkI/AAAAAAAAC-w/MQ5DcW7Jx2k/s400/joomlak2martgrid.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-1795350145898904673?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/MRgKRaJR7u_czgX99Tno9mFHDWE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MRgKRaJR7u_czgX99Tno9mFHDWE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/MRgKRaJR7u_czgX99Tno9mFHDWE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MRgKRaJR7u_czgX99Tno9mFHDWE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/5fy85wMTAgU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/1795350145898904673/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2011/03/k2mart-creating-module-product-grid.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/1795350145898904673?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/1795350145898904673?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/5fy85wMTAgU/k2mart-creating-module-product-grid.html" title="k2mart Creating a module Product Grid" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_kn9del4J-Kc/StlOrrOrdtI/AAAAAAAAC00/qRlFz_YCsig/S220/me+by+the+lake.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-A1b71db4x8A/TX1ZICSiZiI/AAAAAAAAC-g/TIt2g9myx0M/s72-c/joomlak2martgrid.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2011/03/k2mart-creating-module-product-grid.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D08FR30yeCp7ImA9WhZTEEk.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-4709414428369956877</id><published>2011-03-13T12:50:00.000-07:00</published><updated>2011-03-13T12:50:16.390-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-13T12:50:16.390-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="joomla" /><category scheme="http://www.blogger.com/atom/ns#" term="k2" /><category scheme="http://www.blogger.com/atom/ns#" term="k2mart" /><category scheme="http://www.blogger.com/atom/ns#" term="virutemart" /><title>K2 override k2mart templates</title><content type="html">In Joomla and K2 with K2 mart for virtuemart it was difficult for me to find/discover how best to customize the plugin templates. It turns out to be really simple though. &lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
Create a folder called k2mart in your templates html overrides folder.  TEMPLATE/html/k2mart&lt;br /&gt;
&lt;br /&gt;
Then copy the 4 files from plugins/k2/k2mart/tmpl folder into your new overrides.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Specifically I needed to change the listing plugin to build a product grid. The listing template is actually calling the&lt;b&gt; module.php&lt;/b&gt; file.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-4709414428369956877?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/uAqfkgDOMxlE_PlB-IzzgJ48gLs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uAqfkgDOMxlE_PlB-IzzgJ48gLs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/uAqfkgDOMxlE_PlB-IzzgJ48gLs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uAqfkgDOMxlE_PlB-IzzgJ48gLs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/plPczMNBZbQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/4709414428369956877/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2011/03/k2-override-k2mart-templates.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/4709414428369956877?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/4709414428369956877?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/plPczMNBZbQ/k2-override-k2mart-templates.html" title="K2 override k2mart templates" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_kn9del4J-Kc/StlOrrOrdtI/AAAAAAAAC00/qRlFz_YCsig/S220/me+by+the+lake.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2011/03/k2-override-k2mart-templates.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0YARXw8fCp7ImA9Wx9aEUw.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-9128216234101219765</id><published>2011-03-02T16:09:00.000-08:00</published><updated>2011-03-02T16:12:24.274-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-02T16:12:24.274-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="joomla" /><category scheme="http://www.blogger.com/atom/ns#" term="csvi" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><category scheme="http://www.blogger.com/atom/ns#" term="virtuemart" /><title>CSVI virtuemart google base export Tax's changes</title><content type="html">&lt;p&gt;Google base import has changed their tax format for product import, to implement these changes in Virtuemart CSVI export you need to make some code changes.&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Change the Default fields in the google base export&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Change the custom field &lt;b&gt;g:tax_region&lt;/b&gt; to &lt;b&gt;g:tax&lt;/b&gt; and give it your required values semi-colon separated in the format of  (Country:Region:Rate) i.e.  "US:Colorado:5.00"&lt;br /&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt; Remove the custom field &lt;strong&gt;g:tax_percent&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;p style="text-align:left"&gt;around line 113 in csvi_class_xml_froogle.php in the file&lt;br /&gt;
administrator/com_csviimproved/helpers/xml &lt;br /&gt;
add the following case to the function ContentText&lt;br /&gt;
&lt;/p&gt;&lt;br /&gt;
&lt;pre class="brush: plain"&gt;case 'g:tax':
                        list($country, $service, $rate) = split(&amp;quot;:&amp;quot;, $content);
                        $this-&amp;gt;contents = '
                        &amp;lt;g:country&amp;gt;'.$country.'&amp;lt;/g:country&amp;gt;
                        &amp;lt;g:region&amp;gt;'.$service.'&amp;lt;/g:region&amp;gt;
                        &amp;lt;g:rate&amp;gt;'.$rate.'&amp;lt;/g:rate&amp;gt;
                        &amp;lt;g:tax_ship&amp;gt;n&amp;lt;/g:tax_ship&amp;gt;
                        ';
                    break;

&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-9128216234101219765?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/UxO_levfNWFXAWxndnVUhTDbpWg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UxO_levfNWFXAWxndnVUhTDbpWg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/UxO_levfNWFXAWxndnVUhTDbpWg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UxO_levfNWFXAWxndnVUhTDbpWg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/TUknjPdI9Ps" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/9128216234101219765/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2011/03/csvi-virtuemart-google-base-export-taxs.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/9128216234101219765?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/9128216234101219765?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/TUknjPdI9Ps/csvi-virtuemart-google-base-export-taxs.html" title="CSVI virtuemart google base export Tax's changes" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_kn9del4J-Kc/StlOrrOrdtI/AAAAAAAAC00/qRlFz_YCsig/S220/me+by+the+lake.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2011/03/csvi-virtuemart-google-base-export-taxs.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0UAQHg5eCp7ImA9Wx9VEUw.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-2000481250930758529</id><published>2011-01-26T22:54:00.000-08:00</published><updated>2011-01-26T22:54:01.620-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-26T22:54:01.620-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="joomla" /><category scheme="http://www.blogger.com/atom/ns#" term="import/export" /><category scheme="http://www.blogger.com/atom/ns#" term="csvi" /><category scheme="http://www.blogger.com/atom/ns#" term="google" /><title>Virtuemart Google base export with Child Products</title><content type="html">The default Google Base export in CSVI for joomla and virutmart is set as a  "Product export" which does not include any child products. To include Child products you need to first change the type to "Multiple prices export". &lt;br /&gt;
&lt;br /&gt;
Unfortunately though the multi prices export doesn't have all the fields for the google base export. &lt;br /&gt;
 &lt;br /&gt;
So I modified some files in the model to get the export working as needed. Download the files and put them in the administrator\components\com_csvimproved\model folder.&lt;br /&gt;
 &lt;br /&gt;
&lt;a href="http://labs.codepyro.com/samples/joomla/CSVIMultiPricesMods.zip"&gt;CSVIMultiPricesMods.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-2000481250930758529?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/DTjodeIYr8OPvPJeo2ZAyK9otm8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/DTjodeIYr8OPvPJeo2ZAyK9otm8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/DTjodeIYr8OPvPJeo2ZAyK9otm8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/DTjodeIYr8OPvPJeo2ZAyK9otm8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/oeQt6XgX2X4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/2000481250930758529/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2011/01/virtuemart-google-base-export-with.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/2000481250930758529?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/2000481250930758529?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/oeQt6XgX2X4/virtuemart-google-base-export-with.html" title="Virtuemart Google base export with Child Products" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_kn9del4J-Kc/StlOrrOrdtI/AAAAAAAAC00/qRlFz_YCsig/S220/me+by+the+lake.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2011/01/virtuemart-google-base-export-with.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE4ERXs6eyp7ImA9Wx9RGEo.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-823949440729525397</id><published>2010-12-20T12:28:00.000-08:00</published><updated>2010-12-20T12:28:24.513-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-20T12:28:24.513-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="joomla" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><category scheme="http://www.blogger.com/atom/ns#" term="virtuemart" /><title>virtuemart: Enable Billing information in Order Review page</title><content type="html">Quick script to paste into the virtuemart checkout confirmation page to show the billing information under the shipping info. &lt;br /&gt;
&lt;br /&gt;
Step 1:&lt;br /&gt;
Search for "if(NO_SHIPTO=='')" in your components/com_virutemart/themes/YOURTHEME/templates/checkout/get_final_confirmation.tpl.php&lt;br /&gt;
&lt;br /&gt;
Step 2:&lt;br /&gt;
and find the last line that reads &lt;br /&gt;
&lt;code&gt;echo &amp;quot;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Step 3:&lt;br /&gt;
Just after that last line paste the below contents. &lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: plain"&gt;$db-&amp;gt;query(&amp;quot;SELECT * FROM #__{vm}_user_info WHERE user_id=&amp;quot;.strip_tags($db-&amp;gt;f(&amp;quot;user_id&amp;quot;)).&amp;quot; and address_type='BT'&amp;quot;);
    $db-&amp;gt;next_record();
 
    
    echo '&amp;lt;tr&amp;gt;&amp;lt;td valign=&amp;quot;top&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;'.$VM_LANG-&amp;gt;_('PHPSHOP_ORDER_PRINT_CUST_BILLING_LBL') . &amp;quot;:&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;&amp;quot;;
    echo '&amp;lt;td&amp;gt;';
    echo vmFormatAddress( array('name' =&amp;gt; $db-&amp;gt;f(&amp;quot;first_name&amp;quot;).&amp;quot; &amp;quot;.$db-&amp;gt;f(&amp;quot;last_name&amp;quot;),
                                        'address_1' =&amp;gt; $db-&amp;gt;f(&amp;quot;address_1&amp;quot;),
                                        'address_2' =&amp;gt; $db-&amp;gt;f(&amp;quot;address_2&amp;quot;),
                                        'state' =&amp;gt; $db-&amp;gt;f(&amp;quot;state&amp;quot;),
                                        'zip' =&amp;gt; $db-&amp;gt;f(&amp;quot;zip&amp;quot;),
                                        'city' =&amp;gt; $db-&amp;gt;f(&amp;quot;city&amp;quot;),
                                        'country' =&amp;gt; $db-&amp;gt;f('country')
                                    ), true );
    
    echo &amp;quot;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;quot;;


&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-823949440729525397?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/HyQExxXYSLLQywZG3MczUr0vS_A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HyQExxXYSLLQywZG3MczUr0vS_A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/HyQExxXYSLLQywZG3MczUr0vS_A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HyQExxXYSLLQywZG3MczUr0vS_A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/6OztMxNFE8Y" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/823949440729525397/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2010/12/virtuemart-enable-billing-information.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/823949440729525397?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/823949440729525397?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/6OztMxNFE8Y/virtuemart-enable-billing-information.html" title="virtuemart: Enable Billing information in Order Review page" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_kn9del4J-Kc/StlOrrOrdtI/AAAAAAAAC00/qRlFz_YCsig/S220/me+by+the+lake.JPG" /></author><thr:total>1</thr:total><feedburner:origLink>http://blog.codepyro.com/2010/12/virtuemart-enable-billing-information.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEEHQXwzeip7ImA9Wx5bF0g.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-303519584487296354</id><published>2010-11-02T20:57:00.000-07:00</published><updated>2010-11-02T20:57:10.282-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-02T20:57:10.282-07:00</app:edited><title>lots of issues with reCaptcha in Joomla K2</title><content type="html">If you are getting the error "reCAPTCHA said: incorrect-captcha-sol" or the home page is duplicating when you submit a reCaptcha in k2. &lt;br /&gt;
&lt;br /&gt;
All you need to do is turn off the JEZ reCAPTCHA Integrator plugin. &lt;br /&gt;
&lt;br /&gt;
admin-&gt;plugin manager -&gt; sort by system -&gt;JEZ reCAPTCHA Integrator&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-303519584487296354?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/eysfDTlMHmabJsLZsZtHs5YEzY8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/eysfDTlMHmabJsLZsZtHs5YEzY8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/eysfDTlMHmabJsLZsZtHs5YEzY8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/eysfDTlMHmabJsLZsZtHs5YEzY8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/Vq18u4c33I0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/303519584487296354/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2010/11/lots-of-issues-with-recaptcha-in-joomla.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/303519584487296354?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/303519584487296354?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/Vq18u4c33I0/lots-of-issues-with-recaptcha-in-joomla.html" title="lots of issues with reCaptcha in Joomla K2" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_kn9del4J-Kc/StlOrrOrdtI/AAAAAAAAC00/qRlFz_YCsig/S220/me+by+the+lake.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2010/11/lots-of-issues-with-recaptcha-in-joomla.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkAFSHw4cSp7ImA9Wx5UEUU.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-2054164373685017647</id><published>2010-10-15T17:25:00.000-07:00</published><updated>2010-10-15T17:25:19.239-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-10-15T17:25:19.239-07:00</app:edited><title>pyrocms windows sql installation issues</title><content type="html">hey everyone having problems installing pyrocms in windows with v0.9.9.x i fixed the sql errors installing on windows.&lt;br /&gt;
&lt;br /&gt;
just replace the installer/sql files with the ones in the zip&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://labs.codepyro.com/pyrocms/pyrocms_sql_fixed0.9.9.7.zip"&gt;http://labs.codepyro.com/pyrocms/pyrocms_sql_fixed0.9.9.7.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-2054164373685017647?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/hrgRtQqmMzT-sys-xe4XbjuomeQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hrgRtQqmMzT-sys-xe4XbjuomeQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/hrgRtQqmMzT-sys-xe4XbjuomeQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hrgRtQqmMzT-sys-xe4XbjuomeQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/dO92yAxTaQE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/2054164373685017647/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2010/10/pyrocms-windows-sql-installation-issues.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/2054164373685017647?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/2054164373685017647?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/dO92yAxTaQE/pyrocms-windows-sql-installation-issues.html" title="pyrocms windows sql installation issues" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_kn9del4J-Kc/StlOrrOrdtI/AAAAAAAAC00/qRlFz_YCsig/S220/me+by+the+lake.JPG" /></author><thr:total>2</thr:total><feedburner:origLink>http://blog.codepyro.com/2010/10/pyrocms-windows-sql-installation-issues.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUAHR387cCp7ImA9Wx5VFEU.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-1525035325920333943</id><published>2010-10-07T13:33:00.000-07:00</published><updated>2010-10-07T13:35:36.108-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-10-07T13:35:36.108-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="joomla" /><category scheme="http://www.blogger.com/atom/ns#" term="k2" /><category scheme="http://www.blogger.com/atom/ns#" term="error" /><title>JUser::_load: Unable to load user with id</title><content type="html">In joomla or k2 you may receive this error "JUser::_load: Unable to load user with id". Guess what, a user with that id was deleted and the error shows because some piece of content is trying to load that user account. In my case it was being thrown from k2 comments because the user had commented on the blog post had been deleted.&lt;br /&gt;
&lt;br /&gt;
To resolve this create an empty user in the admin of joomla and change its ID to the missing one in phpmyadmin. &lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
You can just delete the users stuff.. i.e. comments photo etc from k2 or joomla.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-1525035325920333943?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/FeKPTUcZSEczNK35Yzcu0yfQe2A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FeKPTUcZSEczNK35Yzcu0yfQe2A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/FeKPTUcZSEczNK35Yzcu0yfQe2A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FeKPTUcZSEczNK35Yzcu0yfQe2A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/yOI1h2zo5Vc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/1525035325920333943/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2010/10/juserload-unable-to-load-user-with-id.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/1525035325920333943?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/1525035325920333943?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/yOI1h2zo5Vc/juserload-unable-to-load-user-with-id.html" title="JUser::_load: Unable to load user with id" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_kn9del4J-Kc/StlOrrOrdtI/AAAAAAAAC00/qRlFz_YCsig/S220/me+by+the+lake.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2010/10/juserload-unable-to-load-user-with-id.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0MGRXw6fip7ImA9Wx5XFk8.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-711301698076539793</id><published>2010-09-16T00:08:00.000-07:00</published><updated>2010-09-16T00:17:04.216-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-09-16T00:17:04.216-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="coldfusion" /><category scheme="http://www.blogger.com/atom/ns#" term="firefox" /><category scheme="http://www.blogger.com/atom/ns#" term="error" /><category scheme="http://www.blogger.com/atom/ns#" term="jQuery" /><title>jquery "Failed to load source for:" ajax, post error</title><content type="html">All afternoon I have been setting up the very awesome jquery Star Widget from &lt;a href="http://orkans-tmp.22web.net/star_rating/index.html"&gt;http://orkans-tmp.22web.net/star_rating/index.html&lt;/a&gt;. &lt;br /&gt;
&lt;br /&gt;
Just restart firefox.. erf... or read the procedure of suffering below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I have been setting it up in a testimonials/ratings system for an older website. The jquery post calls a cfc which was returning values while fixing minor issues with the code. Then all of a sudden it started to throw the error in firebug "Failed to load source for: http://domain.com/ratings.cfc". This was strange because I could call the CFC directly. &lt;br /&gt;
&lt;br /&gt;
So, after restarting Coldfusion and reloading the fusebox app probably a million times with no results. I thought hrm, just for kicks ill restart firefox v3.6.8 and BAM! it started working again.&lt;br /&gt;
&lt;br /&gt;
Time to go look for the newest version of firefox, dang what a waste of time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-711301698076539793?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/jm-z_o8sq4W8OL7ta33_yNrwSiw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jm-z_o8sq4W8OL7ta33_yNrwSiw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/jm-z_o8sq4W8OL7ta33_yNrwSiw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jm-z_o8sq4W8OL7ta33_yNrwSiw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/ec7i9uEDskU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/711301698076539793/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2010/09/firefox-failed-to-load-source-for-ajax.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/711301698076539793?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/711301698076539793?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/ec7i9uEDskU/firefox-failed-to-load-source-for-ajax.html" title="jquery &quot;Failed to load source for:&quot; ajax, post error" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_kn9del4J-Kc/StlOrrOrdtI/AAAAAAAAC00/qRlFz_YCsig/S220/me+by+the+lake.JPG" /></author><thr:total>1</thr:total><feedburner:origLink>http://blog.codepyro.com/2010/09/firefox-failed-to-load-source-for-ajax.html</feedburner:origLink></entry></feed>

