Zen Follower
- Join Date:
- Oct 2007
- Posts:
- 241
- Plugin Contributions:
- 0
Referrals Mod (HowDidUHearAboutUs) Alterations
Finally...I managed to get the module working with my ZC 1.3.8A set-up!!!! :smile::smile::smile::smile:
It seems to work 100%
But now, I'm wondering....
I would like to change the way user entered data is dealt with.
Instead of having a pulldown option of OTHER which then allows entry of text at the blank......
I would actually rather have pulldown with various options, as well as a blank.
The data entered in the blank could be displayed on the customer admin page, while the canned pulldown option would go to the Extras-->Referral Sources list.
I'm going to start looking at the files, to see what I can figure out.
I expect that I will be able to isolate the code...
To start..in referral_functions.php...
Line 60:
if ($show_other == 'true') {
$sources_array[] = array('id' => '9999', 'text' => PULL_DOWN_OTHER);
}
I'm sure that this can be removed, as I never want an 'other option' for this menu--ever.
Off to find more relevant code in the other module files!! This seems complex, but even if I can't do this, I want to at least learn as much as I can about how this COULD be done!
~Donn