First, I like the look of this component, it is definitely what I am looking for, for the purpose I need. But I have some questions to make it work the way I want:
When you add an event from the front-end, it automatically seems to name the event “text-0”. Is there anyway for me to be able to change that when creating the event, particularly if I can use a “custom text field” to name the event, that would be great!
I mostly want the Timeline view. Is there a way for me to link straight to that, or only have that? I’d settle for a direct link.
I shall try. From the front-end I double click on the scheduler to create a new event. I have 2 custom field, one is a dropdown “Company” and the other is a text field “Handle.” I fill in the info for a repeating event, but then the description says “text_0” as I will show in this screenshot:
What I want to do, is instead of the “text_0” I would like it to display the text from the “Handle” field, if this is possible. Or at the very least, be able to set it to something different.
Yes I have timeline enabled. But your Joomla plugin does not give the option to link directly to that tab. However, now I realize I can do this myself, so nevermind on this one.
Hi,
unfortunately there is no way to show real option name. But you may write in template something like this:
scheduler.templates.event_text = function(start,end,ev){
var result = "";
if (ev.text == "text0")
result = "Text 0 is here";
if (ev.text == "text1")
result = "Text 1 is here";
if (ev.text == "text2")
result = "Text 2 is here";
return result;
};
So using that code, is there any way for me to have it select the “handle” name? Or at least some way to set the text_0, text 1 etc text. Otherwise I cannot manually change it, and that doesn’t make sense to me.
Why you can’t do it for now?
So you’ve changed type of text custom field to “select” and add several options. Now you want to set text_0 when event is created, isn’t it?
Unfortunately I can’t access scheduler because I don’t have permissions. Please, provide me login/pass to access scheduler (I should be able to add/edit events). You may send me details in a private message.
I am using your Scheduler for Joomla, so I assumed I wanted componets/com_scheduler/scheduler_include.html
I added that code, not sure what it was supposed to do? It still does not add text based on what I type in as “Handle”
I PMed you access, sorry I forgot I had it private while working on it.
About event creating - I’m still not sure if we understand each other.
So you want to set some default text for event when user create it (by double-click on scheduler area for example), isn’t it?
If so then you should modify your code like here: