Jump to content

[SOLVED] Customer Referral Program Error


Recommended Posts

hi,
I wanted to use the customer referral program, but i discovered an error. When I enter my account and select "referral program" from the "my account" menu it takes me to the info screen, thats fine.
However from this page if i select my Home button from my top menu ( i guess breadcrumb) the website tries to go to:

"/modules/referralprogram/index.php"

resulting in an error:

The requested URL /modules/referralprogram/index.php was not found on this server.

because there is no index.php file.

Does anyone have a suggestion of how to correct this?

Link to comment
Share on other sites

I can't reproduce this problem. I just tried going to the referral program and clicking the "Home" button in the breadcrumb bar and it worked fine. Perhaps you are using a third-party menu module that hard-codes the links. In that case, you should configure the module to use an absolute link like http://www.yoursite.com/index.php instead of a relative one like index.php.

Link to comment
Share on other sites

Thanks for the Reply Rocky,
I see you all over the forums, always great help.

I am not using a 3rd party menu module, however I am using a theme. I am not sure if the menu is also a modification in the theme. The theme is mobile shop...here is a link to the site in question (if it might help). www.digitalvaper.com
I believe the problem resides in the theme somewhere because the button works perfectly in any other location. If the module normally functions I don't suppose the problem is there.

Do you have a suggestion of where to look? I tried looking through the breadcrumb.tpl, but i am not sure the best way to modify it for proper results.

<!-- Breadcrumb -->
{if isset($smarty.capture.path)}{assign var='path' value=$smarty.capture.path}{/if}

   {include file=$tpl_dir./binding_top.tpl} 
{l s='Home'}{if $path}{$navigationPipe|escape:html:'UTF-8'}{if !$path|strpos:'span'}{$path}{else}{$path}{/if}{/if}
   {include file=$tpl_dir./binding_bottom.tpl} 

<!-- /Breadcrumb -->



I suspect that the 5-7th line of code would be the area i need to modify, but i'm not sure what to modify. i.e. just change "{l s='return to'} {l s='Home'}" to the web address? or does it have to do with "navigation pipe or page?"

Any direction would be appreciated

Link to comment
Share on other sites

  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...