Thank you. The Subscription Complete URL works well and I have looked at the components/com_osmembership/view/complete/default.php. It would seem to me that by doing an override on that file - as the file does a great deal more than handling a redirect - if you were to change the file in an update I would not pick up your changes as they would not go into the override file. I am looking at other possibilities.
All I really need is the subscription_id. With sql I can get any further information from within the form. I think that if I can insert this code
Code:
session_start(); //from membershipPro
Code:
$_SESSION['subscription_id'] =
$this->rowSubscriber->id
Code:
;
I do know I can retrieve the subscription_id in the form program using :
Code:
session_start(); //to the receiving page
Code:
$subscription_id = $_SESSION['subscription_id'];
To put the 2 lines from the sender into an override I think I read that I would duplicate
components/com_osmembership/view/complete/tmpl/default.php , insert
Code:
$_SESSION['subscription_id'] =
$this->rowSubscriber->id
Code:
;
into it and save as
templates/template_name/html/com_osmembership/common folder/default.php - but called what? How do we connect the override file to the original file. (I got the templates/template_name/html/com_osmembership/common folder from another forum post
I don't think that is correct. How do I achieve an override on a file? I am reading 'Override method in a view class' but that doesn't seem to be the right thing and is quite different than what I am reading in various forum post. Please clarify for me.