Posted on: 11/04/03 05:40pm
By: soydog
Currently, in the Events block, when it displays an upcoming event, it shows:
Site Events
Tuesday 11-Nov
Event description...
Where do I go so I can change "Site Events" to say something else, like "Upcoming Events"? Or even remove that line altogether?
I've looked in the language files, calendar files and all the obvious places but can't figure this one out. Thanks for your help!
Re:Changing "Site Events" in Events block
Posted on: 11/04/03 05:48pm
By: geKow
language / english.php (145): 102 => 'Site Events'
Is that what you mean?
Re:Changing "Site Events" in Events block
Posted on: 11/04/03 05:55pm
By: soydog
Wow. Thanks so much for the super quick response.
Yes. That was it. I did search for "site events" in my text editor and for some reason it wouldn't find it...
Re:Changing "Site Events" in Events block
Posted on: 11/04/03 05:58pm
By: soydog
So that answers my question about how to change what it says for that line. Now I'm curious as how to get rid of that line altogether.
It's probably in the plugin's function.inc file, right? I assume I'd probably have to look for something like LANG(102) and also the hardcoded html to remove...
Re:Changing "Site Events" in Events block
Posted on: 11/04/03 06:08pm
By: cyber_777
I also would like to ask help if there's anybody could fix the problem that I've found in the calendar system. The problem is that it allows posting event even if the end date is older than the start date. This is a logical problem. I think there is no such event that the start date is more current than the end date but what if the user commits error in posting event. Example: Start Date: November 5, 2003, End Date: October 30, 2003. It did not say an error or prevent the system to post it to the calendar. An ordinary logged-in user can't also edit his/her event post. Please help us to fix this problem.
Re:Changing "Site Events" in Events block
Posted on: 11/07/03 02:16pm
By: cyber_777
my problem was solved... i just put this code before saving the event at submit.php ...
//make sure the end date is before start date
if ($A['dateend']
return COM_errorLog("End date is before start date!");
}
Changing "Site Events" in Events block
Posted on: 02/26/04 05:36pm
By: Stubdoo
Does it matter where the code is placed, i.e. top, middle bottom or within specific part of the code