<?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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Let's start again...</title><link>http://blog.manchumahara.com</link><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/manchumahara" /><description>"Manchumahara" ...... The virtual crazy vagabond and  a emotional stupid</description><language>en</language><lastBuildDate>Sat, 04 Sep 2010 08:50:02 PDT</lastBuildDate><generator>http://wordpress.org/?v=3.0.1</generator><sy:updatePeriod xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">hourly</sy:updatePeriod><sy:updateFrequency xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">1</sy:updateFrequency><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/manchumahara" /><feedburner:info uri="manchumahara" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>manchumahara</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item><title>Social Share/Vote Button plugin for joomla content</title><link>http://feedproxy.google.com/~r/manchumahara/~3/ors-fXTReZg/</link><category>Joomla</category><category>Joomla Extention</category><category>content plugin</category><category>share button</category><category>vote button</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Manchumahara(Sabuj Kundu)</dc:creator><pubDate>Wed, 01 Sep 2010 13:44:54 PDT</pubDate><guid isPermaLink="false">http://blog.manchumahara.com/?p=596</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p><strong>Update 03.09.2010:</strong> <a href="http://extensions.joomla.org/extensions/social-web/social-bookmarking-display/13847" target="_blank">This extension got approved in JED</a>. If you like this extension pls write reviews and vote in JED.</p>
<p><strong>Here are others:</strong></p>
<p>Component listing: <a href="http://bit.ly/9cExhJ" target="_blank">http://bit.ly/9cExhJ</a></p>
<p>Simple Tab slider: <a href="http://bit.ly/7dvnI7 " target="_blank">http://bit.ly/7dvnI7 </a></p>
<p>Bangla date: <a href="http://bit.ly/c3v5Wv" target="_blank">http://bit.ly/c3v5Wv</a></p>
<p>All share count or &#8220;Social share/Vote button&#8221;  is a joomla plugin that shows social share or vote button in articles. It contains all popular social network or share/bookmark sites that supports button/badge for vote/share. I was inpired by the wordpres plugin &#8220;<a href="http://www.mkyong.com/blog/digg-digg-wordpress-plugin/">Digg Digg WordPress Plugin</a>&#8221; which I am using in my blog for many days. So I decided to make one for joomla and passed some hours for it.</p>
<dl id="attachment_597" class="wp-caption aligncenter" style="width: 404px"><dt><img class="size-full wp-image-597" title="sharecount" src="http://blog.manchumahara.com/wp-content/uploads/2010/09/sharecount.png" alt="" width="394" height="91" /></dt><dd class="wp-caption-text">Social share/Vote button</dd></dl>
<p><span id="more-596"></span><br />
Upto now added Facebook share, fbshare.me, tweetmeme.com, topsy.com, digg, delicius, stumbleupon, dzone, yahoo buzz, google buzz, facebook like button.</p>
<p>There are options to show before content, after content, left float, right float</p>
<p>Again, there are options to show/hide button for home page/front page, category view, section view or for any sepecific category whatever you need.</p>
<p>I am working to sort by weight to show buttons oder as you need. Also will add redit. If you have other ideas let me know. Btw, adding lazzy load like the digg-digg plugin of wordpress will be cool, hope to add in my joomla plugin.</p>
<h4>How to install</h4>
<ul>
<li>Download the plugin as zip</li>
<li>Install from joomla admin panel like any other joomla extension</li>
<li>Go to plugins page and &#8220;publish&#8221; the plugin</li>
<li>Configure the plugin as you need</li>
<li>Change order of that plugin for all content plugins to change the plugin action order so that buttons show near content perfectly&#8230;</li>
<li>that&#8217;s it baby!</li>
</ul>
<h4>Download</h4>
Note: There is a file embedded within this post, please visit this post to download the file.
<h4>Bug Fix</h4>
<ul>
<li>03.09.2010: A critical bug  is fixed &#8220;Fatal error: Class ‘JSite’ not found in&#8230;&#8221; while saving content from admin panel. Thanks @ sspider. Every body is requested to download again. <img src='http://blog.manchumahara.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </li>
</ul>
<p>To see demo you can check my <a href="http://idea52.com/portfolio.html">portfolio</a> page.</p>
<p>So use it, enjoy it and don&#8217;t forget to let me know how you like this new baby. Have a nice joomla time.</p>


Comment is open. You can participate in the discussion
by visiting <a href='http://blog.manchumahara.com/2010/09/02/social-share-or-vote-button-plugin-for-joomla-content/'>here</a>

