Thứ Tư, 15 tháng 5, 2013

Get locally hosted Joomla! website e-mail functions to work


Most ISPs block port 25 so you cannot send email from your own computer's SMTP server. This is to block spammers. If you don't intend to spam, you can use your ISP's mail server.
To get the email function from your ISP SMTP server even if you are hosting your own Joomla site on your own computer to work sign in as administrator to your Joomla site. In the menu bar: Site - Global Configuration - mail tab. Your data should look like the following:
Mailer: SMTP Server
MailFrom: someone@example.com
From Name: SomeName
Sendmail Path /usr/sbin/sendmail
SMTP Auth: Yes
SMTP User: johndoe (username at one of your email accounts at your ISP)
SMTP Pass: trr33459 (password at one of your email accounts at your ISP)
SMTP Host: smtp.charter.net (Whatever your ISP tells you to use for their SMTP servers)
The SMTP User, Pass, and Host are the same fields you enter when adding an Outlook Express Account, or Eudora, or any client email you may use on your computer.
You may run into problems with extensions that change the "from" address in the emails being sent out. For example, the ProjectFork extension sometimes sends emails as if they are coming from person in control of the project. This can cause a problem because some ISP SMTP servers will not allow a "from" address that does not match the user name (e.g. Rogers in Canada). You will get a message like this: "PHPMAILER_FROM_FAILEDname@whatever.com." A work around is to make sure that you always use a valid email address from you ISP for your users.

To access the Template Manager


  • Log in to the Administrator (Back-end). If you are not sure how to do this see: To log in to the Administrator (Back-end)
  • Click on: Extensions -> Template Manager
Tpl tut switch template 1.png
You will now see the Template Manager screen.
Note: If you do not see Template Manager listed as an option on the Extensions menu, then it is most likely because you are not logged in as a Super Administrator. Only Super Administrators will see this menu item.

Thứ Năm, 10 tháng 1, 2013

Free joomla template ZT Xenia

Think of valued customers with the affection born of our long friendship, we’re honored to present a free joomla template -  ZT Xenia as a thank for our long lasting relationship and a wish that this association will continue in 2012 with more strength and vigor.



ZT Xenia is made by our dedicated team of designers who know what the quality means. Being designed as one of the world's largest premium joomla template with fully support of K2 CCK, Mega Menus, RTL languages, Piecemaker 3D slideshow, Color Tools, ZT Xenia is the best combination of visual efficiency and simplicity of editing. If you're looking for premium, high quality website templates, look no further!

Joomla templates features

  • Can be used for kind corporate, portfolio, business website...
  • Build in color tools
  • Mega Menu supported
  • 100% Tableless design. 100% CSS/DIV compliance.
  • Joomla 1.5 and Joomla 2.5 native
  • Smartphone template ready
  • RTL language support
  • Well-comment CSS and PHP code files
  • Tutorial + Detailed userguide
  • Delivered with source Adobe .PSD files
  • Delivered with QuickStart Package
  • K2 CCK supported
  • Piecemaker 3D slideshow supported
  • 2 columns layout based template
  • 16 module positions ready
  • Compatible IE 7+, Safari, Mozilla Firefox, Opera 9+, Chrome
  • Javascript, Css compression and Cache supported


Free joomla template ZT Zizia

ZT Zizia from ZooTemplate is a free business joomla template with modern touch, which makes it compatible to most kind of business website.



Thanks to ZT Headlines, ZT PieceMaker, ZT Zizia becomes a modern business template with completely slick and creative design where the minimalistic needs meet the clean and freshness. Besides, ZT Zizia also provides you a completely professional corporate environment to showcase your company and products. It is totally agreeable to say that the quality of ZT Zizia exceeds most templates found in premium market.

Joomla templates features

  • Can be used for kind corporate, portfolio, business website...
  • Mega Menu supported
  • 100% Tableless design. 100% CSS/DIV compliance.
  • Joomla 2.5 native
  • Smartphone template ready
  • RTL language support
  • Well-comment CSS and PHP code files
  • Tutorial + Detailed userguide
  • Delivered with source Adobe .PSD files
  • Delivered with QuickStart Package
  • K2 CCK supported
  • Piecemaker 3D slideshow supported
  • 2 columns layout based template
  • 16 module positions ready
  • Compatible IE 7+, Safari, Mozilla Firefox, Opera 9+, Chrome
  • Javascript, Css compression and Cache supported

