Sonntag, 12. Dezember 2010

Google Conversion Code in Drupal

To include Google Conversion Code in your custom Drupal module
"mymodule", the easiest thing might be to edit the function
mymodule_footer such that it returns the Google code. I wanted this
only on the module form page itself, so I added a switch for the right
"q". Take a look at this
function mymodule_footer() {

if ($_GET['q']=="mymodule")
{
return 'YOUR CODE HERE';
}
return '';
}

User Status

Du bist nicht angemeldet.

Aktuelle Beiträge

iPhone to linux
gphoto2 --port=usb -R -P copies all images from an...
danielgruen - 2. Feb, 19:46
Alternative
This screws up the bounding box of non-square plots....
danielgruen - 30. Dez, 23:22
MNRAS submission problems...
Matplotlib ps files like to contain Type 3 fonts, which...
danielgruen - 13. Apr, 19:45
PPPOE connection problems
I was facing connection problems after some technical...
danielgruen - 29. Jun, 01:51
Sort products randomly...
http://www.magentocommerce .com/boards/v/viewthread/2 32826/#t331309 nicely...
danielgruen - 1. Feb, 17:29

Links

Suche

 

Status

Online seit 5929 Tagen
Zuletzt aktualisiert: 2. Feb, 19:46

Credits


Multimedia
Profil
Abmelden
Weblog abonnieren