<p><a href="http://feedads.g.doubleclick.net/~a/6h7hhwZgHYDW2XQWLjkzNoK7h7Y/0/da"><img src="http://feedads.g.doubleclick.net/~a/6h7hhwZgHYDW2XQWLjkzNoK7h7Y/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/6h7hhwZgHYDW2XQWLjkzNoK7h7Y/1/da"><img src="http://feedads.g.doubleclick.net/~a/6h7hhwZgHYDW2XQWLjkzNoK7h7Y/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/manchumahara/~4/ors-fXTReZg" height="1" width="1"/>]]></content:encoded><description>Update 03.09.2010: This extension got approved in JED. If you like this extension pls write reviews and vote in JED. Here are others: Component listing: http://bit.ly/9cExhJ Simple Tab slider: http://bit.ly/7dvnI7 Bangla date: http://bit.ly/c3v5Wv All share count or &amp;#8220;Social share/Vote button&amp;#8221; is a joomla plugin that shows social share or vote button in articles. It contains [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.manchumahara.com/2010/09/02/social-share-or-vote-button-plugin-for-joomla-content/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">6</slash:comments><feedburner:origLink>http://blog.manchumahara.com/2010/09/02/social-share-or-vote-button-plugin-for-joomla-content/</feedburner:origLink></item><item><title>WP Photo Album Plus Plus: WordPress Image Gallery</title><link>http://feedproxy.google.com/~r/manchumahara/~3/KkJonfdkWD4/</link><category>wordpress</category><category>wordpress plugin</category><category>image gallery</category><category>plugin</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Manchumahara(Sabuj Kundu)</dc:creator><pubDate>Sat, 28 Aug 2010 04:47:55 PDT</pubDate><guid isPermaLink="false">http://blog.manchumahara.com/?p=594</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Most of the wordpress image gallery plugins can not make me happy. NExtgen is too much heavy, then I got another wordpress plugin &#8220;<a href="http://wordpress.org/extend/plugins/wp-photo-album-plus/">WP Photo Album Plus</a>&#8221; developed by J.N. Breetvelt, a.k.a. <a href="http://www.opajaap.nl/"> (OpaJaap)</a>. R.J. Kaplan developed WP Photo Album 1.5.1 and then J.N. Breetvelt extended it with new features. Really I like this simple but powerfull gallery plugin. But something I didn&#8217;t like which I am trying to modify and releasing for every body so that I can get more ideas from other and even this modification can be done to main plugin too. <strong> Though my modification is not done yet! But why not I share my last modification and explain what I have done upto now <img src='http://blog.manchumahara.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong><br />
<span id="more-594"></span><br />
<dl id="attachment_595" class="wp-caption aligncenter" style="width: 645px"><dt><img class="size-full wp-image-595" title="gallery1" src="http://blog.manchumahara.com/wp-content/uploads/2010/08/gallery1.png" alt="" width="635" height="209" /></dt><dd class="wp-caption-text">Gallerific image gallery with wp photo albumm plus plus</dd></dl></p>
<p><strong>Change in Backend:</strong></p>
<ul>
<li>Added pagination in backend for album listing</li>
<li>Added pagination in backend for file/image listing, sites having large amount of images in each gallery should like this feature.</li>
<li>Image will not list while edit any album. Better way to edit or view images for any album in backend.</li>
<li>Changed backend design a little for easy navigation to other options. More will be done.</li>
<li>Now thumb can be made squre so that it does&#8217;t look ugly and diff sizes</li>
<li>Added midium size thumb so that you can place image size that you want as big size but original one is always kept so that you can regenerate all thumbs again.</li>
</ul>
<p><strong>Change in Front end:</strong></p>
<ul>
<li>Replaced the old slideshow with  new slideshow using  jquery based image slideshow plugin <a href="http://www.twospy.com/galleriffic/" target="_blank">Galleriffic</a>. You may need to edit style if currrent setting doesn&#8217;t match your style. You can select black or white combination. Need to do more work though. Current <a href="http://www.twospy.com/galleriffic/example-5.html">gallerific style</a> is used.</li>
</ul>
<p><strong>Todo list:</strong></p>
<ul>
<li>So many things so don&#8217;t wana write so long list <img src='http://blog.manchumahara.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </li>
<li>One thing must to do for replaceing the normal regex based shortcode with wordpress default shortcode method to add gallery in a page.</li>
</ul>
<p>Note: There is a file embedded within this post, please visit this post to download the file.<br />
I am attaching the current modified version so that you can test and give me some feedback. If  any one need any jquery based custom slideshow with it let me know(to hire professionaly <img src='http://blog.manchumahara.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</p>


Comment is open. You can participate in the discussion
by visiting <a href='http://blog.manchumahara.com/2010/08/28/wp-photo-album-plus-plus-wordpress-image-gallery/'>here</a>

<p><a href="http://feedads.g.doubleclick.net/~a/BrnOR8hjV5un0iupXX9F77iSGfI/0/da"><img src="http://feedads.g.doubleclick.net/~a/BrnOR8hjV5un0iupXX9F77iSGfI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/BrnOR8hjV5un0iupXX9F77iSGfI/1/da"><img src="http://feedads.g.doubleclick.net/~a/BrnOR8hjV5un0iupXX9F77iSGfI/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/manchumahara/~4/KkJonfdkWD4" height="1" width="1"/>]]></content:encoded><description>Most of the wordpress image gallery plugins can not make me happy. NExtgen is too much heavy, then I got another wordpress plugin &amp;#8220;WP Photo Album Plus&amp;#8221; developed by J.N. Breetvelt, a.k.a. (OpaJaap). R.J. Kaplan developed WP Photo Album 1.5.1 and then J.N. Breetvelt extended it with new features. Really I like this simple but [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.manchumahara.com/2010/08/28/wp-photo-album-plus-plus-wordpress-image-gallery/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">1</slash:comments><feedburner:origLink>http://blog.manchumahara.com/2010/08/28/wp-photo-album-plus-plus-wordpress-image-gallery/</feedburner:origLink></item><item><title>Adding vertical fixed feedback button</title><link>http://feedproxy.google.com/~r/manchumahara/~3/TNkJOD8Ewu4/</link><category>Tips and Tricks</category><category>Wordpress themes</category><category>wordpress</category><category>css</category><category>html</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Manchumahara(Sabuj Kundu)</dc:creator><pubDate>Wed, 25 Aug 2010 04:50:00 PDT</pubDate><guid isPermaLink="false">http://blog.manchumahara.com/?p=592</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>If you still didn&#8217;t notice, please check again there is a vertical feedback button in my blog , right side. So, sometimes people asks me how to do that ,,, any one can read the source code or having debug tool like <a href="http://getfirebug.com/" target="_blank">firebug</a> for firefox can see the source code and add in his own site. But max time, it&#8217;s true that we don&#8217;t want to learn by reading or google about any problem, we just ask other to get ready made solution. Even we don&#8217;t write in forums about our problems &#8230;. grr&#8230;</p>
<p>So here is answer of the those question, &#8220;How I added the vertical feedback button?&#8221;</p>
<p>I know how html works and how css works , I know where to edit in wordpress theme. So many days ago I saw that in a site and copied the source code and image and added in my site <img src='http://blog.manchumahara.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /><br />
<strong>I am showing for default wordpress theme tweentyten</strong> and all paths shown bellow are windows style as windows is my primary os.</p>
<p><strong>Step1:</strong>  Copy this <a href="http://blog.manchumahara.com/wp-content/themes/wpsimple2010/images/feedback_tab_white.png">image</a> to your wp-content\themes\twentyten\images folder first.</p>
<p><strong>Step2:</strong> Open style.css file from wp-content\themes\twentyten  dir and ready to add some css code <img src='http://blog.manchumahara.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Step3: In the file style.css file at last line add the following css codes<br />
<span id="more-592"></span></p>
<pre class="brush: css;">
body &gt; a#feedbackright {
background:url(&quot;images/feedback_tab_white.png&quot;) no-repeat scroll 50% 50% #0066CC;
display:block;
height:90px;
line-height:0;
padding:5px;
position:fixed;
right:0;
/*left:0;*/
text-indent:-99999px;
top:50%;
width:22px;
}
body &gt; a#feedbackright:hover {
background-color:#FF8B00;
}
</pre>
<p>Here if you want to show in  left side then comment the right:0; line and uncomment the line left:0; Also if you want to up down the position of the feedback button then edit the value for top:50%</p>
<p><strong>Step3.: </strong>Open footer.php from the same dir of style.css file and go to bottom of that file to add the following lines after the end of wrapper div(<strong>here I have added the end tag of wrapper div so that you get easily</strong>)</p>
<pre class="brush: xml;">&lt;/div&gt;&lt;!-- #wrapper --&gt;
&lt;a href=&quot;&lt;?php echo get_permalink(here will be your contact page id); ?&gt;&quot; id=&quot;feedbackright&quot;&gt;feedback&lt;/a&gt;</pre>
<p>look in the above code there is something &#8220;here will be your contact page id&#8221;  you have to replace this text with your contact page id. if you don&#8217;t know how to get page id then you can install <a href="http://sivel.net/wordpress/simply-show-ids/">this wordpress plugin</a> and activate, then go to any menu from left column for listing like posts, pages, categories, tags etc you will see an extra line at right col for id. Ok let your contact page id is 2 then the line will be like</p>
<p>note: here I am writing the last tag of wrapper div</p>
<pre class="brush: xml;">&lt;a href=&quot;&lt;?php echo get_permalink(2); ?&gt;&quot; id=&quot;feedbackright&quot;&gt;feedback&lt;/a&gt;</pre>
<p>Step4: now it&#8217;s time you do it and let me know.</p>


Comment is open. You can participate in the discussion
by visiting <a href='http://blog.manchumahara.com/2010/08/25/adding-vertical-fixed-feedback-button/'>here</a>

