Last time i try to modify add new event form as my design. Label show undefined. But why … any one help me …
Hello,
Please check Details form page in our documentation:
So you need to add
scheduler.locale.section_your-section-name = “Text to display”;
Best regards,
Ilya
hello,
I do as Ilya suggestion, but my problem still now, here my code block :
function init() {
scheduler.config.lightbox.sections=[
{name:"description", height:130, map_to:"text", type:"textarea" , focus:true},
{name:"test", height:100, map_to:"text_input", type:"textarea" },
{name:"time", height:72, type:"time", map_to:"auto"}
]
scheduler.locale.section_test = "Test Name";
scheduler.config.show_loading=true;
scheduler.config.xml_date="%Y-%m-%d %H:%i";
scheduler.init('scheduler_here',null,"month");
scheduler.load("<?php echo base_url()?>appoinment_lib/apnmnt.php?uid="+scheduler.uid());
Please help me…
Hello,
Thank you for your question. There was a mistake in documentation, updated it.
Correct code:
scheduler.locale.labels.section_test = "Test name";
Kind regards,
Ilya