I've installed the 5.x dev twice and it does not seem to create a link homepage to display the affiliate links

CommentFileSizeAuthor
#3 affiliates.1-136419.patch499 bytesAnonymous (not verified)

Comments

michaeldhart’s picture

I know this is an aging issue, but In case there are others installing this module still and having the same issue, I found a solution. Open the affiliates.module file and after:

    $items[] = array(
      'path' => 'affiliates/admin/delete',
      'title' => t('delete affiliate ad'),
      'access' => user_access('administer affiliates'),
      'callback' => 'affiliates_affiliate',
      'type' => MENU_HIDE,
    );

(which is around lines 70-75)

insert:

    $items[] = array(
      'path' => 'affiliates',
      'title' => t('Affiliates Home'),
      'callback' => 'affiliates_list',
      'access' => user_access('access content'),
    );

Then I ran update.php, and all is well.

Anonymous’s picture

I can confirm that the adding the $items[] above followed by clearing your cache does resolve the problem.

Thanks, Paul

Anonymous’s picture

StatusFileSize
new499 bytes
Anonymous’s picture

Status: Active » Reviewed & tested by the community
Anonymous’s picture

Assigned: Unassigned »
Status: Reviewed & tested by the community » Fixed

Thanks for your help.

I'll get this omission committed later today

Anonymous’s picture

Status: Fixed » Closed (fixed)
mdowsett’s picture

will this work for the Drupal v6 version?

mdowsett’s picture

i tried it and it didn't seem to do anything.

I'm trying to figure out how this module works - I can't find any documentation