<p><a href="http://feedads.g.doubleclick.net/~a/gWVtkhiCMkOFmKcqNF6Spq6N98M/0/da"><img src="http://feedads.g.doubleclick.net/~a/gWVtkhiCMkOFmKcqNF6Spq6N98M/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/gWVtkhiCMkOFmKcqNF6Spq6N98M/1/da"><img src="http://feedads.g.doubleclick.net/~a/gWVtkhiCMkOFmKcqNF6Spq6N98M/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/manchumahara/~4/TNkJOD8Ewu4" height="1" width="1"/>]]></content:encoded><description>If you still didn&amp;#8217;t notice, please check again there is a vertical feedback button in my blog , right side. So, sometimes people asks me how to do that ,,, any one can read the source code or having debug tool like firebug for firefox can see the source code and add in his own [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.manchumahara.com/2010/08/25/adding-vertical-fixed-feedback-button/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">1</slash:comments><feedburner:origLink>http://blog.manchumahara.com/2010/08/25/adding-vertical-fixed-feedback-button/</feedburner:origLink></item><item><title>বৃষ্টিহীন বৃষ্টির</title><link>http://feedproxy.google.com/~r/manchumahara/~3/c5-C5UVL330/</link><category>My Bengali Poems</category><category>rain drops</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Manchumahara(Sabuj Kundu)</dc:creator><pubDate>Sat, 14 Aug 2010 08:58:06 PDT</pubDate><guid isPermaLink="false">http://blog.manchumahara.com/?p=591</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>ঝির ঝির বৃষ্টিতে চমশার কাচে আশ্রয় নিয়েছে অলস বৃষ্টি ফোটা,<br />
মুছতে ইচ্ছা করছে না।<br />
বৃষ্টির  কোন ফোটাতে যখন আলো পড়ছে চোখ আস্তে আস্তে ঝাপ্সা হয়ে যাচ্ছে<br />
আর<br />
চলে যাচ্ছি অচেনা কোন নগরে<br />
যেখানে<br />
জেগে থাকি বৃষ্টিহীন বছরের পর বছর।</p>
<p>বন্ধু তোর নগরে যদি বৃষ্টি না হয় আমাকে জানান দিস,<br />
রংয়ের হিসাব ভুলে ধার দিয়ে দেবো আমার চমশার কাঁচে জমা বৃষ্টি্র ফোটাগুলো।।</p>


Comment is open. You can participate in the discussion
by visiting <a href='http://blog.manchumahara.com/2010/08/14/rain-drops/'>here</a>

<p><a href="http://feedads.g.doubleclick.net/~a/hRH6dxVk4Jg0V8b6ePBZaDS7mvQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/hRH6dxVk4Jg0V8b6ePBZaDS7mvQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/hRH6dxVk4Jg0V8b6ePBZaDS7mvQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/hRH6dxVk4Jg0V8b6ePBZaDS7mvQ/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/manchumahara/~4/c5-C5UVL330" height="1" width="1"/>]]></content:encoded><description>ঝির ঝির বৃষ্টিতে চমশার কাচে আশ্রয় নিয়েছে অলস বৃষ্টি ফোটা, মুছতে ইচ্ছা করছে না। বৃষ্টির কোন ফোটাতে যখন আলো পড়ছে চোখ আস্তে আস্তে ঝাপ্সা হয়ে যাচ্ছে আর চলে যাচ্ছি অচেনা কোন নগরে যেখানে জেগে থাকি বৃষ্টিহীন বছরের পর বছর। বন্ধু তোর নগরে যদি বৃষ্টি না হয় আমাকে জানান দিস, রংয়ের হিসাব ভুলে ধার দিয়ে দেবো [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.manchumahara.com/2010/08/14/rain-drops/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">2</slash:comments><feedburner:origLink>http://blog.manchumahara.com/2010/08/14/rain-drops/</feedburner:origLink></item><item><title>Adding My posts sub menu for posts section in</title><link>http://feedproxy.google.com/~r/manchumahara/~3/57AWBzNsk7I/</link><category>Tips and Tricks</category><category>wordpress</category><category>wordpress plugin</category><category>hack</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Manchumahara(Sabuj Kundu)</dc:creator><pubDate>Sat, 14 Aug 2010 04:59:23 PDT</pubDate><guid isPermaLink="false">http://blog.manchumahara.com/?p=588</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Let me explain the situation. Suppose you have contributor access to wordpress. If you go to posts page in admin panel that list all posts   and here you are not author of all posts.  you will see the url like</p>
<pre class="brush: php;">edit.php?post_type=post&amp;all_posts=1</pre>
<p>  and All( total post number here). There will be another menu named Mine(Current user post number). All link is default. So we can make nother submenu of posts in admin section for Mine link directly. Let me show you the few lines code.</p>
<pre class="brush: php;">add_action('admin_menu', 'manchu_myposts');
function manchu_myposts()
{
    if (function_exists('add_submenu_page'))
    {
		//$parent, $page_title, $menu_title, $access_level, $file, $function = ''
		add_submenu_page('edit.php','My Posts','My posts', 1, 'edit.php?post_type=post&amp;author='.get_current_user_id());
    }
}</pre>
<p>You can copy-paste  above code in your theme functions.php file and it will show a new sub menu in posts ectin as My posts. Multi user blog users can get easily link for his/her posts.<br />
<img src="http://blog.manchumahara.com/wp-content/uploads/2010/08/myposts.png" alt="myposts" title="myposts" width="509" height="234" class="size-full wp-image-589" /><br />
it&#8217;s just a easy way to make personal posts link for any user have access at leas contributor. Access level 1  belongs to contributor..</p>
<p>thank you</p>


Comment is open. You can participate in the discussion
by visiting <a href='http://blog.manchumahara.com/2010/08/14/adding-my-posts-sub-menu-for-posts-section-in-wordpress/'>here</a>

<p><a href="http://feedads.g.doubleclick.net/~a/Bo0fP7VVS6lBbTkH-FuvLG5aZJo/0/da"><img src="http://feedads.g.doubleclick.net/~a/Bo0fP7VVS6lBbTkH-FuvLG5aZJo/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Bo0fP7VVS6lBbTkH-FuvLG5aZJo/1/da"><img src="http://feedads.g.doubleclick.net/~a/Bo0fP7VVS6lBbTkH-FuvLG5aZJo/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/manchumahara/~4/57AWBzNsk7I" height="1" width="1"/>]]></content:encoded><description>Let me explain the situation. Suppose you have contributor access to wordpress. If you go to posts page in admin panel that list all posts   and here you are not author of all posts.  you will see the url like edit.php?post_type=post&amp;#38;all_posts=1 and All( total post number here). There will be another menu named Mine(Current user [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.manchumahara.com/2010/08/14/adding-my-posts-sub-menu-for-posts-section-in-wordpress/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">2</slash:comments><feedburner:origLink>http://blog.manchumahara.com/2010/08/14/adding-my-posts-sub-menu-for-posts-section-in-wordpress/</feedburner:origLink></item><item><title>Stuck in wordpress Maintenance Mode?</title><link>http://feedproxy.google.com/~r/manchumahara/~3/SIzLAOymvkw/</link><category>Tips and Tricks</category><category>wordpress</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Manchumahara(Sabuj Kundu)</dc:creator><pubDate>Fri, 23 Jul 2010 11:33:06 PDT</pubDate><guid isPermaLink="false">http://blog.manchumahara.com/?p=585</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Are you <strong>Stuck in wordpress Maintenance Mode</strong>?  I was in that situation and thought to write about my pain and findings so that it may be help to reduce pain in the ass when u are crazy to do some upgrade for plugins and themes and you are stuck  in maintenance mode for &#8220;<strong>something wrong</strong>&#8221; in upgrade/upadte process .</p>
<p><strong><em>This tip is for wordpress3.0+</em></strong>, don&#8217;t  know what to do for lower version.  The thing is when wordpress takes the site maintenace mode it creates a file in the site root dir named .maintenance  and when done remove that&#8230; <img src='http://blog.manchumahara.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So, now you know what to do if u are stuck in maintenance mode. I wish I am going to sleep well tonight.</p>
<p>note: check the dicussion in <a href="http://wordpress.org/support/topic/411417?replies=4" target="_blank">wordpress forum</a> about this issue.</p>
<p>btw, let me show you a sample screenshot about how the error msg look for upgrade failure</p>
<p><a href="http://blog.manchumahara.com/wp-content/uploads/2010/07/wpautofail.png"><img class="alignleft size-full wp-image-587" title="wpautofail" src="http://blog.manchumahara.com/wp-content/uploads/2010/07/wpautofail.png" alt="failure" width="644" height="43" /></a></p>


