Akeeba Subscriptions Custom Field Value from Session

Moderators: TheHacker, cicans

woodytz
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Nov 07, 2012 9:42 am

Akeeba Subscriptions Custom Field Value from Session

Postby woodytz » Wed Jun 05, 2013 7:50 am

Hi all,

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),


but its not correct.
Am i doing the right thing? or Am i completely in the wrong place!

thanks

Woody.

woodytz
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Nov 07, 2012 9:42 am

Re: Akeeba Subscriptions Custom Field Value from Session

Postby woodytz » Sun Jun 16, 2013 8:22 am

I have found a way around this by basicalyl copying what happens to $affid in session, and using the "notes" field in akeeba to store my values instead of using custom fields.


Return to “Prevod i dokumentacija”

Who is online

Users browsing this forum: No registered users and 1 guest