Saturday, December 10, 2011

Sobi2 Tabbing css n some problems

Installed sobi2 Joomla component on your site..? Then you should use sobi2 tabs on the Details View of your directory at least. Well its very easy if you find this page.
Just go through the above page you will get it. Its easy. Find the sobi2.details.tmpl.php from correct folder(depends on selected template) & add tabbing code in this file according to your requirement.
I guess definitely you want to customize this default tabbing style to suit your site.
To change css go to com_sobi2/includes/tab.webfx.css & make as you want. check this css file for reference.
If everything is fine then don't read this. If your page is going up-down when you click on the tabs you have created then go to com_sobi2/includes/js/tabpane.js & comment line no. 209 which contain a.href = "#"; Don't worry it won't affect anywhere so make this change without hesitation.

Wednesday, December 7, 2011

Jomsocial creating a new group - pre-select the proper category

When we create a new group in Jomsocial, we have to select category from drop-down. Jomsocial shows the list of categories you have created from back-end in accending order of category names. What if you want to change a default value, don't look at administrator site there is no option. So for that you need to just override groups.forms.php file from template folder & add this code at the end. The value will be changed according to what should set as a default value from the options(just inspect element n find value).
<script>
joms.jQuery("#categoryid option[value='1']").attr("selected", "selected");
</script>
e.g if have Automotive, Business, General, Internet, Music as categories Jomsocial displays Automative now it shows General as default. That is what i wanted.
When creating a new group, it should pre-select the proper category.

Saturday, December 3, 2011

Powered by Sigsiu.NET remove

Have Joomla website & used sobi2 component...? Then definitely you must be wondering to remove the line 'Powered by Sigsiu.NET'. When my TL told to remove this line, first i googled & looked at sobi2 forum but i didn't get anywhere. I thought its not big problem let us try.
I got the solution. You want it then say thanks to sobi2 component developers then n then you can see following lines.
To remove Powered by Sigsiu.NET.
Just open frontend.class.php file in com_sobi2
find getFooter funtion & replace return $this->sobi2Footer; to return; .
that's it.

Friday, November 11, 2011

How to show modal popup window on login in joomla

Wanted to show an article in a modal popup window to the user when log-in to the site first time & the article is updated as well. So that created a system plugin & triggered the onAfterRender event. Checked the userlastvisitdate. If its 0000-00-00 00:00:00 excuted a javascript code which shows popup modal to the logged in user. Its easy to write what i did but very diffcult at the time of coding. code is as follows
function onAfterRender()
{
$user = &JFactory::getUser();
$js = '';
$plugin = JPluginHelper::getPlugin( 'system', 'popupmodal' );
$plugin_params = new JParameter( $plugin->params );
$first_article = $plugin_params->get('firstlogin_article');
if($user->lastvisitDate == "0000-00-00 00:00:00")
{

$js = <<<EOT
<script>
var dummylink = new Element('a', {
href: "index.php?option=com_content&view=article&id=<?php echo $first_article; ?>&tmpl=component" ,
rel: "{handler: 'iframe', size: {x: 350, y: 350}}"
});
SqueezeBox.fromElement(dummylink);
</script>
EOT;
}
$user =''; // i stuck at this line cause when user logged in still i was getting lastvisitdate 0.
$body = JResponse::getBody();
$body = str_replace('</body>', $js.'</body>', $body);
JResponse::setBody($body);

}
Half work was done here. Now needed to show this popup modal to all the user of site when they log-in when article which showing in popup modal updated. It was tricky first we need to check whether that article has been updated. To check that we triggered onAfterRoute & execute the follwing code which checks article id & whether the task is save if it is then update lastvisitDate for all user so that our above condition satisfied & every user can see popup modal on log-in.
function onAfterRoute()
{
$id = JRequest::getVar('id');
$task = JRequest::getVar('task');
$plugin = JPluginHelper::getPlugin( 'system', 'popupmodal' );
$plugin_params = new JParameter( $plugin->params );
$frst_art = $plugin_params->get('firstlogin_article');
if($id == $first_article && $task == "save")
{
$db = JFactory :: getDBO();
$query = 'UPDATE #__users SET lastvisitDate = "0000-00-00 00:00:00"';
$db->setQuery($query);
$db->query();
}
}
I'll save your work you can download the plugin here