Comment is open. You can participate in the discussion
by visiting <a href='http://blog.manchumahara.com/2010/07/24/stuck-in-wordpress-maintenance-mode/'>here</a>

<p><a href="http://feedads.g.doubleclick.net/~a/GOyb50PyOl4JXb6KCMDy3h54a5M/0/da"><img src="http://feedads.g.doubleclick.net/~a/GOyb50PyOl4JXb6KCMDy3h54a5M/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/GOyb50PyOl4JXb6KCMDy3h54a5M/1/da"><img src="http://feedads.g.doubleclick.net/~a/GOyb50PyOl4JXb6KCMDy3h54a5M/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/manchumahara/~4/SIzLAOymvkw" height="1" width="1"/>]]></content:encoded><description>Are you Stuck in wordpress Maintenance Mode?  I was in that situation and thought to write about my pain and findings so that it may be help to reduce pain in the ass when u are crazy to do some upgrade for plugins and themes and you are stuck  in maintenance mode for &amp;#8220;something wrong&amp;#8221; [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.manchumahara.com/2010/07/24/stuck-in-wordpress-maintenance-mode/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><feedburner:origLink>http://blog.manchumahara.com/2010/07/24/stuck-in-wordpress-maintenance-mode/</feedburner:origLink></item><item><title>Facebook fanbox wordpress plugin</title><link>http://feedproxy.google.com/~r/manchumahara/~3/Fp6JsSOogio/</link><category>wordpress</category><category>facebook</category><category>jquery</category><category>widget</category><category>wordpress plugin</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Manchumahara(Sabuj Kundu)</dc:creator><pubDate>Tue, 29 Jun 2010 17:36:34 PDT</pubDate><guid isPermaLink="false">http://blog.manchumahara.com/?p=575</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>It&#8217;s just a simple fanbox widget as wordpress plugin, nothing to explain. But I made my own version ?</p>
<h4>Features</h4>
<ul>
<li>iframe method</li>
<li> auto detect ie(internet explorer), because sometimes it&#8217;s make problem for ie and option to use as iframe only for ie !</li>
<li>jquery based document ready facebook load ! Not clear ? see bellow</li>
</ul>
<p>One thing to note that I used a way to load the facebook js script after loading jquery as normally in wordpress site front end we use jquery and many plugin uses this&#8230; so we can take that jquery is using default. So I loaded the fb js using wp_enqueue function and then called the fb init function after the document is loaded using jquery dom ready function <img src='http://blog.manchumahara.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  &#8230; It&#8217;s just an experiment about slow loading of facebook fanbox widget in wordpress <img src='http://blog.manchumahara.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<h4>Download</h4>
Note: There is a file embedded within this post, please visit this post to download the file.
<p>If you just download with no comment and no recommendation to others, then I am planning to hate  you <img src='http://blog.manchumahara.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /><br />
Man at least share in social network and give me traffic so that I can have  more money from ads <img src='http://blog.manchumahara.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Good morning. It&#8217;s just morning after working whole night and I am feeling too hungry <img src='http://blog.manchumahara.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<span id="more-575"></span></p>
<h4>Code Example</h4>
<pre class="brush: php;">
	function widget( $args, $instance ) {
		extract( $args );
                 global $is_lynx, $is_gecko, $is_IE, $is_opera, $is_NS4, $is_safari, $is_chrome, $is_iphone;
		/* Our variables from the widget settings. */
		$title          = apply_filters('widget_title', $instance['title'] );
		$profileid      = $instance['profileid']; //name or profile id , not both
		$apikey         = isset( $instance['apikey'])? $instance['apikey'] : '';
                $stream         = isset( $instance['stream'] ) ? $instance['stream'] : 0;
                $connections    = isset( $instance['connections'] )? (($instance['connections'] &gt; 100)? 100: intval($instance['connections'])): 10; //Specifying 0 hides the list of fans in the Fan Box. You cannot display more than 100 fans. (Default value is 10 connections.)
                $width          = isset( $instance['width'] )? (($instance['width'] &lt; 200)? 200: intval($instance['width'])): 300; // at least 200 pixels wide at minimum. (Default value is 300 pixels.)
                $height         = isset( $instance['height'] )? $instance['height']: 554;
                $css            = isset( $instance['css']) ? $instace['css']:'';
                $logobar        = isset( $instance['logobar'] ) ? $instance['logobar'] : 1;
                $iframe         = isset( $instance['iframe'])? $instance['iframe'] : 0;
                $locale         = isset( $instance['locale'])? $instance['locale']: 'en_US';
                $iframeie       = isset( $instance['iframeie'] ) ? $instance['iframeie'] : 1; // use iframe for ie , auto detect
                $usejquery     = isset( $instance['usejquery'] ) ? $instance['usejquery'] : 1;
		/* Before widget (defined by themes). */
                //var_dump($iframe);
		echo $before_widget;

		/* Display the widget title if one was input (before and after defined by themes). */
		if ( $title )
                {
                    echo $before_title . $title . $after_title;
                }

                if(($is_IE &amp;&amp; $iframeie) || $iframe || $apikey == '')
                {
                    //echo 'yes';
                    echo '&lt;iframe scrolling=&quot;no&quot; frameborder=&quot;0&quot; src=&quot;http://www.facebook.com/connect/connect.php?id='.$profileid.'&amp;amp;stream='.$stream.'&amp;amp;connections='.$connections.'&amp;amp;logobar='.$logo.'&amp;amp;css='.$css.'?'.mktime().'&quot; style=&quot;border: none; width: '.$width.'px; height:'.$height.'px;&quot;&gt;&amp;nbsp;&lt;/iframe&gt;';
                }
                else
                {
                    if($usejquery)
                    {
                        wp_enqueue_script('fbjs', 'http://static.ak.connect.facebook.com/connect.php/en_US', array('jquery'), null);
                        echo '&lt;fb:fan profile_id=&quot;'.$profileid.'&quot; width=&quot;'.$width.'&quot; connections=&quot;'.$connections.'&quot; stream=&quot;'.$stream.'&quot; header=&quot;'.$logobar.'&quot;&gt;&lt;/fb:fan&gt;';
                        echo '&lt;script type=&quot;text/javascript&quot;&gt;jQuery(document).ready(function() {
                                FB.init(&quot;'.$apikey.'&quot;);
                                });&lt;/script&gt;';
                    }
                    else
                    {
                            echo '&lt;script type=&quot;text/javascript&quot; src=&quot;http://static.ak.connect.facebook.com/connect.php/en_US&quot;&gt;&lt;/script&gt;';
                            echo '&lt;script type=&quot;text/javascript&quot;&gt; FB.init(&quot;'.$apikey.'&quot;); &lt;/script&gt;';
                    }
                }                             

		/* After widget (defined by themes). */
		echo $after_widget;
	}
