Pages

Wednesday, August 21, 2013

Moving files from local server to production server in magento

  1. Change the values in core_config_data table from http://localhost/project_name/ to http://project_name/ for both web/unsecure/base_url and web/secure/base_url
  2. Update the /app/etc/local.xml file as below:


<host><!--[CDATA[localhost]]--></host>
<username><!--[CDATA[{your_db_username}]]--></username>
<password><!--[CDATA[{your_db_password}]]--></password>
<dbname><!--[CDATA[{your_db_name}]]--></dbname>

// {write these values without quotes}



Monday, August 5, 2013

How to make a custom email template from the webform form component fields in drupal 7

Example: In the email settings in webform, in the email template enter the below code.

Dear %value[first_name],  // where first_name is the field key of the component

Thank you for subscribing our newsletter. Your email address has been added to our mailing list.

The details of your submissions are:
%email_values