Webspeaks

Saturday, July 24, 2010

How to Fix Admin Login Problem in Magento

The Problem

The problem will manifest itself as a redirect back to the login screen, even though you typed the right username and password. If this problem is affecting you, you will be redirected back and see no error message. This indicates you have the right credentials, but the Magento Admin is just not letting you in. You can verify it by typing the wrong username and password, you’ll see you get redirected back and it shows an error message.
The problem occurs because the Magento backend tries to set a cookie on your browser, and then for some reason when you next make a request, the cookie is gone(or was never there). This makes Magento think you have never logged in, and of course it redirects you to the login screen. So the real guts of it is the missing cookie, we need to find out why it’s missing.

Friday, July 23, 2010

How to Generate PDF file using PHP

It is very important to generate PDF documents in the corporte world. E-Commerce applications developed in PHP provide this functionlity. So I decided to write a tutorial on 'How to Generate PDF file using PHP'. The script uses a class file 'fpdf.php' which is distributed for free use (that's why I love Open Source :)). A separate folder called 'fonts' is there to generate all the fonts. It is kept in the same directory where the main file and 'fpdf.php' is kept. All next is simple PHP programming that can be understood with little brain teasing. Lets see it working.



Tuesday, July 20, 2010

Create Your First Magento Module

Magento module
Modules are the core functioning unit in a Magento system. Here I am giving an overview of how to write a “Hello World” module in magento. Simple basics before start you cooking :-)
At the time of instantiating, magento system reads all the Xmls inside the folder /app/etc/modules/ to get the list of active modules and their corresponding code repository . So very first step of creating a magento module is to declare the module and its core repository(the repository of the module, in magento it’s calles codepool ).
If you open /app/code/ you will see 3 coodpool :- core, community and local.
app/
|–code/
| |—community/
| |—core/
| |—local/
|
Download Magento Module

Sunday, July 18, 2010

Excellent tips to improve your Jquery programming-Part 3

After overwhelming response to first and second installment of this series, here is the final installment. You will surely like these small tips-n-tricks to improve your jQuery programming.
Read first version.
Read second version.

Saturday, July 17, 2010

Youtube Like Rating with jQuery & PHP

YouTube like voting system is surely the best voting sysytem I have seen till now. It is very Simple and fast. I found this script on 9lessons.info. I made some changes to the script to suite my requirements and here is the updated script. Please write me all your doubts. Watch it working.



Thursday, July 8, 2010

15 Fabulous CSS Border Styles

The CSS border properties allow you to specify the style and color of an element’s border. Here is a guide to all CSS border style properties with small demo.
This post has been borrowed from http://nisha.in/a-guide-to-css-border-style.
View original post here.

Sunday, July 4, 2010

MooTools for Beginners Part 1 – The Basics

This is a basic tutorial to help get you started with mootools. We’ll be manipulating elements, adding and removing event listeners, and ridding the world of magic if you want.

Friday, July 2, 2010

25 Incredibly Useful CSS Tricks You Should Know

Here are 25 incredibly useful CSS tricks that will help you design great web interfaces. You might be aware of some or all of these techniques, but this can be your handy resource to nifty CSS tricks that you should know.