</pre>


Comment is open. You can participate in the discussion
by visiting <a href='http://blog.manchumahara.com/2010/06/30/facebook-fanbox-wordpress-plugin/'>here</a>

<p><a href="http://feedads.g.doubleclick.net/~a/qduMeVfykFvrslweS5o9E6ZOCnE/0/da"><img src="http://feedads.g.doubleclick.net/~a/qduMeVfykFvrslweS5o9E6ZOCnE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/qduMeVfykFvrslweS5o9E6ZOCnE/1/da"><img src="http://feedads.g.doubleclick.net/~a/qduMeVfykFvrslweS5o9E6ZOCnE/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/manchumahara/~4/Fp6JsSOogio" height="1" width="1"/>]]></content:encoded><description>It&amp;#8217;s just a simple fanbox widget as wordpress plugin, nothing to explain. But I made my own version ? Features iframe method auto detect ie(internet explorer), because sometimes it&amp;#8217;s make problem for ie and option to use as iframe only for ie ! jquery based document ready facebook load ! Not clear ? see bellow [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.manchumahara.com/2010/06/30/facebook-fanbox-wordpress-plugin/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">8</slash:comments><feedburner:origLink>http://blog.manchumahara.com/2010/06/30/facebook-fanbox-wordpress-plugin/</feedburner:origLink></item><item><title>Adding joomla native dropdown menu in frontend</title><link>http://feedproxy.google.com/~r/manchumahara/~3/9UtQsMntEQ8/</link><category>Joomla</category><category>Tips and Tricks</category><category>joomla dropdown menu</category><category>joomla tricks</category><category>tips</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Manchumahara(Sabuj Kundu)</dc:creator><pubDate>Fri, 25 Jun 2010 03:59:28 PDT</pubDate><guid isPermaLink="false">http://blog.manchumahara.com/?p=570</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<dl id="attachment_571" class="wp-caption alignleft" style="width: 403px"><dt><img src="http://blog.manchumahara.com/wp-content/uploads/2010/06/jnativetopmenu1.png" alt="" title="jnativetopmenu1" width="393" height="129" class="size-full wp-image-571" /></dt><dd class="wp-caption-text">joomla native drop down menu</dd></dl><br />
I think it&#8217;s my 4th post about using joomla native resources like tab slider, tooltip, modal/popup window and I am very happy that I just tried to used the joomla admin top menu &#8230; the top to bottom drop down menu in front end and it&#8217;s working fine. I just used the joomla native resources and changed one line of code in mod_mainmenu module. I think for doing something test or creative things sometimes we can try to change core code little&#8230; just keep in mind where u are changing and change again while u upgrade again in future.</p>
<ul>
<li><a rel="bookmark follow" href="http://blog.manchumahara.com/2010/04/24/adding-joomla-native-modal-to-frontend/">Adding joomla native modal to frontend</a></li>
<li><a rel="bookmark follow" href="http://blog.manchumahara.com/2010/03/22/using-wordpress-native-thickbox/">Using wordpress native thickbox</a></li>
<li><a rel="bookmark follow" href="http://blog.manchumahara.com/2010/06/13/adding-native-tooptip-in-jooma1-5/">জুমলাতে নেটিভ টুলটিপ এর ব্যবহার</a></li>
<li><a rel="bookmark follow" href="http://blog.manchumahara.com/2009/12/02/home-made-tab-and-slider-module-for-joomla1-5/">Home made tab and slider module for joomla1.5</a></li>
</ul>
<p>Ok then let&#8217;s move for how we can use the main menu module  as &#8216;<em>top to bottom</em>&#8216; drop down menu like the joomla admin panel top menu. we will work on default template of joomla1.5<span id="more-570"></span></p>
<h4>Adding javascript file</h4>
<p>Create a new folder named js  in default template like this templates\rhuk_milkyway\js</p>
<p>Now copy two js files from admin default template from this location administrator\templates\khepri\js  or you can just copy the js folder from admin default template khepri to front end  default template rukh_milkway. That&#8217;s it. Btw, pls check you copied at least two files named menu.js and index.js. Now add the follow two lines in index.php file of default template before &lt;/head&gt;  tag like bellow</p>
<pre class="brush: xml;">
&lt;script type=&quot;text/javascript&quot; src=&quot;&lt;?php echo $this-&gt;baseurl ?&gt;/templates/&lt;?php echo $this-&gt;template ?&gt;/js/menu.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;&lt;?php echo $this-&gt;baseurl ?&gt;/templates/&lt;?php echo $this-&gt;template ?&gt;/js/index.js&quot;&gt;&lt;/script&gt;
&lt;/head&gt;
</pre>
<h4>Adding CSS or style code</h4>
<p>Open template.css file from your default template css folder i.e., templates\rhuk_milkyway\css   and  put this bellow css code at last or somewhere.</p>
<pre class="brush: css;">
#menu, #menu ul, #menu li { margin: 0; padding: 0; border: 0 none; }

#menu       { position:relative; z-index: 100;}
#menu li    { float:left;  position:relative; list-style: none; display: inline;}
#menu li a  { display:block; white-space: nowrap;  }
#menu li li { /*width: 100%;*/ clear: both;  /*FF 1.0.7 needs this */  }
#menu li ul { visibility: hidden; position:absolute; }

#menu li li ul {  top: 0; left: 0; }

#menu li.hover ul               {  visibility: visible; }
#menu li.hover ul li ul 		  {  visibility: hidden;  }
#menu li.hover li.hover ul      {  visibility: visible;  left: 100%; }

/* ---- Menu layout -------------------------- */

#menu li {
	border-left: 1px solid #fff;
	border-right: 1px solid #d8d8d8;
}
#menu li li { border: 0;}

#menu ul    { border: 0.1em solid #ccc; background: #f6f6f6 url(../images/bg-menu.gif) repeat-y left;}
#menu ul li.node { background: transparent url(../images/j_arrow.png) no-repeat right 50%; }
#menu ul li.separator { background: #DDE1E6 url(../images/bg-menu.gif);  height: 1px;  }

#menu a, #menu div {
	padding: 0.35em 1em 0.35em;
	margin: 0 1px 0 1px;
	color: #333333;
	line-height: 1.6em; vertical-align: middle;
	font-size: 11px; font-weight: bold; text-decoration: none;
	cursor: default;
	background-repeat: no-repeat; background-position: left 50%
}

#menu li.disabled a { color: gray; }

#menu ul a {
	font-size: 11px;
	font-weight: normal;
	padding-left: 25px;
	padding-right: 20px;
	line-height: 1.2em;
}

