Friday, November 9, 2012

Magento Installation


There are several ways to install Magento. The fastest and easiest one is to use the Softaculous autoinstaller available in cPanel. To learn how to install Magento via this tool, check our Magento Softaculous Installation Tutorial. 
You can also perform a manual Magento installation using the Magento Installation Wizard.
SiteGround also offers a third way to install Magento via the Site Software section in cPanel. Note that this tool will be deprecated soon and new Magento versions are not available for it. We recommend installing Magento via Softaculous.

Manual Installation of Magento

The steps which you must follow in order to complete the Magento manual installation are:
 Step 1: Download the latest stable Magento package from:
 Step 2: Upload the package on your hosting account through your cPanel -> File Manager or using an FTP client.
You can learn more about cPanel from our cPanel Tutorial.
There are 2 options where you can place the Magento download file:
  • Either under the public_html folder, which is the main one for your web site content. Then your web site will be accessible directly through your domain.
  • Or under a subfolder, for example if your domain name is called yourdomainname.com and you decide to install the script in the public_html/magento folder, you will open the web site at:http://yourdomainname.com/magento.
Once you upload the package, you can extract it through your cPanel -> File Manager. Using the same tool, please change the file permissions for the Magento files to 755.
 Step 3: Create a MySQL database and assign a user to it through cPanel -> MySQL Databases. Remember the database details, since you will need them during the script installation. 
ImportantThe MySQL database is created with your username as prefix - username_databasename, and this is the name you have to use for your application.
 Step 4: In our example we will install  Magento in the public_html/magento folder. Once the package is uploaded and extracted and you have a MySQL database, navigate to http://yourdomainname.com/magento:
Installation wizard
Click on the check box next to "I agree to the above terms and conditions" and click on the Continue button.
 Step 5: Choose the preferred Time Zone, Locale and Currency:
localization
Click on the Continue button.
 Step 6: Enter the database details: Database Name, User Name and User Password. You can leave the other options intact.
Click on the check box next to "Skip Base URL validation before next step".
Magento database details
Click on the Continue button.
 Step 7: At this point you should enter the personal information and the admin login details which you want to use. You can leave the Encryption Key field empty and the script will generate one for you.
admin details
Click on the Continue button.
 Step 8: Write down your encryption key; it will be used by Magento to encrypt passwords, credit cards and other confidential information.
completion
Well done! Your Magento installation was successfully completed. Now you can navigate to its Frontend or Backend.

Automatic Magento Installation via cPanel Site Software

Magento installation is easy and fast through the Softaculous autoinstaller tool in cPanel. If your web host doesn't offer such a tool, you may consider the SiteGround exclusive Magento hosting or proceed with the Magento manual installation.  
First go to cPanel find the Site Software icon.
cPAddons
Find Magento in the Ecommerce section and open it.
Magento cPAddon
Enter the admin user name and the corresponding password.
You can also define the folder for your Magento installation. Leaving it blank will install the script directly in the web root directory for your account.
Click on the Install button to complete the script installation.
At the end you will get a confirmation screen with the URLs of your installation's front and back ends, the Magento admin login details and the link to the SiteGround Magento tutorial. The Magento encryption key will also be visualised.
Magento install confirmation


Read More....

Installing WordPress

WordPress is well known for its ease of installation. Under most circumstances installing WordPress is a very simple process and takes less than five minutes to complete. Many web hosts now offer tools (e.g. Fantastico) to automatically install WordPress for you. However, if you wish to install WordPress yourself, the following guide will help. Now with Automatic Upgrade, upgrading is even easier.

The following installation guide will help you, whether you go for the Famous 5 Minute Installation, or require the more detailed installation guide.
Read More.........

Tuesday, October 30, 2012

Memcache API and Integration - Module

Integration between Drupal and Memcached with the following features:
  • An API for using Memcached and the PECL Memcache or Memcached libraries with Drupal.
  • Memcache backends for the following systems (all drop-in):
    • Caching (memcache.inc)
    • Sessions (memcache-session.inc)
    • Locking (memcache-lock.inc)
  • A module that provides a comprehensive administrative overview of Drupal's interaction with Memcached and stats.
  • A set of tests that can be run to test your memcache setup.
Read More....

Friday, October 26, 2012

Weight - Module

This module adds a weight option to enabled node types. Nodes with lower weight will float to the top of lists, while heavier items will sink. It uses the node table's 'sticky' column to store weights as well as sticky information (so that feature is not lost).
You might be interested in reading Comparison of Node Ordering Modules.
This is useful for sorting non-chronological nodes like bios, e-commerce products, or whatever you would like.
Nodes will be sorted first by stickiness, then by weight, then by creation date.

Read More...

Wednesday, October 24, 2012

Nodes In Block

Nodes in block makes it possible to add nodes into a block. A number of configurable blocks are generated which you can assign to a region. Visibility settings of this block are automatically set to 'Show on only the listed pages'. On the node content form, you define the weight and visibility per node thus making it easier for content administration as all your content is now in the same place. With this module, you don't have to explain your customers how blocks work but is still able to decide on which pages content must be rendered.
If you set the visibility setting for the block as "Show on every page except the listed pages", multiple paths will not work correct because of the way that Drupal core block visibility works. You'll be better off choosing the default option.

Read More....

Display Suite - Module

Display Suite allows you to take full control over how your content is displayed using a drag and drop interface. Arrange your nodes, views, comments, user data etc. the way you want without having to work your way through dozens of template files. A predefined list of layouts (D7 only) is available for even more drag and drop fun!
By defining custom view modes (build modes in D6), you can define how one piece of content should be displayed in different places such as teaser lists, search results, the full node, views etc.

Read More....

Views Display Tabs - Module

Views Display Tabs exposes the displays of a view as tabs, making it possible to switch displays for a view using AJAX (though it degrades gracefully). This opens up the possibility to make a view even more useful as all overridable settings for a view can be stored in a display. This means that sorting, among many other settings a display can have, can now be exposed to the user through multiple displays with different settings.
New: Module doesn't require an AJAX-enabled browser and will work even with JS turned off, with the added advantage that search engine spiders will index the displays exposed through this module.

Examples of use

Thanks to the configurability offered by a view's displays, Views Display Tabs opens up a lot of possibilities and can be used in many different ways. Here are some ideas:
  • A gallery page view that shows thumbnails or a simple list through separate displays using different style plugins.
  • A sortable page view that has two displays, one with ascending and the other with descending sort.
  • A page view that has one display showing just a few fields and another showing all fields, offering 'basic' and 'detailed' information.
  • A page view that has one display that just lists content and another that offers search through exposed filters.
  • A block view offering related information for a node through an argument handler, with a separate display for each content type.
Read More....

only show translated menu items into current language (Drupal 8)

function MY_THEME_preprocess_menu(&$variables) {   if ($variables['menu_name'] == 'brancott-header-menu') {    $langu...