Friday, November 4, 2011

How add Javascript in Joomla article easily

Wondering to add Javascript snippet in Joomla article. Here is the easiest way to add.
Goto Joomla Administrator -> site -> Global Configuration.
Select Editor - TinyMCE 2.0 as Default WYSIWYG Editor & save it.
that's it you are now free to write javascript code in articles.
Don't try to change above setting otherwise you will lose Javascript code from joomla article. It worked for me with Joomla 1.5 version.

Somewhere i read following lines but it won't help me at all cause it adds extra tags like mce_href & it changed the code according to it's structure which is nonsense(but it just make sure that your JS code wont lose if you change above settings).
Go to plugin manager & click on tiny TinyMCE 2.0
Go to plugin parameters
select "never" to Code cleanup on save option & save it.

I suggest use this method only when there is no preference to use editor other than TinyMCE. Otherwise you need to find a plugin from joomla extensions.

Wednesday, October 19, 2011

How to override Jomsocial Controller

If you already override jomsocial template files then don't think that in same way you can override controller as well.
Before talking about how to override Jomsocial Controller, lets see why we need to override controller. If you hack the core files directly & made changes as you want. After some day when you upgrade jomsocial then those changes from the hacked files will be removed & then again you have to hack the core files. So this is very tedious task to check which file & what code you have hacked. Solution on hacking is obviously you have to override controller.

To override jomsocial controller you need a plugin which will override controller. In this plugin we just replace default controller object with our own custom class.
Before the system controller is created. Plugin may override the controller class name.
Plugin should contain following code.

<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
jimport( 'joomla.plugin.plugin' );
require_once( JPATH_SITE .'/components/com_community/libraries/core.php');
require_once( JPATH_SITE .'/components/com_community/controllers/mybulletin.php');

class plgCommunityMybulletin extends CApplications
{

function plgCommunityMybulletin(& $subject, $config){
parent::__construct($subject, $config);
}

function onBeforeControllerCreate( &$controllerClassName )
{
$view = JRequest::getVar('view');
if($view == 'groups') {
$controllerClassName = 'MybulletinController'; // MybulletinController is class name which extends in your controller
return true;
}
return false;
}

}

Lets see the how to create controller.
If you wanna override groups controller then copy that file & paste it in the same folder(com_community/controller). Rename that file with what you have mentioned in plugin($controllerClassName value). In this case i rename that file with mybulletin.php & do changes as you want. Just make sure that you have added following line at the top of the file.
jimport ('joomla.application.component.controller');
require_once (COMMUNITY_COM_PATH.DS.'controllers'.DS.'controller.php');
To off email on bulletin creation i did override jomsocial group controller. You can find plugin & controller files here & make changes as you want.

Monday, October 3, 2011

Jomsocial Group Bulletin email off

Working on one of the sport site developed in Joomla, as usual Jomsocial is installed. Client requirement was that he didn't want to get email when users of the site created jomsocial group bulletin. Its jomsocial's default behavior that it sends mail to all member of the group when group bulletin created. I made the correct change in a correct file after spending couple of hours.
If you want to off the mail of group bulletin creation then you need to override Jomsocial group controller. Well you can't override the jomsocial controller file so easily as you override template file.
To know more about how to override jomsocial controller you need to wait for my new post.
Go to the components->com_community->controller->groups.php file & comment the lines from line no. 3014 to 3024. Make sure these line contains the following code.
/*
$model =& $this->getModel( 'groups' );
$memberCount = $model->getMembersCount($groupId);
$members = $model->getMembers($groupId, $memberCount , true , false , SHOW_GROUP_ADMIN );
$membersArray = array();
foreach($members as $row)
{
$membersArray[] = $row->id;
}
unset($members);
*/
After that Jomsocial won't send email to members of the group when member creates bulletin for the group. However this worked for me for Jomsocial 2.2.4 version. I am not sure whether it works for other versions for that you need to just make sure where the above code is & i guess it won't be a big deal.
Note :- Don't waste your time to search back-end option to make jomsocial group bulletin off.

