Skip to main content

Primary links

  • Home
  • AI
  • Kubernetes
  • Incus
  • Ansible
  • Terraform
  • OpenStack
  • Virtualization
  • Linux
  • SmartHome
  • HowTo

Misc

  • Linux
  • Hardware
  • Programming
    • Graphic
    • HTML / PHP / CMS
    • Java
    • PL / SQL
    • Magento
    • python
    • Asterisk
    • C / C++
    • JavaScript
    • Json
    • Magento
      • Cache
      • Configuration
        • Address fix
        • Breadcrumb
        • CMS extension
        • Category banner
        • Category mouse over
        • Currency exchange
        • Customer salutation
        • Customi Shop by
        • Delete order
        • Featured items
        • Fix PayPal bug
        • Footer
        • German tax
        • Google +1 Button
        • GoogleAnalytics fix
        • Image Sitemap
        • Language
        • Lightbox
        • Magento Cron
        • Magento SQLs
        • Magento
        • Magento product back button
        • Market Ready Germany
        • Move Cart to Header
        • Multistore 404 Fix
        • Newsletter import
        • NoRegion
        • PayPal
        • Price on request
        • Redirect language
        • Reflection
        • Remove Add to compare
        • Search by Category
        • Session timeout
        • Set featured products
        • Shadowbox
        • Terms and Conditions
        • Theme
        • Top category offer
        • Update core config data
        • Update footer year
        • Update free shipping
        • Upload field
        • VertNav
        • formal customer name
        • local.xml
        • magento_easy_flags
        • proceed to checkout button
        • recently viewed
        • wishlist
      • Database select
      • Delete unused product images
      • Erase credit card
      • Installation
      • Java Connector
      • Magento code snippet
      • mkMagentoDump.sh
      • snippets
    • OpenOffice / LibreOffice
    • Perl
    • Postfix
    • Regular Expression
    • TLA
    • Tomcat
    • Zenity
    • bash
    • find
    • git
    • ofbiz
    • wildfly
    • xml
  • Databases
  • Multimedia
  • Windows

Cloud

  • OpenStack
  • cloud-config
  • nextcloud

Virtualization

  • Virtualization
  • Incus
  • Docker
  • KVM
  • Kubernetes
  • LXC
  • LXD
  • QEMU
  • VMware
  • VirtualBox
  • multipass
  • podman
  • vagrant
  • XEN

Network

  • DNS
  • Firewall
  • Linux
  • OpenvSwitch
  • SSL
  • VLAN
  • VPN
  • iPXE
  • namespaces
  • nmcli
  • tcpdump

Storage

  • CEPH
  • DRBD
  • LVM
  • S3
  • ZFS
  • btrfs

Automation / CI/CD

  • Install
  • Ansible
  • GitLab
  • LLM
  • Preseed
  • Puppet
  • Terraform
  • Ubuntu autoinstall

Monitoring / Visualisation

  • Grafana
  • Icinga
  • Prometheus
  • Monitoring
  • ELK
  • mermaid
  • magento

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

echo "$URL";
echo "<div><pre>";
</pre></div>

$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);

echo htmlspecialchars(curl_exec($c));

curl_close($c);

echo "";

?>

wget http://www.panticz.de/sites/default/files/magento/GoogleAnalytics/Ga.php.diff -O /tmp/Ga.php.diff

patch -p2 ./app/code/core/Mage/GoogleAnalytics/Block/Ga.php < /tmp/Ga.php.diff

#

# TEST

#

# get source code

cd /tmp/
svn checkout http://svn.magentocommerce.com/source/branches/1.4-trunk

# trunk

cd /tmp/1.4-trunk/

# pack
tar cjf GoogleAnalytics.tar.bz2 app/code/core/Mage/GoogleAnalytics/ app/design/frontend/base/default/layout/googleanalytics.xml app/locale/en_US/Mage_GoogleAnalytics.csv --exclude=.svn
# transfer archive to your magento machine
scp /tmp/1.4-trunk/GoogleAnalytics.tar.bz2 root@YOUR_MAGENTO_IP:/tmp
# extract

diff app/code/core/Mage/GoogleAnalytics/ /var/www/app/code/core/Mage/GoogleAnalytics/ -r

# Links

http://www.magentocommerce.com/boards/viewthread/23325/P45/
http://www.magentocommerce.com/boards/viewthread/77774/#t215469

Profiles GitHub StackOverflow LinkedIn Xing
Contact Imprint
© panticz 2026

Cookie-Einstellungen

Diese Website nutzt eingebettete Inhalte von Drittanbietern (z.B. YouTube, SoundCloud). Beim Laden dieser Inhalte werden Daten an die jeweiligen Anbieter übermittelt. Datenverarbeitungserklärung