Add Events Booking button to Front End Editor

  • David Unwin
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
5 years 11 months ago #113616 by David Unwin
If you are editing an article or adding a post using Easyblog you can insert events using the editor plugins (see screen shots)
However, the Button only works in Backend editing, not the Frontend (see screen shots)
if you use the editor in the front end you have to do this manually by entering the syntax like {ebevent 1}, {ebevent 2}

Can we have the button work in the front end as well as the back end?

The EDOCMAN product has a similar facility and it works in both Frontend and Backend.
Attachments:

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #155159 by Trevor Smith
Replied by Trevor Smith on topic Add Events Booking button to Front End Editor
Hi

Was this issue/suggestion resolved? I would also like to see this button on the front-end.

regards
Trevor

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #155161 by Trevor Smith
Replied by Trevor Smith on topic Add Events Booking button to Front End Editor
I have just tried editing /plugins/editors-xtd/ebevent.php by adding comments to these lines:

    public function onDisplay($name)
    {
        //if ($this->app->isClient('site'))
        //{
        //    return;
        //}

        $user = Factory::getUser();

The button is then displayed but I can't get it to insert the code!

Trevor

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #155168 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Add Events Booking button to Front End Editor
That's not possible right now because we do not have feature to display events in modal in the frontend yet. Something we will try to support for in the future

Regards,

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc