Tuesday, March 17, 2009

Joomla Hack Blog have been shifted to JoomlaXi.com

Enjoy the free pie of Joomla Hacks at joomlaXi.com

- Shyam

Monday, February 16, 2009

I am back

I was not well during last week and was away from the Joomla World.

I am fine and back now

- Shyam

Wednesday, January 28, 2009

Joomla Services Available now

Hey friends,

Now My Paid services available for Joomla Sites in Need of setting up -
1. Performance of Site - 15 $
2. Security of Site - 20 $
3. Basic SEO - 15 $

- Shyam

Saturday, January 24, 2009

Using SmartOptimizer with Joomla

Hey,

If you are having the Joomla site, and especially community driven then the thing you most care about is performance of site. But As far as I can think all joomla site performs poor.

I started a website with JomSocial... its a really good product. My target was to boost performance, and sharing my experience here.

Issues :
  1. JomSocial is on my frontpage - it have a lot of JS and CSS files to display
  2. My Template also have 3-4 CSS and 2-3 JS
  3. Then few other CSS and JS due to mod_signallogin, some other handy modules ...
Before optimization my grading of site was 33 in YSlow.
So I used smartoptimizer -
It can do a lot of things - Minify, GZip, CSS Embeddeing, Caching, Concatenation and many more.

I used in a new style, which was not mentioned anywhere, Why ?
  1. Firstly I installed as per adviced all over the net, But it reduced my performance as It accepts all type of files (php, image, ad html) ... so for these files smartoptimizer wastes my CPU power.
  2. Second issue was - I want to skip selected JS/CSS/Images ...
  3. I want to improve the performance of FrontEnd, but I do not want to impact my backend.

My Style of Implementation
  1. My Site is installed at http://mydomain.com
  2. I created a subdomain http://s.mydomain.com
  3. I created this structure at my subdomain -
    ---- .htaccess (Provided by smartoptimize)
    ---- index.html (A blank file)
    ---- SmartOptimizer Folder
    ---- x (A Folder with permission 750)
    |------x ( A linux style soft link to my main site folder, internal path)
  4. This is all for smart optimizer
Now I created a new renderer for head rendering, By new renderer, I achieved these things.
  1. Rewrite all JS/CSS links as http://s.mydomain.com/.... path-to-js
  2. Concat all JS files, http://s.mydomain.com/....path-to-folder/file1.js,file2.js,file3.js etc
  3. Concat all CSS files, http://s.mydomain.com/....path-to-folder/file1.css,file2.css,file3.css
  4. I didn't changed the functionality for CutomTags, So all the scripts added by CustomTag are still delivered from normal-site.
Benefits with my strategy -
  1. By new rendering, I can concat fils without modifying code.
  2. Most of the java-script required for no-conflicts are added thorugh custom-tags, so I don't mess-up those files, which must not be.
  3. I have shifted all my static content to subdomain, It helps my site speed at browser-side.
    (rendering in browser is faster, check yslow documentation)
  4. The optimization can be shifted to some other server, as its on subdomain :-)
(My site on YSlow is now at 78)
not better than this beacuse I server a lot of images on my homepage.

If you want to apply this appoach on your site, let me know. I will provided relavent code and help to set it up.
If you want me to help you in your site performance, conatct me.
- Shyam

Wednesday, January 21, 2009

Redirector to Jom Social

** New version Released 0.96 **
New version have 3 options
1. JomSocial To Core Registartion
2. Core registration to JOmSocial
3. MyProfile link in any menu - which will be redirected to USer's profile page.

download the file here.

---------------
Hey,

I have released the plugin to redirect all joomla registration request to jomSocial....

It's available there. Have a look it at :
http://code.google.com/p/jsappsmtree/downloads/list

Friday, January 9, 2009

Open Inviter Integration with any Joomla Component

*** Updated the wiki, please check point -6 there*.
I have seen a very big demand :D of viral inviter for jom-social. I have developed a better frontend for Open Inviter. It let you use open inviter with your social application.

You can even use it with any Component of Joomla. Using this component, you can present a Model Box on any Joomla Page to get address-book of user. The model-box will call your page's java-script function to fill emails in any text-box.

Donate / Comment or at least say Thanks.

Wiki help and download it from : http://code.google.com/p/jsappsmtree/

Small Bug in Joomla System Message Rendering

I have found a bug in Joomla. Don't know where to put it. thats why putting here.
If anybody know please pick it up and gives to joomla developers.

This bug is related to rendering joomla system messages.
The messages were empty, still the system was showing that.

I modified file --> libraries\joomla\document\html\renderer\message.php (joomla 1.5.8)
by adding line in RED.

It fixed my issue.

// Build the sorted message list
if (is_array($messages) && count($messages)) {
foreach ($messages as $msg)
{
if (isset($msg['type']) && isset($msg['message'])) {
if(!empty($msg['message']))
$lists[$msg['type']][] = $msg['message'];
}
}
}