Custom Lightbox

Hey Guys,

How can i change the labels of the header and of the sections in the lightbox, and how can i add an image button to redirect to another page (carrying parameters when redirecting ofcourse).

I want to create a custom lightbox that doesn’t show time in the header, contains 2 sections titled “Event Title” and “Details” that show the event’s text and details … in addition to an image button that looks like the editing buttons (save, cancel, delete) but labeled “More Details” placed near the delete button.

Thanks.

Hey Guys … a little help here please.

Some guidance would be appreciated :wink:

Thanks

How can i change the labels of the header
Header can be changed through templates ( event_header, event_bar_text )
docs.dhtmlx.com/doku.php?id=dhtm … _templates

Section labels are part of locale
docs.dhtmlx.com/doku.php?id=dhtm … tom_locale
You can redefine necessary elements of locale, without creating fully new locale file.

scheduler.locale.section_time = "some"

to an image button that looks like the editing buttons
You can’t add custom button the lightbox, but can add it to some section in the lightbox
docs.dhtmlx.com/doku.php?id=dhtm … ion_header

The code you gave me:

scheduler.locale.section_time = "some"

doesn’t seem to give the required effect.

The section’s title is showing “undefined”!!!

Is there any other thing i should try to do to add custom section titles in the lightbox?

And please, can you help with some more details about addingthe button in the lightbox?Especially about adding image buttons to the section of the lightbox.

Thanks.

In case of custom section, its title will be

scheduler.locale.section_{section name} = "some"

Especially about adding image buttons to the section of the lightbox.
docs.dhtmlx.com/doku.php?id=dhtm … ion_header

a) add button property in configuration
b) define label and onclick handler

  • name of locale scheduler.locale.labels.button_{button name}
    c) define css class, which will have bacgkround image
  • name of css class .dhx_custom_button_{button name}

Which of above steps needs some more explanation ?