Modifying redirect.html for different method of redirecting

Discussion in 'Customization & add-ons' started by scottycam, Feb 25, 2010.

  1. scottycam

    scottycam New Member

    Joined:
    Feb 15, 2010
    Messages:
    2
    I am using Joomla and Amember which I have integrated successfully and all is well.

    However I decided to have the pages of amember (member.php, signup.php, etc) to be displayed in a "wrapper" through joomla, so when i refer to amember pages they are shown in a frame. This works well, however on page redirects for things like payments (to paypal) it still displays those pages in the wrapper/frame, so when someone chooses a new payment method or upgrade through members page the paypal page loads in the wrapper/frame.

    I would like to have it set so that whenever amember uses the redirect page (redirect.html) it overwrites the wrapper/frame and loads only the page that it is redirecting too. For most links I would simply add target="_top" however currently redirect.html uses;

    <meta http-equiv="Refresh" CONTENT="1; URL={$url|escape}">

    And from my understanding you can not overwrite a wrapper/frame using this type of redirect.

    Is there anything special about using this type of redirect that is needed for the amember redirects to function properly? or can I use another redirect that will overwrite the frame, if so what redirects do you recommend.

Share This Page