Sunday, November 28, 2010

Symfony Framework

Symfony is a full-stack framework, a library of cohesive classes written in PHP.

It provides an architecture, components and tools for developers to build complex web applications faster. Choosing symfony allows you to release your applications earlier, host and scale them without problem, and maintain them over time with no surprise.

Symfony is based on experience. It does not reinvent the wheel: it uses most of the best practices of web development and integrates some great third-party libraries.

Thousands of developers already trust symfony for their applications!

New users join the community every day, and that makes of symfony the most popular PHP framework around. A large community means easy-to-find support, user-contributed documentation, plugins, and free applications.


Download & Installation Guide here :- http://www.symfony-project.org/installation

Kohana Framework

Kohana is an elegant HMVC PHP5 framework that provides a rich set of components for building web applications.

It requires very little configuration, fully supports UTF-8 and i18n, and provides many of the tools that a developer needs within a highly flexible system. The integrated class auto-loading, cascading filesystem, highly consistent API, and easy integration with vendor libraries make it viable for any project, large or small.

Download it from Here :- http://kohanaframework.org/download

Saturday, November 13, 2010

z-index ie7 problem

When using z-index on my multiple level menu today, I discovered z index is not working properly in IE7. After trying all different method, I had z-index fixed, and it is finally working fine.

Two common reasons why z-index is not working in ie7 according to my experience.

1> z-index only works on positioned elements (position:absolute, position:relative, or position:fixed), so please make sure you have given the correct positions value before you use z-index.
so you have to give {position:absolute}, or {position:relative} , or {position:fixed} to the element which you want to apply z-index property.

2>When working in ie7, you need to take note that, z-index is applied from parent to children. and it calculates the position on the same level. So you need to make sure you are applying z-index in correct element, best practice would be applied them on parent elements.

Thursday, November 11, 2010

Multiple Checkbox Select/Deselect using jQuery

Almost all the user interfaces that I have created had this functionality of selecting multiple items from a list to process them or delete them. Although its very very easy to implement this functionality in Javascript, using jQuery for this is real fun. I will show you a simple implementation of adding multiple checkbox select and deselect functionality to any webpage. We will have a table with some data in it and checkbox in each row. There will be a select all checkbox in the header of the table. If user select/deselect the selectall checkbox, all the checkbox in table will get selected or deselected accordingly. Now one more thing we would like here to add is, suppose user select all the checkbox one by one then the selectall checkbox should be automatically gets selected. And if user click selectall first and then unchecks any of the checkbox, then the selectall also should be unchecked automatically.

$(function(){

// add multiple select / deselect functionality
$("#selectall").click(function () {
$('.case').attr('checked', this.checked);
});

// if all checkbox are selected, check the selectall checkbox
// and viceversa
$(".case").click(function(){

if($(".case").length == $(".case:checked").length) {
$("#selectall").attr("checked", "checked");
} else {
$("#selectall").removeAttr("checked");
}

});
});

Sunday, June 13, 2010

Module Creator


Download Module Creator


Step1:- Enter your Module Namespce like gallery


Step2:- Enter your Module name (Module name is access name like gallery then access will be http://www.abc.com/gallery


Step3:- public_html path..


Step4:- if design is default then blank in this field other full fill by template design name

Sunday, May 30, 2010

Add an additional admin user in Magento

  1. In your magento admin backend, go to Admin> System> Permissions> Users.
  2. Click “Add new user”
  3. Enter the user’s information.
  4. Be sure to click on the “user roles” tab on the left menu to assign the account to a role. (You can create more limited-capability roles using ADMIN> System> Permissions> Roles so that users can’t reset anything too deadly if you want.)
  5. Save user.