Topic: Calendar plugin add hyperlink to event

plegault pro asked 3 years ago


Is it possible to add a hyperlink to and event?


Krzysztof Wilk staff answered 3 years ago


Hi!

You can't add something like the <a> tag to the event's title, but you can specify where should it redirect after clicking it. Use the eventClick property for this purpose.

I made a snippet for you, so you can check how it works :) You can find it here: https://mdbootstrap.com/snippets/jquery/krzysztof-wilk/2857226#js-tab-view

Best regards


plegault pro commented 3 years ago

Seems that I missing something: Uncaught SyntaxError: Unexpected identifier on eventClick: function(calEvent, jsEvent, view)


Krzysztof Wilk staff commented 3 years ago

Hi!

Could you share your code with me using our online editor? As you can see - there is no such error in my example, so without code, it's hard to say anything :)

Best regards


plegault pro commented 3 years ago

Well I must have had an old version installed


plegault pro commented 3 years ago

Can I get it to open in a new page?


Krzysztof Wilk staff commented 3 years ago

Hi!

You can copy the code from the snippet to your MDB package to see it on the full page.

Best regards


plegault pro commented 3 years ago

couple of issues I have is that I have incidents possibly every 5 minutes. It looks ok on the list view and calendar view. The day and week view everything goes top left.

Calendar view does not show data from today.

Is it possible to make the list view with columns representing the 7 days?

Thanks for your help


Krzysztof Wilk staff commented 3 years ago

Hi!

I'm afraid this is not achievable.

Best regards



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.19.1
  • Device: Server
  • Browser: chrome
  • OS: windows 2019
  • Provided sample code: No
  • Provided link: No