I've set a session variable "reseller=fred" and created an akeeba subscriptions custom field "reseller". When i visit the subscribe form i would like the custom field already set with the value from the session variable. I think it should be set in models/subscribes.php
I have:
Code: Select all
$reseller=$session->get('reseller');
line 80
Code: Select all
'custom' => array("reseller" => $reseller),
Am i doing the right thing? or Am i completely in the wrong place!
thanks
Woody.