- Posts: 56
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
add:protected $eventId = null;
protected $user = null;
public function __construct($row, $value = null)
{
$this->name = $row->name;
$this->title = $row->title;
$this->description = $row->description;
$this->row = $row;
$this->value = $value;
last but not least, after this line in administrator/components/com_eventbooking/libraries/rad/form/field/sql.php :$this->user = Factory::getUser()->id;
$this->query = str_replace('[EVENT_ID]', (int) $this->eventId, $this->query);
$this->query = str_replace('[USER_ID]', (int) $this->user, $this->query);
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.