Saturday, September 17, 2011

Please wait while loading image - JavaScript


Today wanted add loading please wait kind of image when user click on likedin button from one of the page of site. Actually when user click on linkedin image it takes time to redirect from site to linkedin log-in. Between this time wanted to show an loading image so that user will get something is happening need to wait for a moment. So initially i thought to use many images & use them with time function it will work as i wanted. First googled to get some ready made script but i didn't get exactly. Later got this link which solved my problem so frequently that i never thought. Just went to that site, chosen the type of image i wanted & called that image in div tag & made that div style block on onClick event. That's it so simple & looks great.
Check the code which is pretty simple.
<scrip>
function showimage()
{
document.geElementById('showloadingimg').style.display = "block";
}
</script>
<a href='link to redirect' onClick="showimage()"><img src="image path" /> </a>
<div id="showloadingimg" style="display: none"><img src="here is path of that downloaded image" />
</div>

Thursday, September 8, 2011

How & when to use DBkiss.php

Working on Joomla site & don't have Cpanel details to access phpmyadmin. Don't want to waste time to get C-panel details. Don't worry here is the solution & that is DBKiss. Its just a php file which allows you to access database. Interface is not to good as compared to phpmyadmin but it works faster than phpmyadmin. If you google you will get dbkiss.php easily, you can find it here as well. Just paste this php file into the root folder & open it in browser. Now submit the database details from configuration.php file. If you submit details correctly, you will get database access. Its not necessary to have Joomla based site for DBKiss. I personally think if you have phpmyadmin access then its nonsense to use DBKiss. This is from developers point of view. Now if you want to give database access someone without sharing C-panel details then you can suggest that person to use DBKiss.

Saturday, September 3, 2011

JUser::_load: Unable to load user with id jomsocial shSEF404 joomla

Installed jomosocial & ShSEF404 components on Joomla site & getting "JUser::_load: Unable to load user(userid)" error, when you view some jomsocial profiles on site.
To solve this issue i did following things hope it will work in your case too.
Go to sh404SEF -> Control panel -> Url Manager.
Search the Jomsocial username's for which you are getting this problem. You can search one username at a time it will be more diffcult if you encounter this problem with large number of profiles.
You will get the list of url related to that profile, look at 'Duplicates' column. Remove those rows where you can see the duplicate values.
Go to the frontend do hard refresh & error will be disabled.
Writtng this post specifically cause if you googled this errror you get most of the nonsense things & waste time while doing that things as i did.

Friday, August 12, 2011

Jomsocial checkbox, radio buttons tooltip & validation bugs & solution

Have Joomla site?
Installed Jomsocial Component?
Created checkboxes or radio buttons using custom fields?
Suffering from checkboxes & radio buttions tooptip & Validatation of these fields wokring after submitting form(basically functionality should be to have alertbx with error message like other inputs). Then you must read this post & follow all the steps.

These are the Jomsocial bugs. You can find these bugs in latest verison(2.2.4) also don't know why these guys haven't sorted out yet. We were suffering from this problem for 2Lush cru site. We told client its Jomsocial bug but as usual, he was not ready to accept & told to do whatever to solve these issues. I know, this issue was in PMS from last 1-2 months no one was able to solve it.

If you want to sort out these bugs the you need to hack the jomsocial files cause you can't override these files which you need modified. Dont worry it won't affect your jomsocial at all.

