Third Party Plugins to CMSimple - how to install, use and create plugins
Moderator: Tata
-
cmb
- Posts: 14225
- Joined: Tue Jun 21, 2011 11:04 am
- Location: Bingen, RLP, DE
-
Contact:
Post
by cmb » Sat Aug 09, 2014 5:07 pm
Hello Community,
I have just released
Ocal_XH 1.0alpha1.
Ocal_XH facilitates to present calendars on your website which display the occupancy of a certain location or other rental, so visitors can easily see whether the item is available on a certain date or interval. Each calendar is only meant for a single rental; however, you can display multiple calendars on a single page.
The plugin does neither provide any actual booking facilities (however, you may be able to combine it with a mail form like
Advancedform_XH), nor can it be used as an event calendar, such as
Calendar.
The plugin is meant as a remake of occcal by
CMSimple-Styles.com. Besides removing to Cs and appending an _XH the main difference is that it doesn't require JavaScript to
see the occupancy calendars. However, it still does require CSS--maybe somebody has a good idea on how to improve this.
Other than that this first alpha version only supports a subset of the features of occcal resp.
OccCalendar. What do you think is most missing?
Any feedback is welcome.
Enjoy,
Christoph
-
cmb
- Posts: 14225
- Joined: Tue Jun 21, 2011 11:04 am
- Location: Bingen, RLP, DE
-
Contact:
Post
by cmb » Thu Sep 11, 2014 8:01 pm
Hello Community,
I have just released
Ocal_XH 1.0beta1.
I have fixed a CSRF vulnerability, so updating is strongly recommended.
Furthermore the plugin now stores all its data in content/ocal/ and never in language specific subfolders, what was formerly the case for second languages of multilingual websites. You may have to move already existing *.dat files. In addition I have added a list view that can be switched to by visitors; this should solve the CSS issue mentioned above, and makes the occupancy information accessible.
Besides this I made several minor improvements. Thanks to rothom and Termin for their suggestions.
Enjoy,
Christoph
-
cmb
- Posts: 14225
- Joined: Tue Jun 21, 2011 11:04 am
- Location: Bingen, RLP, DE
-
Contact:
Post
by cmb » Mon Oct 13, 2014 11:39 pm
Hello Community,
I have just released
Ocal_XH 1.0beta2.
I have added an hourly occupancy mode (thanks to hixi for the suggestion).
Enjoy,
Christoph
PS: What do you think about this hourly mode's "pagination"? Do you think it is reasonable to use this for the daily mode, too?
-
cmb
- Posts: 14225
- Joined: Tue Jun 21, 2011 11:04 am
- Location: Bingen, RLP, DE
-
Contact:
Post
by cmb » Sun Jul 05, 2015 9:33 pm
Hi everybody!
I have just released
Ocal_XH 1.0beta3.
I've fixed some bugs and made a few improvements; for details see the
changelog. Thanks to Holger for the reported bugs and good suggestions!
Enjoy,
Christoph
-
oldnema
- Posts: 265
- Joined: Wed Jan 21, 2009 5:15 pm
- Location: Czech Republic
-
Contact:
Post
by oldnema » Wed Jul 13, 2016 8:32 pm
Hi Chris, I'd like to use your plugin Ocal
It may be modified to display the clock for example 10, 12, 14, 16 etc.
Thank you Josef
-
Tata
- Posts: 3587
- Joined: Tue May 20, 2008 5:34 am
- Location: Slovakia
-
Contact:
Post
by Tata » Thu Jul 14, 2016 8:37 am
Discussing the thing with Josef, it is that he would need to have a day in the calendar split in longer steps. E.g. 2 hours (now it is 1hour). This could be even included in the config as an option.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
-
cmb
- Posts: 14225
- Joined: Tue Jun 21, 2011 11:04 am
- Location: Bingen, RLP, DE
-
Contact:
Post
by cmb » Thu Jul 14, 2016 11:17 am
Hi!
Tata wrote:Discussing the thing with Josef, it is that he would need to have a day in the calendar split in longer steps. E.g. 2 hours (now it is 1hour).
Please try (in a test environment) whether changing a
single line might already be sufficient:
Code: Select all
for ($i = $pcf['hour_first']; $i <= $pcf['hour_last']; $i += 2) {
Tata wrote:This could be even included in the config as an option.
Yes,
good idea.
-
oldnema
- Posts: 265
- Joined: Wed Jan 21, 2009 5:15 pm
- Location: Czech Republic
-
Contact:
Post
by oldnema » Thu Jul 14, 2016 7:24 pm
Thank you Chris, but your solution works only at 50%. The administration mark all the items, but the frontend displays marked only the first three lines, see pictures.
BACKEND
[ external image ]
FRONTEND
[ external image ]
Sorry to bother you again.
Josef
-
Tata
- Posts: 3587
- Joined: Tue May 20, 2008 5:34 am
- Location: Slovakia
-
Contact:
Post
by Tata » Fri Jul 15, 2016 10:47 am
On my test site it shows first 4 lines.
[ external image ]
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
-
cmb
- Posts: 14225
- Joined: Tue Jun 21, 2011 11:04 am
- Location: Bingen, RLP, DE
-
Contact:
Post
by cmb » Fri Jul 15, 2016 12:42 pm
Okay, I'll have a look at that later today.