/* 1 level - hover */
#menu li.hover a {  background-color: #E7EDDF; border-left: 1px solid #6D9D2E;  border-right:1px solid #6D9D2E; margin: 0; }
/* 2 level - normal */
#menu li.hover li a { background-color: transparent; border: 0 none;   margin: 2px;  }
/* 2 level - hover */
#menu li.hover li.hover a { background-color: #E7EDDF; border: 1px solid #6D9D2E;  margin: 1px;   }
/* 3 level - normal */
#menu li.hover li.hover li a { background-color: transparent; border: 0 none;   margin: 2px;  }
/* 3 level - hover */
#menu li.hover li.hover li a:hover { background-color: #E7EDDF; border: 1px solid #6D9D2E;  margin: 1px;  }

/* submenu styling */
#submenu {
	list-style: none;
	padding: 0;
	margin: 0;
}

#submenu li {
	float: left;
	padding: 0;
	margin: 0;
}

#submenu li a,
#submenu span.nolink {
	cursor: pointer;
	padding: 0px 15px;
	border-right: 1px solid #ccc;
	font-weight: bold;
	color: #0B55C4;
	line-height: 12px;
	height: 12px;
}

#submenu span.nolink {
	color: #999;
}

#submenu a.active,
#submenu span.nolink.active {
	color: #000;
	text-decoration: underline;
}
</pre>
<p>I collected this css code from admin template khepri template css file. So we are still using the native resources <img src='http://blog.manchumahara.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h4>Configure Menu module</h4>
<p>If you are using default template then the topmenu is published in user3 position . So go to module manager and find tehe module for top menu published in user3 position and set configuration like bellow screenshots.<br />
<dl id="attachment_573" class="wp-caption aligncenter" style="width: 489px"><dt><img src="http://blog.manchumahara.com/wp-content/uploads/2010/06/jnativetopmenu3.png" alt="" title="jnativetopmenu3" width="479" height="237" class="size-full wp-image-573" /></dt><dd class="wp-caption-text">Menu module configuration</dd></dl><br />
Please check above image I set the menu tag id is &#8220;menu&#8221;, we need this as fixed for our current moving <img src='http://blog.manchumahara.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> . Another is menu style is &#8220;list&#8221;. And certainly as u are trying to make drop down menus so you can set end level as u need like 3/4 etc. Pls before doing that create some sub or sub sub menus for top level menus in topmenu category from your menu manager.</p>
<h4>Changing template code to accomodate for our new style top menu</h4>
<p>In your rukh_milkway   default template open the index.php file fine a line near this html code &lt;div id=&#8221;tabarea&#8221;&gt; . Sorry I can not give line number exactly now as I changed my default template many times <img src='http://blog.manchumahara.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  Here is the code used in defailt templte and I make the comment except the module include line.</p>
<pre class="brush: xml;">
&lt;!--div id=&quot;tabarea&quot;&gt;
	&lt;div id=&quot;tabarea_l&quot;&gt;
		&lt;div id=&quot;tabarea_r&quot;&gt;
			&lt;div id=&quot;tabmenu&quot;&gt;
			&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;pill&quot;&gt;
				&lt;tr&gt;
					&lt;td class=&quot;pill_l&quot;&gt;&amp;nbsp;&lt;/td&gt;
					&lt;td class=&quot;pill_m&quot;&gt;
					&lt;div id=&quot;pillmenu&quot;--&gt;
						&lt;jdoc:include type=&quot;modules&quot; name=&quot;user3&quot; /&gt;
					&lt;!--/div&gt;
					&lt;/td&gt;
					&lt;td class=&quot;pill_r&quot;&gt;&amp;nbsp;&lt;/td&gt;
				&lt;/tr&gt;
				&lt;/table&gt;
			&lt;/div&gt;
		&lt;/div&gt;
	&lt;/div&gt;
&lt;/div--&gt;
</pre>
<p>You can use a simple line for the replacement of the above codes and fix your css as u need like this</p>
<pre class="brush: php;">
&lt;div class=&quot;topmenu&quot;&gt;
   &lt;jdoc:include type=&quot;modules&quot; name=&quot;user3&quot; /&gt;
&lt;/div&gt;
</pre>
<p>Hei, we are about to done <img src='http://blog.manchumahara.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h4>Changing a <del datetime="2010-07-03T19:02:06+00:00">core</del> file of main menu module <img src='http://blog.manchumahara.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </h4>
<p><del datetime="2010-07-03T19:02:06+00:00">Yes I am not happy any more at this point as we going to change a line in a core file but what to say &#8230; if we want to do something great we can do a little hack to core and shout like &#8220;hei ! I don&#8217;t care to hack core if I need <img src='http://blog.manchumahara.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> &#8221;</del><br />
I am sorry I just forgot that we can ovverride the view part of any module and will do this now. Just check if there is any folder in your template named &#8220;html&#8221;, if not then create one. now created a folder in it named &#8220;mod_mainmenu&#8221;  and then <strong>copy</strong>  modules\mod_mainmenu\tmpl\default.php  and modules\mod_mainmenu\tmpl\index.html file from this location and paste in the new created folder mod_mainmenu ie, template\{yourtempalte folder}\html\mod_mainmenu</p>
<p>and <strong>now</strong><br />
open file <del datetime="2010-07-03T19:02:06+00:00">modules\mod_mainmenu\tmpl\</del>template\{yourtempalte folder}\html\mod_mainmenu\default.php and look for near line 36  and change this line to</p>
<pre class="brush: php;">
	if (($node-&gt;name() == 'li') &amp;&amp; isset($node-&gt;ul)) {
		$node-&gt;addAttribute('class', 'node parent');
	}
</pre>
<p>Pls notice that I added an extra class name &#8216;node&#8217; in 2nd line. that what we need exactly to use the core css file and js. <img src='http://blog.manchumahara.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Here is another screenshot of the top  menu that we just made.</p>
<p><dl id="attachment_572" class="wp-caption aligncenter" style="width: 428px"><dt><img src="http://blog.manchumahara.com/wp-content/uploads/2010/06/jnativetopmenu2.png" alt="" title="jnativetopmenu2" width="418" height="106" class="size-full wp-image-572" /></dt><dd class="wp-caption-text">joomla native drop down menu2</dd></dl>


Comment is open. You can participate in the discussion
by visiting <a href='http://blog.manchumahara.com/2010/06/25/adding-joomla-native-dropdown-menu-in-frontend/'>here</a>