To remove empty tooltips from check box fields.
go to file components/com_community/libraries/fields/checkbox.php
line no. 36
$cclass = ($field->required == 1) ? ' required validate-custom-checkbox' : '';
line no. 60
Change only class name
$html .= 'input type="checkbox" name="field' . $field->id . '[]" value="' .
$option . '"' . $selected . ' class="checkbox '.$class.'" style="margin: 0 5px
5px 0;" />';
change to
$html .= 'input type="checkbox" name="field' . $field->id . '[]" value="' .
$option . '"' . $selected . ' class="checkbox '.$cclass.'" style="margin: 0 5px
5px 0;" />';

Validation of checkbox
line no. 44
$class = !empty( $field->tips ) ? 'jomTips tipRight' : '';
change to
$class .= !empty( $field->tips ) ? ' jomTips tipRight' : '';
public_html/components/com_community/libraries/fields/radio.php

Same for radio button validation
go to the file components/com_community/libraries/fields/radio.php
Just update file as above.

Sunday, July 31, 2011

no configuration file found and no installation code available. exiting...

Yesterday i was installing joomla here. First i pasted the joomla installation files on server & extracted that folder. I have already created database cause i know at the time of installation it asks for the database details. After that i opened the url in a browser for further procedure. After all installation removed installation file. When i try to see the joomla site, saw this error message " no configuration file found and no installation code available. exiting..." but there was a configuration file & installation folder which i had deleted. I opened cofig file & check the database details into the file. Database details entered, during installtion procedure were not updated into cofig file(permission 644) thats why it was showing error. Finally i corrected file with database details & it worked. A simple way you can rename the file configuration.php-dist to configuration.php. A browser tab was opened with the search list of this error, after finishing my work i try to search for the solution where i could not get easy & exact answer even on joomla forum also. So i have posted regarding this. Hope this helps somebody..

Wednesday, July 20, 2011

Why Joomla Override?

When i was working at Diligent Tech, i used to hack extensions files directly, might be my seniors did not about know the term 'Override' or they haven't informed me. When i joined Tekdi Web Solution, I come to know disadvantages of hacking core files. Override is the great solution for hacking core files. So I'm just posting about why override instead of hacking files.
When you want to upgrade Joomla component or module installed on your site. You uninstall it & install that component or module with latest version or you can directly install the upgraded version. This means that the changes you made in core files of the component or module will be lost if you don't have a back-up. It's also more difficult to keep track of the files that you have customized. With the override functionality you can place your customized files in a template folder which is of course outside of the component or module to keep all your customization in one place and safe from upgrade losses. So that your colleagues will get in which files you have made change.
But one more thing you should check the file differences when there is an upgrade, because there might be bug fixes in your modified files, but now you can easily keep track of which files to check. Instead i write about how to override joomla core files please check this link http://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core.

Wednesday, July 13, 2011

JReview - How to unpublish the listing according to the end date

I am working on one of the site 2Lush Cru, a Joomla based site from last month. JReviews componet is used to show the liting of wines & there is a field 'offer end date'. Depend on the 'offer end date', listing should be closed automatically. Its not JReviews's built in functionality. The problem is Jreview store some data of listing as an article(content table). There is field for article end date(publish_down) in Joomla, so i wanted to store offer end date of JReviews in a article(content) table so that it closes according to the close date.
Initially i thought, view is already overidden, after written some query's it will work. Invested 3-4 hrs. but it didn't worked. Finally got a solution, oerride a JReviews listings controller(listings_controllers.php) where it stores data. I was not aware how to override JReviews controller, This page came to help me.
In listings_controller.php on line no 1343 pasted this code
$this->data['Listing']['publish_up'] = $this->data['Field']['Listing']['jr_opstartdate'];
$this->data['Listing']['publish_down'] = $this->data['Field']['Listing']['jr_openddate'];
Remember jr_opstartdate & jr_openddate parameters will be changed acccordingly the names you have set for the field(joomla admin site, field manager).

Monday, June 27, 2011

Chronoforms

