This is Magento default feature. In top.link you can find login or logout link.But if you want to put somewhere login/logout button then you need to check whether a user logged in or not by the code given below.
This is one of the easiest way to show Either Error message or Success message in magento for one time.If you are thinking to show an error message or success message one time when a page load then it is the best method to use in mganeto. Show Error Message in frontend Show Success message […]
It’s very simple go to admin panel of your site then go to system->config. Then click on Design tab from the left sidebar. now click on the Header tab . Here you can Change your default welcome message in magento. You also able to change your Logo Image Alternet text. Logo Source file also.
If you are trying to make a custom login module in Magento then Magento have a default functionality to make a Custom login session,Which destroy automatically after some time, if you will be Inactive for a moment. Here I am showing you How to set login session value and How to get login session value. […]
While I was working on a module , it was required to redirect to a particular page,I tried to using header(‘location’)… .But it was not worked,So I searched in net How to redirect from a controller to product page, No solution Found .i tried myself and got a solution ,Which I am posting here. In […]
If you are using Magento 1.4.1 or just upgraded any of your old Magento sites to the latest Magento version, then you may be getting a very weird error on your checkout page, that the checkout CONTINUE button on payment screen, either on Authorize.net or PayPal , just doesn’t work. The cause of this error […]
While i was working on one Magento site one of my client wants to show a page only for wholesale customer. I knew How to assign customer group in Magento But didn’t know how to check it.I had to made this condition on Aw_blog module page, I opened that module and wrote the Following code […]
If you wish to merge your all css file in Magento you can do that by your Magento Admin Panel. Log in to your Magento admin panel then go to System->Configuration. From the Current Configuration Scope: Select your Store view then click on Developer tab.Now click on Css Settings Tab .From the Merge CSS Files […]
If you want to add login page in a static block and want to place that in left side or right side then use the following code to make your login block and place it anywhere it will work.
To show template path hints in admin panel of magento you need to login to your phpmyadmin then run the following sql command To hide template path hints of admin panel or backed just run the top code by changing 1 to 0, then the template path hints will be hide. You also can run […]