As part of the eLangdell download verify project I needed to get the the book title and pass it to the embedded form that’s being generated by JavaScript on the book page. I did this using drupal_get_title()
to set a variable in PHP and then padding that to js as part of the Drupal settings array. Getting here took a bit of trial and error, but this approach works well.
Updates from July, 2016 Toggle Comment Threads | Keyboard Shortcuts
-
Elmer Masters
-
Elmer Masters
Change coming to eLangdell Bookstore: requiring name, email, law school to download. We’re trying to get a handle on who is using the books and what schools they’re from.
-
Elmer Masters
Helping Dan bang out the kinks in deploying SSL for the main website. Reminding me that our site is a bit on the complex side.
-
Elmer Masters
Geolocation is up and running for Piwik, now we can see where folks are coming from.
-
Elmer Masters
Working on Piwik. Put goals in place to track eLangdell downloads. Next up is geolocation to get a better sense of where traffic is coming from.
-
Elmer Masters
On tap for tomorrow: new code for LTL, perma.cc fun on Clascaster, and verified downloads for eLangdell Bookstore.
-
Elmer Masters
Closing issues on Github makes me feel good. 🙂
-
Elmer Masters
Added some URL aliases to catch old inbound links that still get traffic.
-
Elmer Masters
Patched Piwik Reports modules as suggested here https://www.drupal.org/node/2085513 so we can see complete reports.
-
Elmer Masters
Sometimes you just need a little hack. More importantly, what if you fix a problem in a Drupal module but the developer has been MIA for a couple of years?