Last couple of days was working on Chronoforms a Joomla extension used to create forms. I found something interesting as compared to other form extensions.
Using the form wizard one can create form easily, but you need to make change in form designing to fit the look of your form to the site. This is quite tedious task(atleast for me). Most things i like about the chronoform is the ability to setup the email & email template. You can execute bit of php code any time you want like before form submit, after form submit, before mail send, after mail sent. If you wanna store form details in database, chronoform provides ability to create table. I would to suggest, should use chronoform whenever email setup & email templates has higher priority. At the end its free.
Whenever need to create forms in joomla, you should have to think of Chronoforms.

Thursday, June 16, 2011

How to Create Joomla Select Box

How to create select box in joomla.
Simple Select box

$names = array(0 => "Select Name", 1 => 'Amit', 2 => 'Amit', 3 => 'Ajeet', 4 => 'Amar');
$options = array();
foreach($names as $key=>$value)
{
$options[] = JHTML::_('select.option', $key, $value);
}
$simple_dropdown = JHTML::_('select.genericlist', $options, 'name', 'class="inputbox"', 'value', 'text');
echo $simple_dropdown;

In joomla development, many time you need to show dynamic select box with the values from database.
Joomla drop down with values from database

$db = JFactory :: getDBO();
$query = "select * from #__users";
$db->setQuery($query);
$result = $db->loadObjectList();
$options = array();
$options[] = JHTML::_('select.option', '0', 'Select Name');
foreach($result as $row)
{
$options[] = JHTML::_('select.option', $row->id, $row->name);
}
$dropdown = JHTML::_('select.genericlist', $options, 'class="inputbox"', 'name', 'value', 'text');
echo $dropdown;

To select default option
$default = 62; // make sure this value must match
$dropdown = JHTML::_('select.genericlist', $options, 'class="inputbox"', 'name', 'value', 'text', $default);
echo $dropdown;

To use radio button instead of dropdown
$radio = JHTML::_('select.radiolist', $options, 'class="inputbox"', 'name', 'value', 'text', $default);
echo $radio;

To use radio button with newline.
add this line
$radio =str_replace('</label>','</label><br />', $radio); before echo $radio;
You can read more here.

Thursday, June 2, 2011

Best way to calculate the difference between date time

As a developer we always need to compare dates(with time or without) & get the no. of days, years, weeks, hours, minutes, seconds according to the requirement. So that why shoudn't a function which does all these. With the help of this function you can get the difference between two dates or times very easily. Whole code is written in php.

Saturday, May 28, 2011

How to disable Joomla Component

Well let me elaborate the difference between disable & uninstall Joomla component first.
Uninstall component means to remove the component from the Joomla site. If you don't want to use a component in your Joomla site then you have to uninstall it.
Disable component means you are not interested in the component right now but may be in future you want to use it, in such situation you have to disable it.
In short Joomla just restricts the disabled components from showing the output. Whenever you want to use the disabled component you just need to enable it.
Doing this doesn't require coding, there is option for this at the backend. Here is the image. When i wanted to disable the component first time, then i was wondering that i need to make the change in coding.

Wednesday, May 18, 2011

Easy way to get backup your joomla site

There are many other ways to get joomla backups but i think this is the easiest way. You need to install Akeeba Backup, don't worry its free. After that go to Configuration(Akeeba Backup) Change the Archiver engine from JPA format to Zip format from Advanced configuration, save this setting.
Click on the 'Backup Now' option n follow the procedure. At the end you will get backup. Download that zip file & keep it in root folder. After that open it in browser n follow the procedure you will get copy of your Joomla site. You will get a fresh backup at any time with help of this extension.

Tuesday, May 10, 2011

How to override Joomla's language files

Wanted to override language file in joomla, as usual i googled little bit & got somewhere that 'just place language files in html folder of selected template'. I did but it didn't worked for me. Actually, the solution is to create a folder language(name must be language) inside that create another folder en-GB (most of the time we work on English but might be change) & insert the language file which you want to override (copy file from your root folder/langauge/en-GB) & make the changes whatever you want in the file, but wait work is not done yet.
You need to install this plugin .(its correctly worked for me thats why i am suggesting) & enabled it. Fianlly joomla language file has been overriden.