Thứ Ba, 8 tháng 1, 2013

What's 9MagentoThemes QuickStart Package


9MagentoThemes provides QuickStart package for each theme which aims to easy to use and comfortable for users. It will help you save much time of installing and configuring if you plan to start your site from the beginning. Installing QuickStart package is quite easy as you install normal magento. The QuickStart package included all the files needed to install magento 1.5.x latest stable version, our theme, extensions, also the sql dump content included to set the template exactly like we show on the demo showcase.
QuickStart= Magento version 1.5.x + MT themes + extensions + sql demo contents

How to install 9MagentoThemes QuickStart package?

  1. Download the QuickStart package .zip file from the 9MagentoThemes website and uncompress it (you can use winrar or winzip to uncompress files on windows machine or use unzip zipfilename.zip to uncompress files on Linux server)
  2. Upload the Magento web files to your web server via FTP
  3. Create a MySQL database and user/password for Magento This step varies by hosting provider and is out of the scope of this document. Consult your provider's support/documentation for instructions on how to do this.
  4. Ensure that the file magento/var/.htaccess, the directories magento/app/etc, magento/var, and all the directories under magento/media are writable by the web server. To do so, navigate to the directory with your FTP client. Then locate the function "Change Permissions" or "Change Mode" in your FTP client and select it. Once you find the function, you must set the permissions so the web server can write to this file. There are two typical ways of representing file permissions in Linux:
    1. As a number (eg, 755)
    2. As a series of permissions categorized into user, group, and other
    If your FTP client uses the first representation, set the permissions on each directory to be 777, or 0777. If your FTP client uses the second representation, set the permissions as shown in the image below.
  5. Folder permission
  6. Use your web browser to surf to the Magento installation wizard. If you've uploaded the Magento files to http://www.example.com/magento/, then the wizard will be located here: http://www.example.com/magento/install/.
  7. Once in the wizard, you can configure various system-level settings that are required for Magento to function. Most options will be intelligently guessed for you, but you're free to override any settings that don't look right. At the very least, change the database parameters in the first box “Database connection” to match those of the database you set up in Step 2.
  8. Success! You've installed 9MagentoThemes QuickStart package. You can now visit the administration backend and begin configuring your new online store

Magento Themes Design Book Review


Magento 1.4 Themes Design was written by Richard Carter and published by Packt Publishing. It was published in January of this year (2011). I read the eBook copy, so I have not yet been able to look at the paper copy, but if it is like every other book published by Packt, there’s not much to complain about.
This book is geared towards beginners looking to get their hands dirty with theming Magento, and understanding how it works. If you are only used to theming applications like WordPress or ZenCart, you will find Magento very difficult. Magento doesn’t just use template files. Magento is much more like a framework, and should be considered as such. They have implemented a powerful system of blocks, layout xml, and template files. The concept can be difficult to wrap your head around, and that’s where this book can really help you get started.
You’ll find the book very well organized, and the author does an amazing job explaining concepts without rambling on forever. There are many occasions where a link to a article (mostly wiki articles on Magento’s site) that better explains the concept in detail, which is nice as it doesn’t clog up the book, and allows you to choose to explore the concept further or not.
Some of the things about things about this book that I appreciate:
  • Suggests when upgrading from 1.3 to 1.4 to start the theme over from scratch. While this seems crazy, from my experience, it has been the best option.
  • In chapter 1, the author goes through 6 differently themed Magento sites (3 themes that come with a fresh Magento installation, and 3 established websites using Magento) and explains the design elements in Magento terminology. It was great to see so many examples to see how magento themes can be used differently.
  • Defined the challenges of theming with Magento.
  • Did a nice job of explaining theme hierarchy.
  • Suggests only using a single xml layout file for your custom themes. I had already learned that this is a great practice to have, and the fact that the author suggested this and gave good reason for it was appreciated.
  • Walk you through how to create a theme from scratch (though still basically based off of the base/default theme).
