Positioning of affiliate panel on account page

4 replies [Last post]
entrepreneur27
Offline
Joined: 09/09/2009
Status: 
Answered

 I have installed Affiliate suite and it works. Looking forward to testing the invite and ubercart integration when the new version hits the street.

But I notice that the affiliate panel appears at the top of the "My account" page. It is also rather large and thus totally dominates the page when you first look at it.

I would prefer to have it appear lower down below some of the other material on the page. Is there a way to adjust where it appears on the "my account" page?

Seems like there might be a weight setting I am missing. Actually this is a problem with several modules that display stuff on my "my account" page. Perhaps there is a module that reorganizes that page but I have been unable to track one down.

Any ideas?

Leighton Whiting
Offline
Joined: 06/02/2009
The new 2.4 release is now

The new 2.4 release is now out, so go give it a try and see if it meets your needs.

As for the order of things on the account page, there is a module which can reorder things: http://drupal.org/project/myaccount_alter

The 6.x is in dev release, but from what I understand it works. Short of that, you could use hook_form_alter() to change the order of the item with a custom module. I always make a custom module for all of my sites for things like this, to change the order of things on forms, or wording, etc.

Sincerely,
Leighton Whiting

entrepreneur27
Offline
Joined: 09/09/2009
Custom module

I played around with the my account alter module and it does more or less what I want. However it conflicts with several other modules I am using (location and private message for example) and is not supported.

On the project page they suggest making a custom module and refer you to this tutorial. http://drupal.org/node/562744

When I follow these instructions and make a custom module it shows up in my list of modules together with a warning that: ""This version is incompatible with the 6.15 version of Drupal core."

I also notice the tutorial uses PHP5.1 rather than 5.2 although not sure that matters.

So, my questions are:

1. Any ideas what I did wrong or how the tutorial may be out of date?

2. Do you have a similar custom module that works that I could copy/modify? Or do I need some consulting?

aidan
Offline
Joined: 10/28/2009
Can you post your module's

Can you post your module's .info file?

Leighton Whiting
Offline
Joined: 06/02/2009
The custom tutorial would

The custom tutorial would likely be what you need. Watch out because some of the code they give has spaces in it. That might be causing a problem. The PHP version shouldn't really matter, since this is the Drupal API that is being used.

If you could post your .module code and .info code, then we can help debug it.

Sincerely,
Leighton Whiting

Twitter Feed