Monday, May 9, 2011

AJAX based select box (states & cities)

I just wanted to create a AJAX based select box which shows US states & cities means if user selects states then it shows cities accordingly to states in cities select box. I googled but as usual didn't get exactly what i want but got idea. Here is the code. The code is written in PHP & MySQL.

Wednesday, May 4, 2011

Jom Social

Working on JomSocial Joomla's most popular Social Networking extension for a business referral site. It's gonna very difficult for me to look the code & make necessary changes. So working strongly to fulfill my task's. Patience is the most important characteristic that i have a bit.

Tuesday, April 26, 2011

NinjaXplorer - Joomla File Extension

Wanted to add some js files but didn't had ftp n cpanel details then joomla extension NinjaXplorer helped a lot. Its a greate extension to manage joomla files through backend(admin). With this extension one can manage almost all the files, edit, upload, delete, zip, unzip and download files directly from your Joomla Admin panel. Awesome thing is that its free extension.

Thursday, April 21, 2011

Admin Tool

One of the Joomla's must install component which includes the tons of facilities such as
Emergency offline - which is very different from Joomla's core site offline
Password-protect Administrator - This is awesome for security purpose, browser asks username & password before login to administrator section, simple & straight forward utility.
Web Application Firewall - amazing.. admin ip, site ip whitelist as well as black list anti spam wording, geographic blocking(i guess not required).
You can change database table prefix, super admin id, url redirection repair & optimize table, clean template directory, file permissions in few clicks.

Monday, April 18, 2011

Joomla Plugins

Actually i thought that there is no good place for plugin in joomla development. But i was totally wrong oops sorry plugins.! Plugins are as powerful as modules & components. With the help of plugin one can build good feature with minimum efforts. Actually i am new bee in joomla development. You can download some of the plugins developed by me here.

Thursday, April 14, 2011

Hide joomla administrator url

How to check joomla website, just type url/administrator" & you will get it. Hold on you may get misunderstand cause this could not work in many cases, it means for security purpose developers has changed the default link. To prevent your site from hackers, There are many freely available plugins, You can check here. But i like backendtoken which is very simple n straight forward.

Updating this post cause i found ChangeAdmin componet which allows to hide joomla administrator link. This is quite good as compares to the above mentioned plugin. After all choise is yours. These both extensions works slightly different. Its not big deal to describe difference thats why i stop here. Just try both extensions & use which suits you most.

Tuesday, April 12, 2011

World Champion


Actually i should have to post this before couple of days after india won the World Cup but my internet wasn't working thats why posting so late.
Finally we won the World Cup..! team india did it. O my god i cant belive it! But its true finally i become the witness of this unforgetable moment. It was saturday there was screening in our office but the condition was that if someone wants to see the match, should work full day on next saturday. Due to this condition my colleagues went back to work but with 2 other frnds i started to enjoy Srilanks batting. It was good score around 270. Come back from office to home but there was no electricity in our building, suddenly i went to my uncle's home which is very near. When i went there sehwag n sachin was back in pavillion & i changed the channel n started watching marathi movie. At the same time, on the pitch gautam n kohli were playing good but i was not sure like everyone & game was turning. This pair had made a good platform after loosing important wickets n kohli was out, Dhoni came to play, & dats it. Slowly india was moving towards a greate victory. Finally team india won the world cup for the Master Blaster Sachin Tendulkar. I never forget those happy tear in the players eyes. Those people who have seen the 1983 world cup they always says many things to us so i always want to see the team india while winning the world cup. Finally my dream came true. I enjoyed the Indo-Pak match at office. There are many things realted to this world cup & i'll share it with my childs their childs dont know whether they will be interested but i'm.

Saturday, April 9, 2011

Wonder Funky with TekD Team


