April 24, 2010Leave a Comment

Feeling bad any how and started to write a blog if that makes me smile

….Hei ‘time‘ I am too emotional … I can kill you if u make me sad again and again !

Any one regular reader of my blog can remember I developed a joomla module Simple tabslider for joomla1.5 (joomla extension link, my blog post Home made tab and slider module for joomla1.5). I developed it using the joomla native tab slider html helper that is known is JPane. Joomla has a great library for html …. check joomla dir libraries\joomla\html (windows style dir …. I like to use windows all time).

Ok if you are familiar with joomla then if you are in admin panel and in just article manager then you should see a button in right side named “Parameter”. Click that parameter… what do u see ? a popup box right. it’s a modal window, joomla native modal or popup window. Did u think which javascript is used to make this … let me tell you if you don’t …. go to media\system\js and see there is js file named “modal.js” :)

So let’s try to use that modal window in front end ?

Open index.php file of your joomla template and put these two line

<?php JHTML::_('behavior.mootools'); JHTML::_('behavior.modal'); ?>

before

Now the syntax is like bellow … in any content link any thing like bellow

<a rel="{handler: 'iframe', size: {x: 700, y: 400}}" class="modal" href="http://google.com">click me</a><br /><br />

so what u have to put is a class name “modal“, in a rel tag handler and window size

handler iframe, images etc .. and size is window size (width and height) in the anchor tag url put what u want to load url(link), iframe or image etc.

This is just a simple example how we are can load external site in a modal window … using joomla native modal , using joomla html helper.

this is how we can load image in iframe

<a rel="{handler: 'iframe', size: {x: 540, y: 400}}" class="modal" href="images/joomla_logo_black.jpg">click me</a><br /><br />

Ok now let’s change the handler to image and put this code, see the modal window is now as the image size :)

<br /><br />
<a rel="{handler: 'image', size: {x: 540, y: 400}}" class="modal" href="images/joomla_logo_black.jpg">click me</a><br /><br />

try more and let me us know.

এপ্রিল ১৩, ২০১০2 টি মন্তব্য

মনের ভেতর সব সময় একটা অস্থিরতা অনুভব করি
দিনে দিনে এই অস্থিরতা গতিশীল-স্থির রূপ নিয়েছে।
একটা প্রচন্ড ভবঘুরে ঝড় সব সময় তাড়া করে,
এই অস্থিরতাই আমার চলার শক্তি, আমার অনুপ্ররণা।

পথকে কখনো ভুলিনি, পথই ভুলে গেছে আমাকে বারে বার,
আর এই পথের টানেই যত অস্থিরতা, ভবঘুরে নেশা।

কখনো স্থির হতে চাই না, তাহলে আমার পথা চলা থেমে যাবে!

১৩।০৪।২০১০
সবাইকে আগাম শুভ বাংলা নববর্ষ ১৪১৭
উৎসর্গঃ তোকে

April 4, 20106 Comments

I think my post title is not clear and it’s really not possible to tell every thing in just a simple post title :P . Ok, I am taking about:
1. WordPress
2. Category menu in wordpress using wp_list_categories()

If you make a wordpress menu using category listing in wordpress then the html code will be like this …continue reading Mark active category in single page(wordpress)

March 28, 20106 Comments

Yes , I am back with my another joomla extension and this time , the baby is a plugin named “banglakeyboard”. I am happy to contribute another extenstion for bangla community about bangla. This plugin will help to write bangla in default joomla contact form. It will add java script based bangla keyboard phonetic, probhat and unijoy (all are from ekushey team :) ). As it’s the first release , it will do the basic things but soon i will update this with more features. Let me show you a screenshot first how it will look. …continue reading Bangla keyboard plugin for joomla default contact form

March 25, 2010Leave a Comment

We can include module in joomla content. I think experts know this well but this post will be helpful for newbie :) .Ok let’s start then.

