Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 07:10:20 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155479 Posts in 21708 Topics by 7734 Members
Latest Member: rofroodoOvego
* Home Help Search Login Register
Pages: 1 2 3 [4]   Go Down
Print
Author Topic: changes in calendar modul ( -> MyCalendar)  (Read 11231 times)
D72

Offline Offline

Posts: 253


« Reply #75 on: September 16, 2010, 09:32:54 PM »

I installed a fresh WB, created a page called 'Schedule' and picked the MyCalendar as default setting.
I've noticed two problems in my case.
I use Firefox as default browser. I cannot use MyCalendar with the TinyMCE editor and not with CK editor.
The fields, input and calendar just won't show up. So it forces me to use the Fck Editor unfortunately.
That was the first thing, now the mayor problem for me.
When i add an event and go to the frontend of the website and want to click on the event, it should bring me to:
Code:
http://www.mysite.com/site/pages/schedule.php?date=2010-09-19
But it's not. All links of the mycalendar module on the website is taking me to:
Code:
http://www.mysite.com/site/?date=2010-09-19
As you see it is completely ignoring the subfolder /pages/ and the static page schedule.php in it's url.
Is there anyone who is familiar with this problem? I've tried to find a similar problem on the forum, but no luck.
Logged
D72

Offline Offline

Posts: 253


« Reply #76 on: September 17, 2010, 01:36:52 PM »

Ok, now it's even more strange.
I did a fresh re-install of wb in a subdomain.
Code:
http://www.site.website.com/
I installed mycalendar, added a new event and i went to the frontend to see is listed on the website.
This is the page of mycalendar:
Code:
http://www.site.website.com/schedule.php
When i click on the event on the website, it should bring me to:
Code:
http://www.site.website.com/schedule.php?Veranstaltung=Olsterfeest%20-%20Olst&month=9&year=2010&day=19&show=0&id=2&section_id=6&detail=1
But right now it takes me to:
Code:
http://www.website.com/site/?Veranstaltung=Olsterfeest%20-%20Olst&month=9&year=2010&day=19&show=0&id=2&section_id=6&detail=1
At this point it is totally avoiding the real subdomain and the page schedule.php
Why is this happening? Isn't there anybody who got an idea why this is happening?
Am i able to change some core files so he always grab the right path? I did had a look in the core files of mycalendar, but i do not know where i should start.

This problem is also happening when i install Concert Calendar
Logged
D72

Offline Offline

Posts: 253


« Reply #77 on: September 17, 2010, 02:35:28 PM »

Right...
I've managed to change some code lines in functions.php of the mycalendar module.
I had to change them into absolute urls otherwise it won't work in my case.
It's a dirty trick and have no idea if this has consequences in the backend. Till this far it's going ok.
Below an example of a line that is changed:
Code:
<a href="?page_id=<?php echo $page_id?>&amp;month=<?php echo $prevmonth?>&amp;year=<?php echo $prevyear?>"><img src="<?php echo $previmg?>" border="0" alt="prev"></img></a>

into

<a href="http://www.site.website.com/schedule.php?page_id=<?php echo $page_id?>&amp;month=<?php echo $prevmonth?>&amp;year=<?php echo $prevyear?>"><img src="<?php echo $previmg?>" border="0" alt="prev"></img></a>

Total there were eight lines/links i had to change to get it work properly on the frontend.
if there are suggestions to do this in a responsible manner, be my guest. I will change the way it did.
Logged
D72

Offline Offline

Posts: 253


« Reply #78 on: September 17, 2010, 03:00:28 PM »

Another update...
I do have some bugs with my modification.
The calendar on the frontend is responding good with my absolute urls, but the backend is using the same table.calendarmod to display the calendar.
So when i press a date in the mini calendar in the admin, it brings me to the frontend and it won't open a new empty event in the admin section.
How can i change these mini calendars individual? Or can i add a seperate calendar for the backend?
Logged
topper

Offline Offline

Posts: 24


« Reply #79 on: September 17, 2010, 04:56:24 PM »

Hi,

does this calender have a frontend minicalender ?

if yes howe do i get it to work

rgrds
topper
« Last Edit: September 17, 2010, 04:58:09 PM by topper » Logged
D72

Offline Offline

Posts: 253


« Reply #80 on: September 17, 2010, 06:36:54 PM »

Hi,
does this calender have a frontend minicalender ?
if yes howe do i get it to work
rgrds
topper

Of course.
Just install the module and create a page based on the calendar.
Logged
novacultura

Offline Offline

Posts: 6


« Reply #81 on: May 16, 2011, 06:49:11 PM »

Hi, I just discovered MyCalendar, and it is (nearly) perfect for my purpose.
The only thing I miss is a listing of ALL events instead of the listing by months.
Is there a way to show all events in once?
Thanks for your help.
Michael
Logged
Argos
Moderator
**
Offline Offline

Posts: 2156


