Skip to forum content
LuxCal Web Calendar
The place for news, questions and suggestions
You are not logged in. Please login or register.
Active topics Unanswered topics
Search options
The help (?) in Edit Event reads:
The following items can be used in the description fields ...
• HTML tags <b>, <i>, <u> and <s> for bold, italic, underlined and striked-through text.
• Mailto-links in the following format: 'email address' or 'email address [name]', where 'name' will be the title of the hyperlink. E.g. xxx@yyyy.zzz [For info click here].
• URL links in the following format: 'url' or 'url [name]', where 'name' will be the title of the link. E.g. https://www.google.com [search].
There is no mention of </b> that is also valid and useful in an imported CSV file.
It would be great to allow the use of other formatting tags too
Roel wrote:Hi Lesm,
Edit the file 'index.php' in the calendar root and change line 243 from . . .
if (empty($_SESSION[$calID]['cD'])) { $_SESSION[$calID]['cD'] = $today; } //empty: today
to . . .
if (empty($_SESSION[$calID]['cD'])) { $_SESSION[$calID]['cD'] = '1842-06-15'; }
. . . to go to June 15, 1842 for example.
Note: If on the admin's Settings page, in the section User Accounts, "Restore last user selections has been checked, the The "next" default page will be the last selected page.
This is the "fixed" solution. Do you want the option to set the date on the admin's Settings page?
If so, I will do it for you, because explaining what to do is as much work as doing it
Roel
At index.php I also replaced:
by:
$today = date('1842-06-15');
Yet I'm not sure if this affects other parts of the code.
Almost all calendar programs features moon phases. Maybe not an important addition but useful.
Great Roel!
It works just fine. Really it is okay for me but if you wish send the code for the admin's Settings page mod you are welcome.
Thanks a lot.
lesm
Hi Roel,
Thanks for the tip. I'll be glad to make the necessary mods to change the default date only within the span, hence the code change to set the default date to a fixed date is enough.
Appreciated.
lesm
Hi,
Have just installed LuxCal Web Calendar and so far it's working as expected. Thanks!
However, my requirements are just a little bit different and maybe require some mods, no problem if I need to change some PHP code.
At first glance LuxCal seems to default to the current day, but for a history site I need to default the Calendar to June 15, 1842 within a span of 7 years, that is 1839 to 1845. Is that possible?
Thanks.
Posts found: 6