As you walk through the chapters in this book, it does a nice job easing you into the concepts, and keeps the flow going, building further upon what you are learning. Overall, for a beginner, I would highly recommend this book.
The only cons of this book: If you are hoping for a detailed and in-depth explanation of how layout xml works (like I was), this book won’t quite do it, though does a great job explaining the basics, which is the purpose of the book. The only other complaint I have is that the author suggests that you FTP all of the unpacked files to the server. I wouldn’t ever suggest that, but, if you are a beginner and are unfamiliar with using the command line, I guess it gets the job done (though very slowly!).

How can I transfer my Magento store from one host to another provider?

How can I transfer my Magento store from one host to another provider?


This tutorial provides detailed information how to move a Magento store from one host to another (or to a different hosting account).

Step 1 - Create a Database

First, you need to create a new MySQL database for your store. Log in to cPanel by following the instructions given in your Account Information email. Then click on the MySQL® Database Wizard icon. Type in a name for your new database (e.g. mystore) and click Next Step (see Figure 1). Now you need to assign a new user to your database. Type in a username and password then click Next Step. Finally, check the All Privileges checkbox and click Next Step to complete the database wizard.
You can now log out of cPanel and continue with the next step.

Figure 1: Create a New Database

Step 2 - Backup and Transfer Site

Now you need to make a backup of your existing store by downloading all the files in your Magento main directory to your local computer. If you have SSH (Shell) access at your current server, you can simplify the process by making a archive of your entire site first by using the 'tar' command. Run the following in your store's main directory:
  1. tar -czf backup.tar.gz *
This will create a compressed "tarball" which can be downloaded to you local computer, then uploaded to our server. You can also transfer the file directly between the two servers by using the 'wget' command. To do this, you will need to log in to your account on our server using SSH, navigate to the directory where your site should be located. Then run the following command.
  1. wget http://your_domain_or_ip/backup.tar.gz
  2. tar -xzf backup.tar.gz
This will download your backup.tar.gz file to our server and uncompress it in the current directory. Note: you may transfer the backup file using e.g. FTP instead if you prefer.

Step 3 - Backup Database and Import

In this step you will make a backup of the current database and import it into the database you created in Step 1. To backup your database we recommend using SSH (if available) or a tool like phpMyAdmin.
Log in to your server with SSH, and then run the following command (replace hostname, dbUsername and dbName):
  1. mysqldump -h hostname -u dbUsername -p dbName > db_backup.sql
This will create a "dump" of your entire database dbName and save it as db_backup.sql in the current directory. If you don't have SSH access, contact you current host for assistance on how to backup the database.
To import the backup into your newly created database, log in to SSH on our server and run the following command (replace dbUsername and dbName with the username and database name from step 1):
  1. wget http://your_domain_or_ip/db_backup.sql
  2. mysql -h 127.0.0.1 -u dbUsername -p dbName < db_backup.sql
This will download the backup file from your old server to ours and import the data into the database named dbName. Note: you may transfer the backup file using e.g. FTP instead if you prefer.

Step 4 - Reset File Permissions

To make sure that all javascript files, CSS, and images load correctly, you should reset the file permissions to the recommended settings for our servers. Some other providers require file permission settings which are not compatible with our setup, or may even be unsecure.
Run the following commands from your Magento root directory (e.g. public_html):
  1. find . -type d -exec chmod 755 {} \;
  2. find . -type f -exec chmod 644 {} \;
This will reset permissions for all files to CHMOD 644, and CHMOD 755 for directories.

Step 5 - Modify Configuration Settings

The final step is to edit the Magento configuration file to use the new database. Open the file local.xml under the "/home/username/public_html/magento_dir/app/etc/" directory in your favorite text editor (tip: use the File Manager in cPanel). Locate the <default_setup> and make the necessary changes as illustrated below.
  1. <default_setup>
  2. <connection>
  3. <host><![CDATA[localhost]]></host>
  4. <username><![CDATA[dbUsername]]></username>
  5. <password><![CDATA[dbPassword]]></password>
  6. <dbname><![CDATA[dbName]]></dbname>
  7. <active>1</active>
  8. </connection>
  9. </default_setup>
Save the file and you are all set! You should now be able to open your site at our server. You may have to log in to the admin panel and change the Base URL for links to work if you are using a different domain.
PS: In order to use the Magento Connect Manager you may have to reset the PEAR configuration settings. To do this, simply remove the file downloader/pearlib/pear.ini, and a new one will be created automatically.
If you have any comments or questions regarding this tutorial, feel free to contact us.