Yday had blast at Wonder Funnky on the occasion of Foundation day of the TekD Web Solution. Leaved office at 5pm reached wonder funky at 6pm started to play games. I played air hockey with Parth sir & beat him later i lost from amit. After that enjoyed bowling game while having beverages & then danced at floor after that played some video games. I mostly liked bike game. We had wonderful dinner around 9:30. At the end it was gr8 day thanks to Tekdi Web Solution. I'll bring my cousion(Nehal) on his B'day at Wonder Funky.

Thursday, March 31, 2011

Facebook Users Check this out...

Before couple of months, i was thinking to write about how to modify your facebook url. But i thought it would be childish if i write of it, but when i heard from my many developer frnds 'how you have modified your facebook url'. It forced me to write this post.
Its very simple, just logged in facebook & then just type this line "facebook.com/username" on address bar. It shows a textbox, type what you want & thats it. But remember one thing you can't change the username later.
Many of you will ask that why should i do? Beacuse my dear frnd, anyone can find you on facebook easily just tell this url to ur frnds.

Tuesday, March 15, 2011

Joomla Day India 2011


It was great experience... learnt a lot of things about joomla in joomla day at ICC Pune. Impressed with Brian Teeman n other speakers also. After this event i really fall in joomla love. Waiting for the other joomla event happening in the city. Our company was the one of the sponsor of this event. One day i'll give speech on this event.Hope so...

Monday, March 7, 2011

Kokan once more...

Wow..! It was great sunday. I was busy with work & interviews in the last week, my frnd Amit called me & asked "येणार का हरिहरेश्वर ला.." I replied him, 'I would like to join, but i am not sure'. He replied 'every time i give this answer'.
On friday, i called him n told that, 'I am coming with him'. Thats it but i need to finish some work before that. Finally i finished work on saterday night n sleeped at 1:30am & got up at 4:30am, Credit goes to my very best frnd(cant mention her name) who called me & woke me. I told my uncle to drop me at S.N.D.T. n amit told me 'he will be at sndt within 10-20 mins'. While sitting on PMPML bus stop's chair opend some memeries about Diligent Technologies cause its near to SNDT.
After that our journey started at 6am, we reach Harihareshwar around 10am, visited Harihareshwar Temple, enjoyed at beach & leaved at 2pm frm Harihareshwar to Diveagar. Enjoyed travelling between Harihareshwar to Diveagar. We went to 'Suvarn Mandir', took Ganpati Bappa's darshan then had konkani lunch n went to beach. We saw the sun-set at beach & started back to pune & reached home at 12am.
Can see some snaps frm Here

Tuesday, March 1, 2011

Diligent Technologies

Well its my first company where i learnt many things... I wanna write about the company cause i'm goona leaving this company.
Environment is very friendly here no one is no one's BOSS. I got very good Sr. like Rupali mam, i always like to work with her, learnt lot of things from her. Rahul, this dude is with me from first day to the last day, helped me(offically n unofficially). Ravikant & Vikas are very good human beings.I have business(friendly) with them out-side the company. Many things i learnt from Nishant. N last but not the least the CEO of company Sid sir, very cool person. At the end i am gonna miss the sexy girls wearing shorts on law college road... hmmmmmmmm
so hot...

Monday, February 14, 2011

Re-Captcha

Wanted to apply captcha for this page Surplaplace . So i generate a random string n apply it on image & compare the string with entered text but my Sr. Nishant told that it can break by image processing techniques & he suggest that go for recaptcha which is very secure n simple to use.
Its amazing guys API provided by google. Just log on Here register with ur google acc. & site name after that it generates a public n private key that we have to use in our coding.
MailHide
It's not good to write your email address on the web page because anyone can use it use it the way you don't want. To avoid spam email's should use mail hide functionality. In short it hides some words from ur email id & view email id one should write correct captch. MailHide is also a good service.
atpat..@gmail.com

Wednesday, January 19, 2011

mod_jbgmusic

We wanted background music for joomla based site buteras, for that first we insert html tag for the music in index.php but problem was when we jumb to other pages music plays from start that client dont want.
"mod_jbgmusic" this joomla module helped very effectively.