configuration

Magento: formal customer name

<?php
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/formal/Customer.php.formal.diff";
echo "$URL";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

<?php
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/formal/Hello.php.formal.diff";
echo "$URL";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

<?php
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/formal/Order.php.diff";
echo "$URL";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

<?php
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/formal/hello.phtml.formal.diff";
echo "$URL";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

<?php
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/formal/order_new.html";
echo "$URL";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

ToDo
file: formal.sql.txt ?
fix other "Hallo"s / "Hello"s
cd ./app
grep "getCustomerName()" * -R | grep Hallo

Links
http://www.magentocommerce.com/boards/v../viewthread/37850/P0/

Google Analytics

# Google Analytics
http://drupal.org/project/google_analytics

download
http://ftp.drupal.org/files/projects/google_analytics-6.x-2.2.tar.gz
extract
copy to /sites/all/modules/

# enable module
Administer > Site building > Modules
/admin/build/modules
check: Google Analytics

# add tracking for anonymous user only
Administer > Site configuration > Google Analytics
/admin/settings/googleanalytics

General settings
Google Analytics account number: add UA-XXX nubmer

Role specific tracking settings > Add tracking for specific roles
check: anonymous user

URL rewrite (Clean URLs)

# enable path module (Allows users to rename URLs)
Administer > Site building > Modules
/admin/build/modules
check "Path"

# This option makes Drupal emit "clean" URLs (i.e. without ?q= in the URL).
Home > Administer > Site configuration > Clean URLs
admin/settings/clean-urls
Clean URLs: Enabled

NoRegion

http://www.magentocommerce.com/extension/1826/mxperts--noregion
/var/www/pear install magento-community/Mxperts_NoRegion

Disable telephone as required in customer/address
<?php
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/customer_address/edit.phtml.diff";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

Links
http://www.magentocommerce.com/boards/viewthread/9081/P45/