Adding custom generator tag in joomla

Joomla creates a generator meta tag automatically. If you view source of your joomla site you can search for meta tag “generator”. The default generator tag looks like
[code]
<meta name="generator" content="Joomla! 1.5 – Open Source Content Management" />
[/code]
We can modify this generator tag and also can put option in our custom joomla template to change this meta tag to site name or something different. so let’s start 🙂

In you template index’s file header tag you can write a line like bellow

[code language=”php”]
<?php
$this->setGenerator("your custom generator name");
$this->setGenerator(""); // you can leave that as blank too
?>
[/code]

We can set a option in template

in template index.php file

[code language=”php”]
<?php
$myconfig = new JConfig();
$mysitename = $myconfig->sitename;
?>
<?php
if($this->params->get(‘removegeneratortag’) == "yes"):
// Remove the generator meta tag
$this->setGenerator($mysitename);
endif;
?>
[/code]

in params.ini file add extra line
removegeneratortag=yes

in templateDetails.xml file

[code language=”xml”]
<params>
<param name="removegeneratortag" type="list" default="yes" label="Remove Joomla Generator Tag" description="Remove or disable joomla generator tag from head tag for security reason">
<option value="yes">Yes</option>
<option value="no">No</option>
</param>
</params>
[/code]

before

[code]"</install>"'[/code]

tag

you are done. I think now you can add/customize in your own way as you need. If you don’t know how to modify the above code then don’t try 😛

Thank you

Webmaster tool plugin for joomla

and A good news!

JED Team approved the webmastertool pluginf or joomla. So, now it’s your turn to help me, writting review(good or bad), voting in JED.

What is webmaster tool?

Webmastertool is a simple joomla plugin. It will allow you to put verification meta tag for diff search engines like google, yahoo, bing and alexa which needs to upload a file or edit template manually. But using this plugin will save your time or help you to avoid using ftp to edit template files. Some months ago I developed same type plugin for wordpress webmaster key.

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

Social Share/Vote Button plugin for joomla content

Update 03.09.2010: This extension got approved in JED. If you like this extension pls write reviews and vote in JED.

All share count or “Social share/Vote button” 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 “Digg Digg WordPress Plugin” which I am using in my blog for many days.

Social share/Vote button

Continue reading

Adding joomla native dropdown menu in frontend

joomla native drop down menu


I think it’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 … the top to bottom drop down menu in front end and it’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… just keep in mind where u are changing and change again while u upgrade again in future.

Ok then let’s move for how we can use the main menu module as ‘top to bottom‘ drop down menu like the joomla admin panel top menu. we will work on default template of joomla1.5 Continue reading

Adding joomla native modal to frontend

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).

Continue reading

Bangla keyboard plugin for joomla default contact form

banglakeyboard

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

Include module in content item for joomla1.5

module position in content

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

How to add extra fields in joomla registration

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

New installation instruction for tinybn in joomla1.5.14+

Here I am back with tinybn(bangla writing plugin for popular wysiwyw editor tinymce). Oh please don’t think that I am trying to show you smiley face with new version of tinybn but new installation instruction for joomla 1.5.14+. Today a new user informed that the raw installation instruction for joomla 1.5.x is not correct … code is not matching 🙁
Continue reading

Home made tab and slider module for joomla1.5

Change Log:

Update 14, January, 2010

WOW, This extension has been approved by JED Team. Pls visit it and place you rating.

Update 8, June, 2010(Must see)

  • Fixed a bug for php error, it was a typo error
  • Transition parameter was missing for slider, it’s fixed now
  • Download file is updated! Please reinstall or update the files only. Changes are in the mod_simplejoomlatabslider.xml, mod_simplejoomlatabslider.php and helper.php file

tabIf you check joomla1.5.x backend(joomla1.x had same) in any component or module configuration the right col accordian slider is common. In some components u should see tab too.To make such tab and slider is just so easy !

I think you are thinking about my post title, why I used the words “home made”. Because I am going to show you how u can make such a tab/slider module for front end just using joomla own resource. Joomla gives some execillent api to make html grid, tab, slider etc within a moment. JPane is such an api to make tab and slider. Here you will get some code example about how to make tab using JPane.

Continue reading