To update the code to Drupal 5.0 Beta 1, you must change the module_exist call on line 132 to module_exists, with an 's'.

// Change the following:
if(!module_exist('profile')) { 

// To:
if(!module_exists('profile')) {

Comments

stevenpatz’s picture

Status: Reviewed & tested by the community » Active

There is no patch.

robloach’s picture

After making the change from module_exist to module_exists, the user role tracking feature still doesn't work. You set it to track the anonymous role, press save, but it doesn't save the user role settings....

harry slaughter’s picture

Assigned: Unassigned » harry slaughter

they've gotten rid of hook_settings() so the old way of saving admin settings won't work.

i'll have a patch shortly, you guys can help me test it :)

harry slaughter’s picture

Status: Active » Needs review
StatusFileSize
new3.79 KB

be sure to update to latest cvs before applying this patch

harry slaughter’s picture

StatusFileSize
new3.96 KB

oops! missed something.

use this patch instead

Tobias Maier’s picture

minor thing:
remove ?>
per drupal coding standards: http://drupal.org/node/545

moshe weitzman’s picture

javascript can now have own settings storage within drupal framework. at some point, we should do an even more thorough port of this module. see http://drupal.org/node/64279#drupal_call_js

budda’s picture

Status: Needs review » Fixed

Applied changes and also updated the .install to generate the correct variable names for tracking upon module installation.

Committed to CVS HEAD.

budda’s picture

@moshe
What do you want me to do with that JS function? From it's description I'm not clear what use it is in the context of the current G Analytics code.

moshe weitzman’s picture

i'm not sure either. when i first looked at drupal_add_js, i thought we could use it but we use hopok_footer so the inline feature won't help.

thanks for the patch and the quick apply.

Anonymous’s picture

Status: Fixed » Closed (fixed)