Step1: Create a new module position
Normally the module positions available are all used in template , so we need to create a new module position. Go to yout current template folder and open the templateDetails.xml and go near
…continue reading Include module in content item for joomla1.5

March 22, 20101 Comment

To know about what is thickbox please check this link. WordPress use this a main popup window or modal view. Thickbox is a jquery plugin and it’s available with wordpress with jquery. So my tips is how to use that in front end , using the thickbox available with it, no need to use externally.

ThickBox is a webpage UI dialog widget written in JavaScript on top of the jQuery library. Its function is to show a single image, multiple images, inline content, iframed content, or content served through AJAX in a hybrid modal.

At first let me tell you where you can get it if u search wordpress directory manually. Just check in wp-includes\js where you will get all the js library and plugins used with wordpress or available for use with plugin and theme. And here is every thing you need for thickbox
wp-includes\js\thickbox
…continue reading Using wordpress native thickbox

March 18, 201036 Comments

Hello guys hope you are fine, didn’t write any blog for many days. Ya I was really busy with work and had sick of high blood pressure(… hei I am not too old, but some months left to be 26!). I have changed my life style already.. left meat, egg and sometimes fish…. Trying to be vegetarian … ha ha. Trying to sleep early and rise early :) ya that’s manchu’s every day now ….

Let’s come to my blog post title “How to add extra fields in joomla registration and profile”. I was searching for solution about this but most common solution was put extra fields as joomla user meta tag. Don’t know about this ? Go to edit any user from admin panel then check right side… there are some option to choose language, timezone etc…. they are called ‘user meta’ in joomla. I tried how to hack core how to do that… don’t you like to change joomla core files ? what to do when you need to do that as a client’s requirement and if client doesn’t care about changing core files …. heh heh. So let me show you how you can add extra fields in joomla registration and profile changing core files. Hei I have tried to change less as much as possible, really! …continue reading How to add extra fields in joomla registration

February 1, 20105 Comments

Webmasterkey is a wordpress plugin to add google, yahoo, bing, alexa site verification meta tag from admin. I think it will be handy for webmaster.
Quick links for Google,Yahoo and Bing,Alexa webmaster tool

how to collect meta tags

I know max ppl are smart enough and can do it easily but some ppl are not mcuh technical and don no how to upload file or add meta tag in theme file and where. so, to get google meta tag key go to Google Webmaster, login using your google id and your site. See image bellow and check you will see something like this. Copy meta value (red underline in screenshot)
…continue reading WP Plugin: webmasterkey

January 27, 201012 Comments

I am using WP-DownloadManager plugin to manage downloads in my blog. It’s a very usefull plugin by Lester ‘GaMerZ’ Chan. I think , He made the most important plugins for wp :D . He already wrote 17 wordpress plugins ! I am a big fan of Lester Chan aka ‘GaMerZ’ Chan and sometimes I try to get help from his plugin .. I mean how to wrote such nice and clean plugins…

Ok, I just checked that WP-DownloadManager plugin can list category but with files in each. But I wanted something like a download category widgets and a list of download category (just list of download category). So I just wrote a plugin for WP-DownloadManager plugin :D . It will allow you to put a widget in sidebar showing all the Download Category as list with files and hits count as soon as you can use short code in post and pages. And this will make a download category list like bellow :D

…continue reading Download Category widget for WP-DownloadManager plugin

January 18, 20105 Comments

Helo guys I am ready to show you a tab/slides plugin for wordpress. Let me tell u a tale. Once I did a site in joomla1.x for a client and that used the tab slides in content, a jooomla mambot of joomlaworks.gr. Somedays ago I made the same site in using wordpress and wordpress is better than joomla for blogging. So I needed to reuse the tabslide plugin for wordpress and I just converted that joomla mambot/plugin to wordpress plugin. I am releasing in same GPL licence and free. I think this will help some ppl to enable tab/slide in wordpress posts/pages.

Check live demo in gdpnetwork.com or u can give a try in your localhost :P
…continue reading Tab/Sliders for wordpress posts/pages

feedback