
Search In
Some times in magento we are required to get list of orders of the current logged users.
To do so lets see how we can do it:
first of all we need to get the logged in user id from the session for the same write the below cod
Hello friends,
Today we learn how we can access the profile plugin data in Joomla. To access the profile data User - Profile plugin should be enabled. Otherwise it will only display current user id.
To access the data you need to write the followin
Here we will learn how to create custom toolbar and use it in different activity using <include> tag in xml file of the activity.
1) We will design the layout for the toolbar in our project's layout directory, I have named it as mtoolbar.x
From Rails 3.2 to 4.0, there were so many things that got changed. So here I am telling you the major changes that affected the active records, and that you should take care of during updation from 3.2 to 4.0:
1) There were some inconsistencies rep
Hello Readers, Here is a small example which will explain how to show product views count in magento.
Add below line of code in view page:
Path: app/design/frontend/default/currentheme/template/catalog/product/view.phtml
<?php
$id = $id=$_help
HI Friends,
Today i will specify you how we can access directories from a specific path in c# . Below code justify the functionality :-
try
{
DirectoryInfo directoryinfo = new DirectoryInfo(@"D:\Test");
First, remove the current version of MySQL you're already using:
$ sudo apt-get purge mysql-client-core-5.5
Now, to install MySQL, run the following command from a terminal prompt:
$ sudo apt-get install mysql-server
$ sudo apt-get install
Testing In Rails: Introduction and Creating Test Data
Hi friends,
Even if you write code considering every case in mind there is always a chance that your code contains bugs. So the best way of writing a code that contains least number of bu
In Magento if we are required to load the Categories with their product count,
Then to do so, let see how:
First of all load the current root category for say we have default category with id: 2.
To load the root category we can write:
$ro
Hello reader's!
Today we discuss about "Creating Photo album gallery to your WordPress."
Recently, we had a person who wanted us to create a photo gallery combine with albums. He wanted that if any user click on the album then he able to see phot