WWW
« Reply #82 on: June 14, 2011, 05:48:02 PM »

The only thing I miss is a listing of ALL events instead of the listing by months.
Is there a way to show all events in once?

Very rude way: open view.php and change this:
Code:
$date_start = "$year-$month-1";             // range for all month
$date_end = "$year-$month-".DaysCount($month,$year);
into this:
Code:
$date_start = "$year";
$date_end = "$year";

I guess you can use the snippet from the page before as well. Just set the limit to a very large numer, like:
Code:
LIMIT 0 , 9999';

Not tested!!
« Last Edit: June 14, 2011, 05:52:03 PM by Argos » Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Argos
Moderator
**
Offline Offline

Posts: 2156


WWW
« Reply #83 on: June 14, 2011, 05:54:22 PM »

The dates in the module use the US format (Y-M-d), but I need the European format (d-m-Y). I cannot get it that way. What to do?
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Argos
Moderator
**
Offline Offline

Posts: 2156


WWW
« Reply #84 on: June 27, 2011, 09:49:08 AM »

UPDATE: John ("pcwacht") and myself are working on a next version. It has major improvements in code quality, functionality, looks and usabability. John's doing the real clever extensive coding stuff, and I do my bits for interface and looks. Because the new module will be improved and extended significantly, we may decide to give it a new name instead of just the next version of MyCalendar.

It's going well and I think we will release a beta version soon, maybe even this week. I'm very excited about this, and I'm sure many users will be too! Stay tuned, we'll keep you posted.
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Argos
Moderator
**
Offline Offline

Posts: 2156


WWW
« Reply #85 on: July 12, 2011, 03:55:26 PM »

The bad news: the public release is a little bit postponed.
The good news: the reason is that it gets even better, more flexible and more powerful than the previous version (actually a release candidate) was.

This will be the first WB calendar module that will meet the needs of most users, I'm sure! The name of the module will be ProCalendar. Now, that holds a promise, doesn't it?

Just a little bit of patience...  wink
« Last Edit: July 12, 2011, 09:31:03 PM by Argos » Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3714


WWW
« Reply #86 on: July 12, 2011, 04:04:36 PM »

Nobody makes pressure ...
... but be faster  smiley
Logged

pcwacht
AddOn Development
*
Offline Offline

Posts: 2856



WWW
« Reply #87 on: July 12, 2011, 09:24:46 PM »

And to make the anitcipation even bigger.
After the release some very usefull droplets will be released as well so stay tuned Wink

John
Logged

http://www.ictwacht.nl = Dutch ICT info
http://www.pcwacht.nl = My first
both still work in progress, since years.....
lausianne
WebsiteBaker Org e.V.

Offline Offline

Posts: 155


WWW
« Reply #88 on: August 11, 2011, 12:39:18 PM »

Hi,

are you still looking for a solution to this?
The dates in the module use the US format (Y-M-d), but I need the European format (d-m-Y). I cannot get it that way. What to do?
I've got that problem all the time. Here's what I do:
1. Date formats for WB can be adjusted in \admin\interface\date_formats.php, which is probably well known and does not seem to have an effect on modules.
2. In module I use this droplet for German dates: [[DatumTag?tag=(Date in US-Format)]]
Sorry, zip export failed, so I post the code here:
Code:
$tag = strtotime($tag);
$datum = date("j F Y", $tag);
$dagvanweek = date("l, $tag");
$arraydag = array("Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag");
$dagvanweek = $arraydag[date("w", $tag)];
$arraymaand = array("Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember");
$datum = date("j. ", $tag) . $arraymaand[date("n", $tag) - 1] . date(" Y", $tag);
return "$dagvanweek, $datum";

This is the German language version of
http://www.websitebakers.com/pages/droplets/official-library/date-time/dutchdate.php
... plus date as a parameter. Can be easily adjusted to any date format.

btw. MyCalendar does not seem to work well with WB2.8.2. Since you're working on sth. better, I'll be looking forward to that ...

Cheers,
Ralf.
Logged
Argos
Moderator
**
Offline Offline

Posts: 2156


WWW
« Reply #89 on: August 11, 2011, 01:41:28 PM »

Hi Ralf,

thanks for the info, but as you said: I'm working on something better (together with pcwacht, that is). Actually the brand new (WB 2.8.2. compatible) ProCalendar module is ready for publishing.

We are just discussing the possibility to publish it in two versions: a basic one, that is already much improved compared to all other WB calendar modules, and an advanced one with customs fields and custom template. The basic one will be free GPL licensed, and the advanced version will be (very reasonably) commercially priced. We will announce all this asap.
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Argos
Moderator
**
Offline Offline

Posts: 2156


WWW
« Reply #90 on: September 01, 2011, 02:32:12 PM »

I just created a new topic for the new module:
http://www.websitebaker2.org/forum/index.php/topic,22261.0.html
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Pages: 1 2 3 [4]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!