<p><a href="http://feedads.g.doubleclick.net/~a/S2pl9YFU1v0FTrsFKfo_4qOYXFA/0/da"><img src="http://feedads.g.doubleclick.net/~a/S2pl9YFU1v0FTrsFKfo_4qOYXFA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/S2pl9YFU1v0FTrsFKfo_4qOYXFA/1/da"><img src="http://feedads.g.doubleclick.net/~a/S2pl9YFU1v0FTrsFKfo_4qOYXFA/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/manchumahara/~4/9UtQsMntEQ8" height="1" width="1"/>]]></content:encoded><description>I think it&amp;#8217;s my 4th post about using joomla native resources like tab slider, tooltip, modal/popup window and I am very happy that I just tried to used the joomla admin top menu &amp;#8230; the top to bottom drop down menu in front end and it&amp;#8217;s working fine. I just used the joomla native resources [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.manchumahara.com/2010/06/25/adding-joomla-native-dropdown-menu-in-frontend/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">15</slash:comments><feedburner:origLink>http://blog.manchumahara.com/2010/06/25/adding-joomla-native-dropdown-menu-in-frontend/</feedburner:origLink></item><item><title>জুমলাতে নেটিভ টুলটিপ</title><link>http://feedproxy.google.com/~r/manchumahara/~3/OnSM2Has5Ss/</link><category>Joomla</category><category>Tips and Tricks</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Manchumahara(Sabuj Kundu)</dc:creator><pubDate>Sun, 13 Jun 2010 03:26:00 PDT</pubDate><guid isPermaLink="false">http://blog.manchumahara.com/?p=474</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Hei! it&#8217;s bengali unicode text, This post is wrriten for <a href="http://forum.amaderprojukti.com/viewtopic.php?f=60&#038;t=5759&#038;p=48460#p48460">amaderprojukti forum</a>.<br />
অনেক দিন বাংলায় ব্লগ বা টিপ্স কিছু লেখা হয় না। আজকের বিষয় আমার অনেক গুলো গার্লফ্রেন্ড এর ভেতর অন্যতম &#8220;জুমলা&#8221;। যদিও আজকের লেখাটা জুমলার একটি গোপন সুন্দর দিক নিয়ে আর তা হলো জুমলা ১.৫ এর নেটিভ টুলটিপ।<br />
প্রথম একটি ছবি দেখায়ঃ<br />
<img alt="tooltip" src="http://blog.manchumahara.com/wp-content/uploads/2010/06/tip.png" alt="tip.png" /><br />
এডমিন প্যানেলে কোন কিছু কনফিগারেশনে ঢুকলে বা অনেক সময় কোন লিঙ্কএ মাউস হোভার করলে উপরের মতো টুলটিপ দেখায়। একই রকম টুপটিপ চাইলে আমরা ফ্রন্ট এন্ড এ ব্যবহার করতে পারি আর তার জন্য এক্টিভ টেমপ্লেটে দরকার সামান্য পরিবর্তন, সেই পরিবর্তন কিভাবে করা যায় তা নিয়েই আজকের আলোচনা। পরের ছবিটি ফ্রন্ট এন্ড এর।<br />
<img alt="tootip" src="http://blog.manchumahara.com/wp-content/uploads/2010/04/tooltip.png" alt="tooltip.png" /></p>
<p><strong>কিভাবে ফ্রন্ট এন্ডে টুলটিপ ফিচার যুক্ত করবেনঃ</strong><br />
টুলটিপ ফিচার যুক্ত করার জন্য আপনাকে প্রথম টেমপ্লেটের ইন্ডেক্স ফাইল(index.php) এ একটি লাইন যুক্ত করতে হবে। যদি আপনি ডিফল্ট টেমপ্লেট ব্যবহার করেন তাহলে rhuk_milkyway  হচ্ছে আপনার টেমপ্লেট এর নাম, এর ভেতর index.php ফাইলটি ওপেন করুন কোন এডিটরে, এখন হেড ট্যাগ() এর আগে </p>
<p><span id="more-474"></span></p>
<pre class="brush: plain;">&lt;/head&gt;</pre>
<p>নিচের লাইনটি বসিয়ে দিনঃ</p>
<pre class="brush: plain;">
&lt;?php
JHTML::_('behavior.tooltip');
?&gt;
</pre>
<p>উপরের কোড টুকু যা করবে তা হলো কিছু জাভা স্ক্রিপ্ট এর কোড তৈরি করে দেবে যা আপনাকে টুলটিপ যুক্ত করতে সাহায্য করবে।</p>
<pre class="brush: plain;">
&lt;script type=&quot;text/javascript&quot;&gt;
    window.addEvent('domready', function(){
       var JTooltips = new Tips($$('.hasTip'),
       { maxTitleChars: 50, fixed: false});
    });
&lt;/script&gt;
</pre>
<p><strong>কন্টেন্ট এর ভেতর বা কিভাবে টুলটিপ এর টিপ যুক্ত করতে হবেঃ</strong><br />
ধরুন এখন এডমিন প্যানেল থেকে একটি আর্টিকেলে আমি লিখছি এমন একটি লাইন<br />
আমি <strong>আমাদের প্রযুক্তি</strong> ফোরামে এখন একটি টিউটোরিয়াল লিখছি।<br />
এখানে আমি চাই &#8220;আমাদের প্রযুক্তি&#8221;  শব্দবলীর উপর মাউস নিলে টিপ দেখাবে। এটা করার জন্য নিচের মতো লিখতে হবে।</p>
<pre class="brush: xml;">
আমি &lt;span title=&quot;আমাদের প্রযুক্তি ফোরাম:: আমাদের প্রযুক্তি বিজ্ঞান ও প্রযুক্তি বিষয়ক একটি ইউনিকোড কম্পেটিবল বাংলা ফোরাম &quot; class=&quot;hasTip&quot;&gt;আমাদের প্রযুক্তি&lt;/span&gt; ফোরামে এখন একটি টিউটোরিয়াল লিখছি।
</pre>
<p>এখানে প্রথমে</p>
<pre class="brush: xml;">&lt;span&gt;আমাদের প্রযুক্তি&lt;/span&gt;[/quote]
এরপর স্প্যান ট্যাগে এ টাইটেলে আমি বিশেষ ভাবে কিছু লিখেছি, এই টাইটেল ফ্রন্ট এন্ডে থাকবে না যা আসলে টুলটিপে পরিবর্তিত হবে। এখন খেয়াল করুন আমি ব্যবহার করেছি ::   এই রকম একটা সেপারেটর। এখানে :: এর আগের অংশ হবে টাইটেল আর ::  এর পরের অংশ হবে বর্ণনা।
[code='html']&lt;span title=&quot;আমাদের প্রযুক্তি ফোরাম:: আমাদের প্রযুক্তি বিজ্ঞান ও প্রযুক্তি বিষয়ক একটি ইউনিকোড কম্পেটিবল বাংলা ফোরাম &quot; &gt;আমাদের প্রযুক্তি&lt;/span&gt;[/quote]
তারপর
[code='html']&lt;span title=&quot;আমাদের প্রযুক্তি ফোরাম:: আমাদের প্রযুক্তি বিজ্ঞান ও প্রযুক্তি বিষয়ক একটি ইউনিকোড কম্পেটিবল বাংলা ফোরাম &quot; class=&quot;hasTip&quot;&gt;আমাদের প্রযুক্তি&lt;/span&gt;[/quote]
এখন যা করেছি স্প্যান ট্যাগে বসিয়ে দিয়েছি একটা ক্লাস নামে &quot;hasTip&quot;, 

তাহলে পুরা লাইন হবে নিচের মতোঃ

