Results 1 to 10 of 365

Hybrid View

  1. #1
    Join Date
    Mar 2006
    Location
    USA
    Posts
    77
    Plugin Contributions
    0

    Default Re: Can't get "referrals " mod working

    Ok as far as I know it has nothing to do with SQL entries.

    It's mainly to do with incorrectly merging files and the placement of files.

    Make sure your "includes/templates/YOUR_TEMPLATE/modules" directory has the original file "create_account.php" from the actual mod. Just override what you have on your server. I know! I know!, it sounds crazy but it works!

    Also make sure "create_account.php" is also in your "includes/templates/template_default/modules" directory as well.

    now it should work with 1.3.9h.

  2. #2
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: Can't get "referrals " mod working

    Okay, so I'm back here again giving this another shot...

    Thanks for the follow up, just a couple of questions. I have my files set up this way:

    includes/modules/YOUR_TEMPLATE/create_acount.php
    includes/modules/create_account.php

    Do I need to rearrange my files to the placment direction that you gave:
    includes/templates/YOUR_TEMPLATE/modules/create_account.php
    includes/templates/template_default/modules/create_account.php

    Also you stated that to make sure that the "create_account.php" is also in the template_default, this would be the create_account.php file from the mod right? Not the original file?

    Thank you again.

  3. #3
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Can't get "referrals " mod working

    Simple answer.. You never ever replace what's in default_template with ANY modfied version of the same file. The default_template is ALWAYS and ONLY supposed to be the original Zen Cart file NEVER a modified version of the file.. Modified files must go into the proper override template folder. Here are some FAQs which might help you better understand the Zen Cart overrride system..

    Understanding the Override System
    Writing contributions -- often-overlooked override capabilities

    Quote Originally Posted by joyjoy View Post
    Okay, so I'm back here again giving this another shot...

    Thanks for the follow up, just a couple of questions. I have my files set up this way:

    includes/modules/YOUR_TEMPLATE/create_acount.php
    includes/modules/create_account.php

    Do I need to rearrange my files to the placment direction that you gave:
    includes/templates/YOUR_TEMPLATE/modules/create_account.php
    includes/templates/template_default/modules/create_account.php

    Also you stated that to make sure that the "create_account.php" is also in the template_default, this would be the create_account.php file from the mod right? Not the original file?

    Thank you again.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  4. #4
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: Can't get "referrals " mod working

    Hi Diva,

    Thanks for the input. I checked the admin/orders.php file and the change for "how did you hear..." is there. I also checked the super_orders.php file and it's there as well. The field "Referred By:" does show up in Super Orders but there is no entry. The field also shows up in the customers edit file with the same result.

    In admin my "Referral Sources" shows others with 145 entries, when I select it to view those entries...it's gone. I'm at my wits end, it should be simple...but I don't know what else to do.

  5. #5
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: Can't get "referrals " mod working

    Quote Originally Posted by DivaVocals View Post
    Simple answer.. You never ever replace what's in default_template with ANY modfied version of the same file. The default_template is ALWAYS and ONLY supposed to be the original Zen Cart file NEVER a modified version of the file.. Modified files must go into the proper override template folder. Here are some FAQs which might help you better understand the Zen Cart overrride system..

    Understanding the Override System
    Writing contributions -- often-overlooked override capabilities
    Thank you. I understand the overrides system, I was clarifying the instructions that were posted here earlier...because I was going to say that as far as I know, modified files should only be placed in an override folder. But I did try to stick my override create_account.php for this mod in the default folder just to see if my results would change...but it didn't.

    I have replaced the create_account.php default file in the default folder.

  6. #6
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Can't get "referrals " mod working

    Quote Originally Posted by joyjoy View Post
    Thank you. I understand the overrides system, I was clarifying the instructions that were posted here earlier...because I was going to say that as far as I know, modified files should only be placed in an override folder. But I did try to stick my override create_account.php for this mod in the default folder just to see if my results would change...but it didn't.

    I have replaced the create_account.php default file in the default folder.
    And you are absolutely right.. UNLESS the file is NOT a core Zen Cart file, you should never replace a core file in the default_template folder without using an override.. (even if a module's instructions or anyone else suggests otherwise..)
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  7. #7
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: Can't get "referrals " mod working

    Okay,cool. Thanks for clearing that up. It'll be one less mess that I can get myself into.

  8. #8
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: Can't get "referrals " mod working

    Anymore ideas anyone?

 

 

Similar Threads

  1. How Did You Hear About Us? mod
    By yeah! in forum All Other Contributions/Addons
    Replies: 15
    Last Post: 28 Dec 2011, 06:28 PM
  2. Database Errors - Duplicate Entries - How Did You Hear About Us Mod
    By limelites in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 7 Sep 2010, 08:59 PM
  3. How Did You Hear About Us Mod...2 Instances Possible??
    By jdw1979 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 26 Mar 2010, 02:14 PM
  4. How Did You Hear Did You About Us -- I want to install it correctly
    By johnd in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 3 Feb 2008, 03:21 AM
  5. Error in admin - PayPal - when using How Did You Hear About us mod
    By TrvlFox in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 23 Nov 2007, 03:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg