<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Sanjeev Shrestha</title>
	
	<link>http://www.sanjeevshrestha.com.np</link>
	<description>Blogging on Joomla Development /Codeigniter/JQuery/Mootools/Wordpress - All Related to Web</description>
	<lastBuildDate>Sun, 29 Aug 2010 06:10:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/sanjeevshresthanp" /><feedburner:info uri="sanjeevshresthanp" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Uploading Files through SSH</title>
		<link>http://feedproxy.google.com/~r/sanjeevshresthanp/~3/GjFIuwztIn4/</link>
		<comments>http://www.sanjeevshrestha.com.np/2010/08/uploading-files-through-ssh/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 06:04:54 +0000</pubDate>
		<dc:creator>Sanjeev</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[quick uploading files]]></category>
		<category><![CDATA[scp]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/2010/08/uploading-files-through-ssh/</guid>
		<description><![CDATA[You have large file to upload to your server and hate FTP clients that takes numerous days and nights to upload, Try SSH to upload files. SSH is comparatively faster than FTP (My Personal Opinion). If you are running Linux or FreeBSD Operating System on your local computer and have access to server shell, use [...]]]></description>
			<content:encoded><![CDATA[<p><img style="max-width: 800px; float: left; margin-top: 10px; margin-bottom: 10px; margin-right: 10px;" src="http://www.sanjeevshrestha.com.np/wp-content/uploads/2010/08/ssh-logo1.jpg" />You have large file to upload to your server and hate FTP clients that takes numerous days and nights to upload, Try SSH to upload files. SSH is comparatively faster than FTP (My Personal Opinion).</p>
<p>If you are running Linux or FreeBSD Operating System on your local computer and have access to server shell, use &#8216;scp&#8217; command to copy files and directories to the server. <span id="more-386"></span></p>
<p>To copy files<br />
<blockquote># scp your_filename login@yourserver.com:path</p></blockquote>
<p>To copy entire folder/directories<br />
<blockquote># scp -r your_directoryname login@yourserver.com:path</p></blockquote>
<p>If you are using windows OS, you can use pscp available from Putty Download Page <a href="http://www.chiark.greenend.org.uk/%7Esgtatham/putty/download.html">here</a></p>
<p>Cheers! <img src='http://www.sanjeevshrestha.com.np/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=0d424eae-2c39-87b4-aa03-03335ed5a68a" /></div>
<img src="http://feeds.feedburner.com/~r/sanjeevshresthanp/~4/GjFIuwztIn4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sanjeevshrestha.com.np/2010/08/uploading-files-through-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sanjeevshrestha.com.np/2010/08/uploading-files-through-ssh/</feedburner:origLink></item>
		<item>
		<title>Installing Ruby On Rails (ROR) on ubuntu Lucid Lynx</title>
		<link>http://feedproxy.google.com/~r/sanjeevshresthanp/~3/w6-yk8967HI/</link>
		<comments>http://www.sanjeevshrestha.com.np/2010/08/installing-ruby-on-rails-ror-on-ubuntu-lucid-lynx/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 16:46:38 +0000</pubDate>
		<dc:creator>Sanjeev</dc:creator>
				<category><![CDATA[MyUpdates]]></category>
		<category><![CDATA[Ruby On Rails]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/2010/08/installing-ruby-on-rails-ror-in-ubuntu-lucid-lynx/</guid>
		<description><![CDATA[I started exploring Ruby On Rails (ROR) since last week and thought of maintaining a category on Ruby On Rails. Let us install some ruby and gems on Ubuntu to get started. Let us grab some essential tools to build and install Ruby #sudo apt-get install build-essential Installing Ruby, Documentation Generator (rdoc); We will need [...]]]></description>
			<content:encoded><![CDATA[<p><img style="max-width: 800px; float: right; margin-top: 10px; margin-bottom: 10px; margin-left: 10px;" src="http://www.sanjeevshrestha.com.np/wp-content/uploads/2010/08/ror-logo.jpg" />I started exploring Ruby On Rails (ROR) since last week and thought of maintaining a category on Ruby On Rails. Let us install some ruby and gems on Ubuntu to get started.</p>
<p>Let us grab some essential tools to build and install Ruby<br />
<blockquote>#sudo apt-get install build-essential</p></blockquote>
<p><span id="more-378"></span>Installing Ruby, Documentation Generator (rdoc); We will need this later, and Openssl Library for Ruby<br />
<blockquote>#sudo apt-get install ruby rdoc libopenssl-ruby</p></blockquote>
<p>Setup RubyGems; This is ruby packaging system<br />
<blockquote>#cd /tmp<br />#wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.7.tgz<br />#tar zxvf rubygems-1.3.7.tgz<br />#cd rubygems-1.3.7<br />#ruby setup.rb<br />#ln -s /usr/bin/gem1.8 /usr/local/bin/gem</p></blockquote>
<p>Install Rails (Rails is a framework that runs on Ruby; Don&#8217;t you think it should be Rails on Ruby)<br />
<blockquote>#gem install rails</p></blockquote>
<p>We will need MySQL too, so let us install MySQL gem (I am rich <img src='http://www.sanjeevshrestha.com.np/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> , see how many gems I have )<br />
<blockquote># sudo apt-get install ruby-dev libmysql-ruby libmysqlclient-dev<br /># gem install mysql</p></blockquote>
<p>That is all for installation, you have almost everything to get you started with ROR. Hope it helped you get started with ROR</p>
<p><code></code></p>
<p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=b11a3ff5-0f57-80b4-8dba-991a3eba841e" /></div>
<img src="http://feeds.feedburner.com/~r/sanjeevshresthanp/~4/w6-yk8967HI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sanjeevshrestha.com.np/2010/08/installing-ruby-on-rails-ror-on-ubuntu-lucid-lynx/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.sanjeevshrestha.com.np/2010/08/installing-ruby-on-rails-ror-on-ubuntu-lucid-lynx/</feedburner:origLink></item>
		<item>
		<title>Lolypop – My New RAD Framework for Joomla Apps</title>
		<link>http://feedproxy.google.com/~r/sanjeevshresthanp/~3/fO-0SVaT_XE/</link>
		<comments>http://www.sanjeevshrestha.com.np/2010/05/lolypop-my-new-rad-framework-for-joomla-apps/#comments</comments>
		<pubDate>Sun, 09 May 2010 08:15:47 +0000</pubDate>
		<dc:creator>Sanjeev</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/2010/05/lolypop-my-new-rad-framework-for-joomla-apps/</guid>
		<description><![CDATA[I have been busy and yes very busy with Lolypop &#8211; My New Rapid Application Development Framework for Joomla Apps. Joomla is easy to tame because of its MVC framework but it involves many repetitive task and it can create slag in development. Create similar models, similar controllers and similar views for every other task [...]]]></description>
			<content:encoded><![CDATA[<p>I have been busy and yes very busy with Lolypop &#8211; My New Rapid Application Development Framework for Joomla Apps. Joomla is easy to tame because of its MVC framework but it involves many repetitive task and it can create slag in development. Create similar models, similar controllers and similar views for every other task or forms, it is cumbersome , yes it is painful. What if we can add few features to existing framework, what if we can remove these repetitive tasks and code, what if our app was smart enough to decide what is best for its execution. And these what if..s gave birth to <b>Lolypop. </b><span id="more-373"></span><br />But why I named it Lolypop? Because I love lolypop, everyone loves Lolypop, You can choose between flavors though. Lolypop reduces repetitive tasks, and provides you the way to manage&nbsp; your codes and ofcourse provides you different APIs from Upload API with thumbnailing to Event based Addon system to Google Visualization API to Amazon Web service API. <br />It is still in development and from today my new apps will be created using Lolypop. Lolypop is still for me only but <br />I will release the source codes and development status soon for public to participate. </p>
<p>I hope it will be useful to humanity. Cheers</p>
<img src="http://feeds.feedburner.com/~r/sanjeevshresthanp/~4/fO-0SVaT_XE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sanjeevshrestha.com.np/2010/05/lolypop-my-new-rad-framework-for-joomla-apps/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.sanjeevshrestha.com.np/2010/05/lolypop-my-new-rad-framework-for-joomla-apps/</feedburner:origLink></item>
		<item>
		<title>Know about Joomla Extensions</title>
		<link>http://feedproxy.google.com/~r/sanjeevshresthanp/~3/7G1EtSJDZVE/</link>
		<comments>http://www.sanjeevshrestha.com.np/2010/02/know-about-joomla-extensions/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 18:37:41 +0000</pubDate>
		<dc:creator>Sanjeev</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[components]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[modules]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[types of extensions]]></category>

		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/?p=367</guid>
		<description><![CDATA[Out of the box, Joomla! does a great job of managing the content needed to make your Web site sing. But for many people, the true power of Joomla! lies in the application framework that makes it possible for developers all around the world to create powerful add-ons that are called Extensions. An Extension is [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_185" class="wp-caption alignleft" style="width: 210px"><a href="http://www.sanjeevshrestha.com.np/wp-content/uploads/2009/04/joomla-ogo.png"><img class="size-full wp-image-185" title="joomla-logo.png" src="http://www.sanjeevshrestha.com.np/wp-content/uploads/2009/04/joomla-ogo.png" alt="Joomla Logo" width="200" height="137" /></a><p class="wp-caption-text">Joomla Logo</p></div>
<p>Out of the box, Joomla! does a great job of managing the content needed to make your Web site sing. But for many people, the true power of Joomla! lies in the application framework that makes it possible for developers all around the world to create powerful add-ons that are called Extensions. An Extension is used to add capabilities to Joomla! that do not exist in the base core code. Here are just some examples of the hundreds of available Extensions:<span id="more-367"></span></p>
<p>* Dynamic form builders<br />
* Business or organisational directories<br />
* Document management<br />
* Image and multimedia galleries<br />
* E-commerce and shopping cart engines<br />
* Forums and chat software<br />
* Calendars<br />
* E-mail newsletters<br />
* Data collection and reporting tools<br />
* Banner advertising systems<br />
* Paid subscription services<br />
* and many, many, more</p>
<p>You can find more examples over at our ever growing Joomla! Extensions Directory. Prepare to be amazed at the amount of exciting work produced by our active developer community!</p>
<p>A useful guide to the Extension site can be found at:</p>
<p>http://extensions.joomla.org/content/view/15/63/</p>
<h2>Types of Extensions</h2>
<p>There are five types of extensions:</p>
<p>* Components<br />
* Modules<br />
* Templates<br />
* Plugins<br />
* Languages</p>
<p>You can read more about the specifics of these using the links in the Article Index &#8211; a Table of Contents (yet another useful feature of Joomla!) &#8211; at the top right or by clicking on the Next link below.</p>
<h2>Component</h2>
<p>A Component is the largest and most complex of the Extension types. Components are like mini-applications that render the main body of the page. An analogy that might make the relationship easier to understand would be that Joomla! is a book and all the Components are chapters in the book. The core Article Component (com_content), for example, is the mini-application that handles all core Article rendering just as the core registration Component (com_user) is the mini-application that handles User registration.</p>
<p>Many of Joomla!&#8217;s core features are provided by the use of default Components such as:</p>
<p>* Contacts<br />
* Front Page<br />
* News Feeds<br />
* Banners<br />
* Mass Mail<br />
* Polls</p>
<p>A Component will manage data, set displays, provide functions, and in general can perform any operation that does not fall under the general functions of the core code.</p>
<p>Components work hand in hand with Modules and Plugins to provide a rich variety of content display and functionality aside from the standard Article and content display. They make it possible to completely transform Joomla! and greatly expand its capabilities.</p>
<h2>Module</h2>
<p>A more lightweight and flexible Extension used for page rendering is a Module. Modules are used for small bits of the page that are generally less complex and able to be seen across different Components. To continue in our book analogy, a Module can be looked at as a footnote or header block, or perhaps an image/caption block that can be rendered on a particular page. Obviously you can have a footnote on any page but not all pages will have them. Footnotes also might appear regardless of which chapter you are reading. Simlarly Modules can be rendered regardless of which Component you have loaded.</p>
<p>Modules are like little mini-applets that can be placed anywhere on your site. They work in conjunction with Components in some cases and in others are complete stand alone snippets of code used to display some data from the database such as Articles (Newsflash) Modules are usually used to output data but they can also be interactive form items to input data for example the Login Module or Polls.</p>
<p>Modules can be assigned to Module positions which are defined in your Template and in the back-end using the Module Manager and editing the Module Position settings. For example, &#8220;left&#8221; and &#8220;right&#8221; are common for a 3 column layout.<br />
Displaying Modules</p>
<p>Each Module is assigned to a Module position on your site. If you wish it to display in two different locations you must copy the Module and assign the copy to display at the new location. You can also set which Menu Items (and thus pages) a Module will display on, you can select all Menu Items or you can pick and choose by holding down the control key and selecting multiple locations one by one in the Modules [Edit] screen</p>
<p>Note: Your Main Menu is a Module! When you create a new Menu in the Menu Manager you are actually copying the Main Menu Module (mod_mainmenu) code and giving it the name of your new Menu. When you copy a Module you do not copy all of its parameters, you simply allow Joomla! to use the same code with two separate settings.<br />
Newsflash Example</p>
<p>Newsflash is a Module which will display Articles from your site in an assignable Module position. It can be used and configured to display one Category, all Categories, or to randomly choose Articles to highlight to Users. It will display as much of an Article as you set, and will show a Read more&#8230; link to take the User to the full Article.</p>
<p>The Newsflash Component is particularly useful for things like Site News or to show the latest Article added to your Web site.</p>
<h2>Plugin</h2>
<p>One of the more advanced Extensions for Joomla! is the Plugin. In previous versions of Joomla! Plugins were known as Mambots. Aside from changing their name their functionality has been expanded. A Plugin is a section of code that runs when a pre-defined event happens within Joomla!. Editors are Plugins, for example, that execute when the Joomla! event onGetEditorArea occurs. Using a Plugin allows a developer to change the way their code behaves depending upon which Plugins are installed to react to an event.</p>
<h2>Language</h2>
<p>New to Joomla! 1.5 and perhaps the most basic and critical Extension is a Language. Joomla! is released with multiple Installation Languages but the base Site and Administrator are packaged in just the one Language en-GB &#8211; being English with GB spelling for example. To include all the translations currently available would bloat the core package and make it unmanageable for uploading purposes. The Language files enable all the User interfaces both Front-end and Back-end to be presented in the local preferred language. Note these packs do not have any impact on the actual content such as Articles.</p>
<p>More information on languages is available from the</p>
<p>http://community.joomla.org/translations.html</p>
<img src="http://feeds.feedburner.com/~r/sanjeevshresthanp/~4/7G1EtSJDZVE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sanjeevshrestha.com.np/2010/02/know-about-joomla-extensions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.sanjeevshrestha.com.np/2010/02/know-about-joomla-extensions/</feedburner:origLink></item>
		<item>
		<title>Why is my .htaccess not working in VPS?</title>
		<link>http://feedproxy.google.com/~r/sanjeevshresthanp/~3/9dqjo-xnlqE/</link>
		<comments>http://www.sanjeevshrestha.com.np/2010/01/why-is-my-htaccess-not-working-in-vps/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 08:04:55 +0000</pubDate>
		<dc:creator>Sanjeev</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[.htaccess not working]]></category>
		<category><![CDATA[httpd.conf]]></category>
		<category><![CDATA[VPS server]]></category>
		<category><![CDATA[Webmin]]></category>

		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/2010/01/why-is-my-htaccess-not-working-in/</guid>
		<description><![CDATA[If you have a VPS or Linux server running Apache the good old fashioned way without fancy control panels, you’ll quickly have to learn some Apache tweaks. One of the main issues we commonly run into is a non-working .htaccess file.  Apache doesn’t come with .htaccess support automatically turned on.  You’ll have to turn it [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a VPS or Linux server running Apache the good old fashioned way without fancy control panels, you’ll quickly have to learn some Apache tweaks.</p>
<p>One of the main issues we commonly run into is a non-working .htaccess file.  Apache doesn’t come with .htaccess support automatically turned on.  You’ll have to turn it on in order for .htaccess files to have an effect.  Here’s what you do:</p>
<p>There are two ways,</p>
<ol>
<li>Edit your httpd.conf manually using a text editor like vim, nano, vi, joe whatever you like.</li>
<li>Edit your httpd.conf through Webmin</li>
</ol>
<p><span id="more-358"></span>Since the Webmin version is more graphical, we’ll show you how to do it through Webmin.  If you’re using a text editor, just skip to the portion with the AllowOveride command.</p>
<p><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:TrackMoves /> <w:TrackFormatting /> <w:PunctuationKerning /> <w:ValidateAgainstSchemas /> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:DoNotPromoteQF /> <w:LidThemeOther>EN-US</w:LidThemeOther> <w:LidThemeAsian>X-NONE</w:LidThemeAsian> <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> <w:DontGrowAutofit /> <w:SplitPgBreakAndParaMark /> <w:DontVertAlignCellWithSp /> <w:DontBreakConstrainedForcedTables /> <w:DontVertAlignInTxbx /> <w:Word11KerningPairs /> <w:CachedColBalance /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> <m:mathPr> <m:mathFont m:val="Cambria Math" /> <m:brkBin m:val="before" /> <m:brkBinSub m:val=" " /> <m:smallFrac m:val="off" /> <m:dispDef /> <m:lMargin m:val="0" /> <m:rMargin m:val="0" /> <m:defJc m:val="centerGroup" /> <m:wrapIndent m:val="1440" /> <m:intLim m:val="subSup" /> <m:naryLim m:val="undOvr" /> </m:mathPr></w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"   DefSemiHidden="true" DefQFormat="false" DefPriority="99"   LatentStyleCount="267"> <w:LsdException Locked="false" Priority="0" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Normal" /> <w:LsdException Locked="false" Priority="9" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="heading 1" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9" /> <w:LsdException Locked="false" Priority="39" Name="toc 1" /> <w:LsdException Locked="false" Priority="39" Name="toc 2" /> <w:LsdException Locked="false" Priority="39" Name="toc 3" /> <w:LsdException Locked="false" Priority="39" Name="toc 4" /> <w:LsdException Locked="false" Priority="39" Name="toc 5" /> <w:LsdException Locked="false" Priority="39" Name="toc 6" /> <w:LsdException Locked="false" Priority="39" Name="toc 7" /> <w:LsdException Locked="false" Priority="39" Name="toc 8" /> <w:LsdException Locked="false" Priority="39" Name="toc 9" /> <w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption" /> <w:LsdException Locked="false" Priority="10" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Title" /> <w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font" /> <w:LsdException Locked="false" Priority="11" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtitle" /> <w:LsdException Locked="false" Priority="22" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Strong" /> <w:LsdException Locked="false" Priority="20" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Emphasis" /> <w:LsdException Locked="false" Priority="59" SemiHidden="false"    UnhideWhenUsed="false" Name="Table Grid" /> <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text" /> <w:LsdException Locked="false" Priority="1" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="No Spacing" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 1" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 1" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 1" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 1" /> <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision" /> <w:LsdException Locked="false" Priority="34" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="List Paragraph" /> <w:LsdException Locked="false" Priority="29" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Quote" /> <w:LsdException Locked="false" Priority="30" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Quote" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 1" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 1" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 1" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 1" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 1" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 2" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 2" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 2" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 2" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 2" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 2" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 2" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 2" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 2" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 3" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 3" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 3" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 3" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 3" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 3" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 3" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 3" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 3" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 4" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 4" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 4" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 4" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 4" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 4" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 4" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 4" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 4" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 5" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 5" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 5" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 5" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 5" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 5" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 5" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 5" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 5" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 6" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 6" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 6" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 6" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 6" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 6" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 6" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 6" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 6" /> <w:LsdException Locked="false" Priority="19" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis" /> <w:LsdException Locked="false" Priority="21" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis" /> <w:LsdException Locked="false" Priority="31" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference" /> <w:LsdException Locked="false" Priority="32" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Reference" /> <w:LsdException Locked="false" Priority="33" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Book Title" /> <w:LsdException Locked="false" Priority="37" Name="Bibliography" /> <w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading" /> </w:LatentStyles> </xml><![endif]--></p>
<ol>
<li>Login to your Webmin</li>
<li>Servers&gt;Apache Webserver</li>
<li>Go to the &#8220;Global Configuration&#8221; tab</li>
<li>Click on &#8220;Edit Config Files&#8221;<img style="max-width: 800px;" src="http://www.sanjeevshrestha.com.np/wp-content/uploads/2010/01/config-scrshot1.png" alt="" width="500" height="200" /></li>
<li>Search for AllowOverride and .htaccess and remove the # sign in front or type “AllowOverride All”. or Search for AllowOverride None and replace with AllowOverride All<br />
<img style="max-width: 800px;" src="http://www.sanjeevshrestha.com.np/wp-content/uploads/2010/01/edit-config.png" alt="" width="500" height="292" /><span style="font-size: 11pt;">This should fix it permanently and allow your .htaccess files to override pretty much and directive needed.</p>
<p></span></li>
</ol>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=b80eb9ac-0745-8e70-8602-dab8f2f14922" alt="" /></div>
<img src="http://feeds.feedburner.com/~r/sanjeevshresthanp/~4/9dqjo-xnlqE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sanjeevshrestha.com.np/2010/01/why-is-my-htaccess-not-working-in-vps/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.sanjeevshrestha.com.np/2010/01/why-is-my-htaccess-not-working-in-vps/</feedburner:origLink></item>
		<item>
		<title>Creating Color Element in Joomla for custom parameter type</title>
		<link>http://feedproxy.google.com/~r/sanjeevshresthanp/~3/HzRgQBWnk6I/</link>
		<comments>http://www.sanjeevshrestha.com.np/2010/01/creating-color-element-in-joomla-for-custom-parameter-type/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 15:14:58 +0000</pubDate>
		<dc:creator>Sanjeev</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Mootools]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[color element]]></category>
		<category><![CDATA[color element for joomla]]></category>
		<category><![CDATA[color picker for joomla]]></category>
		<category><![CDATA[custom parameters]]></category>
		<category><![CDATA[Joomla element]]></category>
		<category><![CDATA[moorainbow]]></category>

		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/2010/01/creating-color-element-in-joomla-for-custom-parameter-type/</guid>
		<description><![CDATA[Elements are of utmost importance in Joomla development. Elements allows you to create custom parameter type that you can use in your metadata files. Metadata files are xml files that are used to provide configuration parameters to your component, module, plugin or even views. Metadata files for your views are used configure menu links that [...]]]></description>
			<content:encoded><![CDATA[<p><img style="max-width: 800px; float: right; margin-top: 10px; margin-bottom: 10px; margin-left: 10px;" src="http://www.sanjeevshrestha.com.np/wp-content/uploads/2009/04/joomla-ogo.png" alt="" />Elements are of utmost importance in Joomla development. Elements allows you to create custom parameter type that you can use in your metadata files. Metadata files are xml files that are used to provide configuration parameters to your component, module, plugin or even views. Metadata files for your views are used configure menu links that that will use that view.</p>
<p>In this short tutorial, I will tell about creating elements and using it differently on different places. Elements are special files that generally adds value to parameters. For this tutorial, I will create a color element that  can be used in different components, modules, plugins where color selection is done through a color picker. I will use <a href="http://moorainbow.woolly-sheep.net" target="_blank">moorainbow</a> as web color picker. <!-- more --><span id="more-351"></span><br />
Also note, I am creating this element for my <a href="http://www.gobingoo.com" target="_blank">adsensebingo module</a>. Hence this code has been tested and used.</p>
<h1>Creating Color Element File</h1>
<p>Element file are generally single php file that has element class that extends JElement base class. The class overrides fetchElement method  of JElement Base class to provide color picker.<br />
Let us create a folder that will hold all files necessary for color element.  Let us call this folder &#8220;element&#8221;. Download the latest moorainbow library and place it in a subfolder directly below the elements folder. Now create a color.php file . This file is the element file and has a class JElementColor that extends JElement base class.<br />
Now override fetchElement method of JElement base class.  The important part of element is the fetchElement method. This method actually returns data that can be used by parameters.</p>
<p>A little explanation about fetchElement is necessary. method fetchElement requires 4 arguments namely<br />
$name &#8211; is the unique name of the parameter, from the <strong>name</strong> argument.<br />
$value &#8211; is the current value of the parameter.<br />
$node &#8211; is a <em>JSimpleXMLElement</em> object representing the <em>&lt;param&gt;</em> element.<br />
$control_name &#8211; is the parameter type from the <strong>type</strong> argument (eg. &#8216;category&#8217; or &#8216;color&#8217;).</p>
<p>The fetchElement method for Color element is as below</p>
<pre class="brush:php">function fetchElement($name, $value, &amp;$node, $control_name)
{
        ob_start();
        $img=JUri::root()."modules/mod_adsensebingo/elements/moorainbow/images/rainbow.png";
        $imgx=JUri::root()."modules/mod_adsensebingo/elements/moorainbow/images/";
        static $embedded;
                if(!$embedded)
        {
            $css2=JUri::root()."modules/mod_adsensebingo/elements/moorainbow/css/mooRainbow.css";
            $jspath=JUri::root()."modules/mod_adsensebingo/elements/moorainbow/js/mooRainbow.js";
             ?&gt;
&lt;link
    href="&lt;?php echo $css2;?&gt;" type="text/css" rel="stylesheet" /&gt;
&lt;script src="&lt;?php echo $jspath;?&gt;"&gt;&lt;/script&gt;
            &lt;?php
            $embedded=true;
        ?&gt;
&lt;script&gt;
            window.addEvent('domready',function(){
//Get sibling function from http://www.sanjeevshrestha.com.np
                Element.extend({
                    getSiblings: function() {
                        return this.getParent().getChildren().remove(this);
                    }
                });
            $('.rainbowbtn').each(function(item){
         item.color=new MooRainbow(item.id, {
                    startColor: [58, 142, 246],
                    wheel: true,
                    id:item.id+'x',
                    onChange: function(color) {
                    item.getSiblings()[0].value = color.hex;
                    },
                    onComplete: function(color) {
                    item.getSiblings()[0].value = color.hex;
                    },
                    imgPath: '&lt;?php echo $imgx;?&gt;'
                });
                });
            });
            &lt;/script&gt;
            &lt;?php
        }
            ?&gt;
            &lt;label&gt;
&lt;input
    name="&lt;?php echo $control_name;?////&gt;[&lt;?php echo $name;?&gt;]" type="text"
    class="inputbox" id="&lt;?php echo  $control_name.$name ?&gt;"
    value="&lt;?php echo $value;?&gt;" size="10" /&gt;
&lt;img
    src="&lt;?php echo $img;? /&gt;" id="img&lt;?php echo $name; ?&gt;" alt="[r]"
    class="rainbowbtn" width="16" height="16" /&gt;&lt;/label&gt;
        &lt;?php
        $content=ob_get_contents();
        ob_end_clean();
        return $content;
    }</pre>
<p>That is it.</p>
<h1>Using it in Module Parameters.</h1>
<p>Now let us use this in module parameter. Parameters are generally written in<br />
element block. For these params block to render our color element we need to specify path to our elements folder in this params element node as below</p>
<pre class="brush:xml">&lt;params addpath="[path]/elements"&gt; &lt;/param&gt;
--- list of &lt;param&gt; elements ---
&lt;/params&gt;</pre>
<p>In our case this is written as</p>
<pre class="brush:xml">&lt;params addpath="/modules/mod_adsensebingo/elements"&gt; &lt;/param&gt;
&lt;param name="foreground" type="color" default="#CC0000" label="Foreground Color" description="Select foreground color for your google ad" &gt; &lt;/param&gt;
-- other &lt;param&gt; elements
&lt;/params&gt;</pre>
<p><img style="max-width: 800px; float: right; margin-top: 10px; margin-bottom: 10px; margin-left: 10px;" src="http://www.sanjeevshrestha.com.np/wp-content/uploads/2010/01/shot.jpg" alt="" />Now this block is aware of new elment type and knows where to find the element rendering code. The parameter section of module setting page now correctly shows a color picker.<br />
You can create any kind of elments, from a simple integer list to a complex color element or elements that shows records from your component. The usage is limitless.</p>
<p>That is all for color element. More to come on element tutorials till then happy reading.</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=6b5df7d5-8092-87e7-9ea2-5ad121049b12" alt="" /></div>
<img src="http://feeds.feedburner.com/~r/sanjeevshresthanp/~4/HzRgQBWnk6I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sanjeevshrestha.com.np/2010/01/creating-color-element-in-joomla-for-custom-parameter-type/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.sanjeevshrestha.com.np/2010/01/creating-color-element-in-joomla-for-custom-parameter-type/</feedburner:origLink></item>
		<item>
		<title>Paypal Donation Module for Joomla</title>
		<link>http://feedproxy.google.com/~r/sanjeevshresthanp/~3/J-f2qWwm8DQ/</link>
		<comments>http://www.sanjeevshrestha.com.np/2009/12/paypal-donation-module-for-joomla/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 15:20:00 +0000</pubDate>
		<dc:creator>Sanjeev</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[MyUpdates]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[collect donation]]></category>
		<category><![CDATA[joomlaguru.com.np]]></category>
		<category><![CDATA[OSDonate]]></category>
		<category><![CDATA[Paypal Donation Module]]></category>

		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/2009/12/paypal-donation-module-for-joomla/</guid>
		<description><![CDATA[A small donation can make a big difference to opensource developers who devote few hours a day to help a community of users. I also develop extensions for Joomla and release it for others to use. Joomlaguru.com.np is one of my site that is devoted to help Joomla users. Small or Big, donations matter to [...]]]></description>
			<content:encoded><![CDATA[<p><img style="max-width: 800px; float: left; margin-top: 10px; margin-bottom: 10px; margin-right: 10px;" src="http://www.sanjeevshrestha.com.np/wp-content/uploads/2009/12/osdonate-logo.png" alt="" />A small donation can make a big difference to opensource developers who devote few hours a day to help a community of users. I also develop extensions for <a href="http://www.joomla.org" target="_blank">Joomla</a> and release it for others to use. <a href="http://www.joomlaguru.com.np" target="_blank">Joomlaguru.com.np</a> is one of my site that is devoted to help Joomla users. Small or Big, donations matter to opensource projects and developers.</p>
<p>Recently I created a donation module for joomla that collects donations on Joomla sites. This module uses <a href="http://www.paypal.com" target="_blank">Paypal</a> to collect donations and is simple to setup and you can get it up and running within a minute. This module is free to use and is released under <strong>GNU/GPL. </strong> You can see live demo of the module at <a href="http://www.joomlaguru.com.np" target="_blank">www.joomlaguru.com.np</a>. <span id="more-334"></span></p>
<h2>Features</h2>
<p>Version 1.0 has following features. You can view the parameters for this module. This module has rich set of configuration options as explained below.<br />
<img style="max-width: 800px;" src="http://www.sanjeevshrestha.com.np/wp-content/uploads/2009/12/osdonate-parameters-21.png" alt="" /></p>
<p><strong>Select Server </strong>- This has two options and lets user to select between live and sandbox environment on paypal.</p>
<p><strong>Paypal Merchant  Email/ID </strong>- Paypal Email. You can also enter paypal merchant ID instead of paypal email. This increases security without exposing your email address.</p>
<p><strong>Donate To Text </strong>- Configure text that is displayed on invoice and paypal donation collecting form.</p>
<p><strong>Fixed Donation</strong> &#8211; You can choose to accept fixed donations or Donation through input box or a drop down box. If you select fixed donations, please enter donation amount in next field too. If you select &#8220;Show amount in select box&#8221; user is presented a drop down box with different denominations. These denominations can be configured from a file that is under<strong> modules-&gt;mod_osdonate-&gt;data-&gt;amounts.dat</strong></p>
<p><strong>Fixed Amount Donation</strong> &#8211; Fixed donation amount. This is used only when fixed_donation is active.</p>
<p><strong>Your locale currency </strong>- Select currency in which you want to accept donation. Be advised this currency should be active in your paypal. If not this may cause error. You can add currencies in your paypal account. Please refer to paypal help on more about this.</p>
<p><strong>Your Country locale </strong>- Select your country. This should be from your paypal account.</p>
<p><strong>Thank you page</strong> &#8211; Select article that will be displayed when user makes a successful payment through paypal donation form.</p>
<p><strong>Cancel Page</strong> &#8211; Select article that will be displayed when user cancels the payment.</p>
<p><strong>Donation Intro Text </strong>- Text that will be displayed before paypal donate button. Be expressive and a little funny to your viewers. <img src='http://www.sanjeevshrestha.com.np/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><strong>Donation Post Text</strong> &#8211; Text that will appear after the donation button.</p>
<p>This is all you need to collect donations from your joomla site.</p>
<p>You can view more details about this module <a href="http://www.joomlaguru.com.np/documentation/modules/osdonate" target="_blank">here</a>. Also you can download the module <a href="http://www.joomlaguru.com.np/freebies/modules/13-modosdonate.html" target="_blank">here</a>.</p>
<p>If you like this module consider contributing at <a href="http://www.joomlaguru.com.np" target="_blank">Joomlaguru.com.np</a>. Your small contribution can make a difference.</p>
<form id="donateplusform" action="https://www.paypal.com/cgi-bin/webscr" method="post"><input type="hidden" id="cmd" name="cmd" value="_donations">
			<p class="donate_amount"><label for="amount">Donation Amount:</label><br /><input type="text" name="amount" id="amount" value="10" /> <small>(Currency: USD)</small></p>
			<p class="recognition_wall"><label><input type="checkbox" id="recognize" name="recognize" value="1" /> Put my Donation on the Recognition Wall</label></p>
			<div id="wallinfo">
			<p class="show_onwall" id="wallops"><label for="show_onwall">Show on Wall:</label><br /><select name="item_number">
				<option value="0:0">Do not show any information</option>
				<option value="1:0">Donation Amount, User Details &amp; Comments</option>
				<option value="2:0">User Details &amp; Comments Only</option>
			</select></p>
			<p class="donor_name"><label for="donor_name">Name:</label><br /><input type="text" name="on0" id="donor_name" /></p>
			<p class="donor_email"><label for="donor_email">Email:</label><br /><input type="text" name="os0" id="donor_email" /></p>
			<p class="donor_url"><label for="donor_url">Website:</label><br /><input type="text" name="on1" id="donor_url" /></p>
			<p  class="donor_comment"><label for="donor_comment">Comments:</label><br /><textarea name="os1" id="donor_comment" rows="4" cols="45" style="width:90%"></textarea><br /><span id="charinfo">Write your comment within 199 characters.</span> </p></div>
<input type="hidden" name="notify_url" value="http://www.sanjeevshrestha.com.np/wp-content/plugins/donate-plus/paypal.php">
<input type="hidden" name="item_name" value="Contribution to sanjeevshrestha.com.np">
<input type="hidden" name="business" value="onemc.freelance@gmail.com">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="rm" value="1">
<input type="hidden" name="return" value="http://www.sanjeevshrestha.com.np?thankyou=true">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHosted">
<p class="submit"><input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"></p>
</form>
<p>Happy reading!! <img src='http://www.sanjeevshrestha.com.np/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong> </strong></p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=6ccbd368-4fa7-858a-ae2e-e5df1d92067e" alt="" /></div>
<img src="http://feeds.feedburner.com/~r/sanjeevshresthanp/~4/J-f2qWwm8DQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sanjeevshrestha.com.np/2009/12/paypal-donation-module-for-joomla/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sanjeevshrestha.com.np/2009/12/paypal-donation-module-for-joomla/</feedburner:origLink></item>
		<item>
		<title>JQuery Plugin for Joomla</title>
		<link>http://feedproxy.google.com/~r/sanjeevshresthanp/~3/67Q15axUIPk/</link>
		<comments>http://www.sanjeevshrestha.com.np/2009/12/jquery-plugin-for-joomla/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 03:08:43 +0000</pubDate>
		<dc:creator>Sanjeev</dc:creator>
				<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[MyUpdates]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[jquery plugin]]></category>
		<category><![CDATA[jQuery plugin for Joomla]]></category>
		<category><![CDATA[jquery with mootools]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[using jquery with joomla]]></category>

		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/2009/12/jquery-plugin-for-joomla/</guid>
		<description><![CDATA[I recently released jQuery plugin for Joomla on joomlaguru.com.np. This is a simple plugin that allows user to use jQuery in Joomla and is based on my tutorial here. This plugin works in two modes and allows user a flexibility to replace or use jquery in conjunction with mootools.  This plugin is released under GNU/GPL [...]]]></description>
			<content:encoded><![CDATA[<p><img style="max-width: 800px; float: right; margin-top: 10px; margin-bottom: 10px; margin-left: 10px;" src="http://www.sanjeevshrestha.com.np/wp-content/uploads/2009/12/os-jquery-logo1.jpg" alt="" />I recently released <a href="http://www.joomlaguru.com.np/freebies/plugins/12-plgosjquery.html" target="_blank">jQuery plugin</a> for Joomla on <a href="http://www.joomlaguru.com.np" target="_blank">joomlaguru.com.np</a>. This is a simple plugin that allows user to use jQuery in Joomla and is based on my tutorial <a href="http://www.sanjeevshrestha.com.np/2009/05/using-jquery-with-joomla/" target="_blank">here</a>. This plugin works in two modes and allows user a flexibility to replace or use jquery in conjunction with mootools.  This plugin is released under GNU/GPL and is free as in free beer!</p>
<h2>Features</h2>
<p><strong>1. Two modes</strong></p>
<p>User can select to replace mootools with jQuery completely or use jQuery in conjunction with mootools. Using jQuery with mootools introduces noConflict features of jQuery and replaces &#8216;$&#8217; operator with jquery. This allows other libraries to use &#8216;$&#8217; operator without conflict.<span id="more-328"></span></p>
<p><!-- more --></p>
<p><strong>2. Where to use selection</strong></p>
<p>Use can select where to use jQuery. User can choose to use jQuery in frontend and/ or in administrator.</p>
<p><strong>3. Allows other application to check if jquery is loaded.</strong></p>
<p>This plugin also introduces a variable in application session that allows others to check if jquery is loaded or not. The illustration of use is as below\</p>
<blockquote>
<pre>    $app =&amp; JFactory::getApplication();
        //Check to see if jquery is already included
        if( $app-&gt;get('jquery') === true ) {
            //Code here
        }
    else
    {
    //Code here
    }</pre>
</blockquote>
<p>Here is the screenshot of plugin parameters</p>
<p><img style="max-width: 800px;" src="http://www.sanjeevshrestha.com.np/wp-content/uploads/2009/12/jquery-plugin-screenshot1.jpg" alt="" /></p>
<h2>License</h2>
<p>The module is released under GNU/GPL license and hence users are allowed distribute and modify the module without warranty what so ever. The developer does not bear any liability for the extension.</p>
<h2>Download</h2>
<p>Download the latest release from the download section of <a href="http://www.joomlaguru.com.np/freebies/plugins.html" target="_blank">joomlaguru.com.np</a> or you can <span class="download_link">click <a href="http://www.joomlaguru.com.np/freebies/plugins/12-plgosjquery.html" target="_blank">here</a></span> to download the plugin.</p>
<p>Send in your comments and feedbacks on the plugin. Hope you will like the plugin. Happy reading.</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=371381cb-c8f5-848d-8f17-abbab3b451ee" alt="" /></div>
<img src="http://feeds.feedburner.com/~r/sanjeevshresthanp/~4/67Q15axUIPk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sanjeevshrestha.com.np/2009/12/jquery-plugin-for-joomla/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://www.sanjeevshrestha.com.np/2009/12/jquery-plugin-for-joomla/</feedburner:origLink></item>
		<item>
		<title>Analytics Plugin for Joomla</title>
		<link>http://feedproxy.google.com/~r/sanjeevshresthanp/~3/ZHpxveNK-4U/</link>
		<comments>http://www.sanjeevshrestha.com.np/2009/12/analytics-plugin-for-joomla/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 20:04:24 +0000</pubDate>
		<dc:creator>Sanjeev</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[MyUpdates]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[analytics plugin for Joomla]]></category>
		<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[google analytics for joomla]]></category>
		<category><![CDATA[joomlaguru.com.np]]></category>
		<category><![CDATA[osanalytics]]></category>
		<category><![CDATA[osanalytics ver 1.0 plugin for joomla]]></category>

		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/2009/12/analytics-plugin-for-joomla/</guid>
		<description><![CDATA[I have created a google analytics plugin for Joomla. This plugin is simple and inserts google analytics code into joomla pages. This plugin is released under GNU/GPL license. The plugin is free and available from www.joomlaguru.com.np Features Website ID &#8211; Website ID from Google Analytics. These website ID are unique to each website profile.index.php?option=com_content Domain [...]]]></description>
			<content:encoded><![CDATA[<p><img style="max-width: 800px; float: left; margin-top: 10px; margin-bottom: 10px; margin-right: 10px;" src="http://www.sanjeevshrestha.com.np/wp-content/uploads/2009/12/osanalytics.jpg" alt="" />I have created a google analytics plugin for Joomla. This plugin is simple and inserts google analytics code into joomla pages. This plugin is released under GNU/GPL license. The plugin is free and available from <a href="http://www.joomlaguru.com.np" target="_blank">www.joomlaguru.com.np</a><span id="more-317"></span></p>
<h2>Features</h2>
<p><img style="max-width: 800px; float: right; margin-top: 10px; margin-bottom: 10px; margin-left: 10px;" src="http://www.sanjeevshrestha.com.np/wp-content/uploads/2009/12/osanalytics-scrshot.jpg" alt="" />Website ID &#8211; Website ID from Google Analytics. These website ID are unique to each website profile.index.php?option=com_content</p>
<p>Domain &#8211; Enter domain without<strong> http://www</strong> e.g. <strong>joomlaguru.com.np</strong></p>
<p>Track &#8211; Select tracker type. User can select from tracker type. There are 3 types of tracker available.</p>
<ol>
<li><strong>Single Domain Tracker</strong><br />
Tracker Tracks single domain only.</li>
<li><strong>One Domain With Multiple Subdomains</strong><br />
Tracker tracks multiple subdomains under single domain</li>
<li><strong>Multiple Top Level Domains</strong><br />
Tracker tracks multiple top level domains.</li>
</ol>
<p>Download the <a href="http://www.joomlaguru.com.np/freebies/plugins/9-plgosanalytics.html" target="_blank">plugin from the joomlaguru.com.np download page.</a></p>
<p>If you find this plugin useful please consider contributing. Your contribution can make a difference<br />
<form id="donateplusform" action="https://www.paypal.com/cgi-bin/webscr" method="post"><input type="hidden" id="cmd" name="cmd" value="_donations">
			<p class="donate_amount"><label for="amount">Donation Amount:</label><br /><input type="text" name="amount" id="amount" value="10" /> <small>(Currency: USD)</small></p>
			<p class="recognition_wall"><label><input type="checkbox" id="recognize" name="recognize" value="1" /> Put my Donation on the Recognition Wall</label></p>
			<div id="wallinfo">
			<p class="show_onwall" id="wallops"><label for="show_onwall">Show on Wall:</label><br /><select name="item_number">
				<option value="0:0">Do not show any information</option>
				<option value="1:0">Donation Amount, User Details &amp; Comments</option>
				<option value="2:0">User Details &amp; Comments Only</option>
			</select></p>
			<p class="donor_name"><label for="donor_name">Name:</label><br /><input type="text" name="on0" id="donor_name" /></p>
			<p class="donor_email"><label for="donor_email">Email:</label><br /><input type="text" name="os0" id="donor_email" /></p>
			<p class="donor_url"><label for="donor_url">Website:</label><br /><input type="text" name="on1" id="donor_url" /></p>
			<p  class="donor_comment"><label for="donor_comment">Comments:</label><br /><textarea name="os1" id="donor_comment" rows="4" cols="45" style="width:90%"></textarea><br /><span id="charinfo">Write your comment within 199 characters.</span> </p></div>
<input type="hidden" name="notify_url" value="http://www.sanjeevshrestha.com.np/wp-content/plugins/donate-plus/paypal.php">
<input type="hidden" name="item_name" value="Contribution to sanjeevshrestha.com.np">
<input type="hidden" name="business" value="onemc.freelance@gmail.com">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="rm" value="1">
<input type="hidden" name="return" value="http://www.sanjeevshrestha.com.np?thankyou=true">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHosted">
<p class="submit"><input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"></p>
</form></p>
<p>Hope you like this plugin. Happy reading!!</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=9a40f3b1-8e74-8bad-b29c-54098532a198" alt="" /></div>
<img src="http://feeds.feedburner.com/~r/sanjeevshresthanp/~4/ZHpxveNK-4U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sanjeevshrestha.com.np/2009/12/analytics-plugin-for-joomla/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sanjeevshrestha.com.np/2009/12/analytics-plugin-for-joomla/</feedburner:origLink></item>
		<item>
		<title>Joomlaguru.com.np beta – launched</title>
		<link>http://feedproxy.google.com/~r/sanjeevshresthanp/~3/tXsvaNCVkFI/</link>
		<comments>http://www.sanjeevshrestha.com.np/2009/12/joomlaguru-com-np-beta-launched/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 04:39:25 +0000</pubDate>
		<dc:creator>Sanjeev</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[MyUpdates]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Joomlaguru launched]]></category>
		<category><![CDATA[joomlaguru.com.np]]></category>
		<category><![CDATA[sanjeev]]></category>

		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/2009/12/joomlaguru-com-np-beta-launched/</guid>
		<description><![CDATA[Hi Folks, I feel honoured and glad to announce the launch of new website www.joomlaguru.com.np. This is a beta launch of the website and hence there are more to come in future. Please report bug or request feature you want to be included. The website will mainly focus on extension development tips and tricks, tutorials, [...]]]></description>
			<content:encoded><![CDATA[<p><img style="max-width: 800px;" src="http://www.sanjeevshrestha.com.np/wp-content/uploads/2009/12/joomlaguru-scrshot.jpg" alt="" /><br />
Hi Folks,<br />
I feel honoured and glad to announce the launch of new website <a href="http://www.joomlaguru.com.np" target="_blank">www.joomlaguru.com.np</a>. This is a beta launch of the website and hence there are more to come in future. Please report bug or request feature you want to be included.<br />
<!-- more --><span id="more-308"></span><br />
The website will mainly focus on extension development tips and tricks, tutorials, reviews on existing components, free extensions created by me and there are more to come. There is a <a href="http://www.joomlaguru.com.np/forum" target="_blank">forum</a> where a user can post queries and get it answered quickly by joomla gurus from around the world.</p>
<p>I have already launched <a href="http://extensions.joomla.org/extensions/external-contents/social-blogging/10652" target="_blank">twitter box</a> &#8211; a free and easy twitter module for joomla through Joomlaguru.com.np.</p>
<p>I hope overwhelming response from readers. Let us pray for its bright future.</p>
<p>Thanks<br />
Sanjeev</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=4bd3737c-2930-843a-9d4d-f8da4c3e4ad1" alt="" /></div>
<img src="http://feeds.feedburner.com/~r/sanjeevshresthanp/~4/tXsvaNCVkFI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sanjeevshrestha.com.np/2009/12/joomlaguru-com-np-beta-launched/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.sanjeevshrestha.com.np/2009/12/joomlaguru-com-np-beta-launched/</feedburner:origLink></item>
	</channel>
</rss>