[code ='html']
আমি &lt;span title=&quot;আমাদের প্রযুক্তি ফোরাম:: আমাদের প্রযুক্তি বিজ্ঞান ও প্রযুক্তি বিষয়ক একটি ইউনিকোড কম্পেটিবল বাংলা ফোরাম &quot; class=&quot;hasTip&quot;&gt;আমাদের প্রযুক্তি&lt;/span&gt; ফোরামে এখন একটি টিউটোরিয়াল লিখছি।
</pre>
<p>এখন যদি আপনি আর্টিকেলটা ফ্রন্ট এন্ডে দেখেন তাহলে নিচের ছবির মতো দেখাবে যদি "আমাদের প্রযুক্তি" লেখার উপর মাউস ধরেন।<br />
<img src="http://blog.manchumahara.com/wp-content/uploads/2010/06/tip2.png"  alt="tooltip" /></p>
<p>সব কিছু ঠিক ঠাক মতো হবার জন্য আপনাকে আরো একটা জিনিস চেক করতে হবে আর তা হলো টেমপ্লেট এর template.css ফাইলে এ নিচের মতো করে css কোড যদি না থাকে তাহলে বসিয়ে দিতে হবে।</p>
<pre class="brush: css;">
/* Tooltips */
.tool-tip {
   float: left;
   background: #ffc;
	border: 1px solid #D4D5AA;
   padding: 5px;
   max-width: 200px;
}

.tool-title {
   padding: 0;
   margin: 0;
   font-size: 100%;
   font-weight: bold;
   margin-top: -15px;
   padding-top: 15px;
   padding-bottom: 5px;
   background: url(../images/selector-arrow.png) no-repeat;
}

.tool-text {
   font-size: 100%;
   margin: 0;
}
</pre>
<p>আর templates\system\images  এই লোকেশন থেকে selector-arrow.png এই নামের ফাইলটা কপি করে  আপনার টেমপ্লেট এর ইমেজ(templates\rhuk_milkyway\images) ফোল্ডারে পেস্ট  করতে হবে। চাইলে কাস্টম টেমপ্লেটে একই ভাবে টুলটিপ যুক্ত করা যাবে।</p>
<p>আগামী পর্বে এটার আরো এডভান্সড ফিচার  নিয়ে আলোচনা করবো।</p>


Comment is open. You can participate in the discussion
by visiting <a href='http://blog.manchumahara.com/2010/06/13/adding-native-tooptip-in-jooma1-5/'>here</a>

<p><a href="http://feedads.g.doubleclick.net/~a/Ol9xucJtCL5J4TNcF2YjBhjTBaU/0/da"><img src="http://feedads.g.doubleclick.net/~a/Ol9xucJtCL5J4TNcF2YjBhjTBaU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Ol9xucJtCL5J4TNcF2YjBhjTBaU/1/da"><img src="http://feedads.g.doubleclick.net/~a/Ol9xucJtCL5J4TNcF2YjBhjTBaU/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/manchumahara/~4/OnSM2Has5Ss" height="1" width="1"/>]]></content:encoded><description>Hei! it&amp;#8217;s bengali unicode text, This post is wrriten for amaderprojukti forum. অনেক দিন বাংলায় ব্লগ বা টিপ্স কিছু লেখা হয় না। আজকের বিষয় আমার অনেক গুলো গার্লফ্রেন্ড এর ভেতর অন্যতম &amp;#8220;জুমলা&amp;#8221;। যদিও আজকের লেখাটা জুমলার একটি গোপন সুন্দর দিক নিয়ে আর তা হলো জুমলা ১.৫ এর নেটিভ টুলটিপ। প্রথম একটি ছবি দেখায়ঃ এডমিন প্যানেলে [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.manchumahara.com/2010/06/13/adding-native-tooptip-in-jooma1-5/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><feedburner:origLink>http://blog.manchumahara.com/2010/06/13/adding-native-tooptip-in-jooma1-5/</feedburner:origLink></item><item><title>দেওয়াল</title><link>http://feedproxy.google.com/~r/manchumahara/~3/Kdn6lwafRsQ/</link><category>Bangla Blogs</category><category>My Bengali Poems</category><category>bengali poem</category><category>manchukabya</category><category>mkabya</category><category>কবিতা</category><category>বাংলা কবিতা</category><category>মানচুকাব্য</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Manchumahara(Sabuj Kundu)</dc:creator><pubDate>Sun, 25 Apr 2010 09:04:56 PDT</pubDate><guid isPermaLink="false">http://blog.manchumahara.com/?p=476</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>একটা উচু দেওয়ালের সামনে প্রতিদিনই দাঁড়ায় আর<br />
ভাবি এই দেওয়ালটার তৈরি না হলে কি খুব ক্ষতি হতো ?</p>
<p>মাঝে মাঝে ভাবি দেওয়ালটি জবরদস্তি করে ভেঙ্গে ফেলি কিংবা<br />
এতো দূরে পালিয়ে যায় যেখান থেকে আমি চাইলেও এই দেওয়ালের কাছে আসতে পারবো না &#8230; হে হে</p>
<p>ধরে নিলাম, আমি দেওয়াল ভেঙ্গে ফেলেছি কিন্তু<br />
এইযে এতো বছর ধরে মনের ভেতর আর এক বিশাল দেওয়াল তৈরি হয়েছি সেটার কি হবে ?</p>
<p>ভাবছো আমি নিরাশাবাদী &#8230; হে হে না ঠিক তেমনটি নয়, আমি জানি আমি একদিন এই মনের দেওয়ালও ভেঙে ফেলবো, তারপর ?<br />
দেওয়ালের ওপাশে যা আশা করেছিলাম তা থাকবেতো, নাকি সবই ফাঁকি।।</p>
<p>ভাবছি দেওয়ালের প্রতিপালককে ধমক দিয়ে বলি,<br />
ফাজলামি পাইছো, ইচ্ছা হইলো আর দেওয়াল তুলে মজা দেখো না ?<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
২৫.০৪.২০১০<br />
উৎসর্গঃ একটি অদৃশ্য দেওয়াল এবং তার প্রতিপালককে</p>


Comment is open. You can participate in the discussion
by visiting <a href='http://blog.manchumahara.com/2010/04/25/thewall/'>here</a>

<p><a href="http://feedads.g.doubleclick.net/~a/oCPyWmRQx1ltEBCr-HKyeMPrx_c/0/da"><img src="http://feedads.g.doubleclick.net/~a/oCPyWmRQx1ltEBCr-HKyeMPrx_c/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/oCPyWmRQx1ltEBCr-HKyeMPrx_c/1/da"><img src="http://feedads.g.doubleclick.net/~a/oCPyWmRQx1ltEBCr-HKyeMPrx_c/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/manchumahara/~4/Kdn6lwafRsQ" height="1" width="1"/>]]></content:encoded><description>একটা উচু দেওয়ালের সামনে প্রতিদিনই দাঁড়ায় আর ভাবি এই দেওয়ালটার তৈরি না হলে কি খুব ক্ষতি হতো ? মাঝে মাঝে ভাবি দেওয়ালটি জবরদস্তি করে ভেঙ্গে ফেলি কিংবা এতো দূরে পালিয়ে যায় যেখান থেকে আমি চাইলেও এই দেওয়ালের কাছে আসতে পারবো না &amp;#8230; হে হে ধরে নিলাম, আমি দেওয়াল ভেঙ্গে ফেলেছি কিন্তু এইযে এতো বছর ধরে [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.manchumahara.com/2010/04/25/thewall/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">7</slash:comments><feedburner:origLink>http://blog.manchumahara.com/2010/04/25/thewall/</feedburner:origLink></item></channel></rss>
