Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 12, 2012, 08:06:39 PM
1 Hour
1 Day
1 Week
1 Month
Forever
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
.
149680
Posts in
21101
Topics by
7538
Members
Latest Member:
ionline
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
changes in calendar modul ( -> MyCalendar)
Pages:
1
2
[
3
]
4
Go Down
Author
Topic: changes in calendar modul ( -> MyCalendar) (Read 10276 times)
RonK
Offline
Posts: 81
Re: changes in calendar modul ( -> MyCalendar)
«
Reply #50 on:
March 02, 2010, 02:32:11 PM »
Hi Uthred,
I did not uninstall the old version, but just installed the new. Then I got the message "upgrade successful".
But I will uninstall the module first and then reinstall the new one.
Keep you posted.
Update: That did the trick. So, uninstall v1.0.1 and install v1.1b.
Thanks for the support, regards
«
Last Edit: March 02, 2010, 02:37:53 PM by RonK
»
Logged
CU, RonK
http://www.2rsweb.nl
http://www.tentdagenlopik.nl
http://www.gereformeerdekerklopik.nl/
seagull
Offline
Posts: 81
Re: changes in calendar modul ( -> MyCalendar)
«
Reply #51 on:
March 02, 2010, 08:33:31 PM »
Upgrade does not work, removing and new install works ok!
Nice feature start of the week!
Only with my installation choosing a other colorscheme does not work, it displays (active),
but changing does not affect the look of the Calendar.
Jan
«
Last Edit: March 02, 2010, 09:10:40 PM by seagull
»
Logged
RonK
Offline
Posts: 81
Re: changes in calendar modul ( -> MyCalendar)
«
Reply #52 on:
March 02, 2010, 09:45:52 PM »
Hi Uthred,
I just noticed something else.
In my template I have a line with the next code:
Code:
<?php page_content
(
1
);
?>
<!-- Main section -->
<br />
<br />
<a href="#top" target="_top" title="Naar boven"><img src="
<?php
echo
WB_URL
.
MEDIA_DIRECTORY
;
?>
/up.gif" align="right" border="0" hspace="4" vspace="4" alt="Naar boven" /></a>
Which displays a up arrow under every middle column of my pages.
When I click on the text message to see the whole message, the arrow is on top of my page.
Has that something to do with the way the pages in rewritten to display the whole message?
Regards
Logged
CU, RonK
http://www.2rsweb.nl
http://www.tentdagenlopik.nl
http://www.gereformeerdekerklopik.nl/
seagull
Offline
Posts: 81
Re: changes in calendar modul ( -> MyCalendar)
«
Reply #53 on:
March 02, 2010, 11:51:23 PM »
not changing the style of the Calendar has something to do with the var: $clrset
error in stylesheet:
Quote
.detail_actionname {
font-size: 14px;
font-weight: bold;
text-decoration: underline;
color: <br />
<b>Notice</b>: Undefined variable: clrset in <b>/var/www/vhosts/*****.nl/httpdocs/wb28/modules/mycalendar/frontend.css</b> on line <b>106</b><br />
Jan
Logged
Uthred
Guest
Re: changes in calendar modul ( -> MyCalendar)
«
Reply #54 on:
March 03, 2010, 08:02:53 AM »
Hi seagull,
thanks for the hint.
The Problem comes up if you use the "register_frontend_m
odfiles('css')" command in your template,
because the mycalendar module fills some values dynamically in the frontend.css file. In this case the frontend.css is loaded before these values are filled from the module and therefore it comes to the "Undefined variable" notice and the colorscheme is not loaded correctly.
The only senseful way out, as I can see, is to remove the colorscheme feature from the backend and to control the colors via one frontend.css file and that's all. It also makes the module less complicated.
Do someone agree with this?
BR
Logged
RonK
Offline
Posts: 81
Re: changes in calendar modul ( -> MyCalendar)
«
Reply #55 on:
March 03, 2010, 10:04:13 AM »
Hi Uthred,
using the frontend.css would be OK for me.
In general I would like to see more comments in PHP code and CSS files.
I try to do that myself in my code, template and stylesheet. Then, at least I, can remember which part of code is used for what.
Regards
Logged
CU, RonK
http://www.2rsweb.nl
http://www.tentdagenlopik.nl
http://www.gereformeerdekerklopik.nl/
seagull
Offline
Posts: 81
Re: changes in calendar modul ( -> MyCalendar)
«
Reply #56 on:
March 03, 2010, 08:41:31 PM »
Removing the stylesheet feature and control the style with the frontend.css like other wb modules sounds as a good solution to me.
thanks, Jan
Logged
RonK
Offline
Posts: 81
Re: changes in calendar modul ( -> MyCalendar)
«
Reply #57 on:
March 04, 2010, 11:10:19 AM »
Hi Uthred,
I noticed that I can click on dates with data and the month in the backend.
It would be nice I could directly click on dates that do not have data yet. This would ease the use.
Now you first click on New, then select the date, not necessary the date of today, which is default, and fill the rest of the fields.
Also a copy function would be nice. Some activities/appointments are regulary repeated, say every month.
Do not consider this as comments on your module, but just as possitive feedback and nice to have addition
. I thought about it by using the module.
Regards
«
Last Edit: March 04, 2010, 11:43:01 AM by RonK
»
Logged
CU, RonK
http://www.2rsweb.nl
http://www.tentdagenlopik.nl
http://www.gereformeerdekerklopik.nl/
Uthred
Guest
Re: changes in calendar modul ( -> MyCalendar)
«
Reply #58 on:
March 04, 2010, 01:29:12 PM »
Hi,
it is a new MyCalendar version available:
v1.2:
* remove colorscheme feature (style only via frontend.css now)
* smarter backend date editing
See also
AMASP
for details.
@RonK
Quote
It would be nice I could directly click on dates that do not have data yet...
Thanks for this idea
. It's in the new version, pls test around it.
BR
Logged
RonK
Offline
Posts: 81
Re: changes in calendar modul ( -> MyCalendar)
«
Reply #59 on:
March 04, 2010, 01:44:56 PM »
Great Uthred,
I'll download it right away and test it.
At the moment I am filling the calender at
http://gereformeerdekerklopik.nl/_wb
(agenda).
You'll hear from me.
Thanks again, regards,
«
Last Edit: March 04, 2010, 02:50:10 PM by RonK
»
Logged
CU, RonK
http://www.2rsweb.nl
http://www.tentdagenlopik.nl
http://www.gereformeerdekerklopik.nl/
RonK
Offline
Posts: 81
Re: changes in calendar modul ( -> MyCalendar)
«
Reply #60 on:
March 04, 2010, 03:19:01 PM »
Hi Uthred,
I deinstalled the v1.1 module. Installed v1.2, but nothing sowed into the backend and frontend.
Deinstalled v1.2 and reinstalled. Now available in backend.
Lost my entries in the calendar, though.
Are these deleted too when I remove the module?
Made an backup, but are not yet able to reload it into WB.
The backend is much simpler now and clicking the dates works very good.
Also the forth and back arrow are much better (I could change that myself easily, but now I don't have to).
The back arrow on the details windows still has the border set.
I changed the next line (1723) in function.php, obviously..., added border=\"0\"
Code:
echo " <a href=\"javascript:history.back()\" ><img src=\"$previmg\" border=\"0\"></img><b> </b></a>";
I'll keep on testing.
Regards
«
Last Edit: March 05, 2010, 10:25:55 AM by RonK
»
Logged
CU, RonK
http://www.2rsweb.nl
http://www.tentdagenlopik.nl
http://www.gereformeerdekerklopik.nl/
RonK
Offline
Posts: 81
Re: changes in calendar modul ( -> MyCalendar)
«
Reply #61 on:
March 05, 2010, 02:36:56 PM »
Hi Uthred,
I deleted my DB and tried to load it back with the backup (of WB).
But that does not work at the moment.
I have to digg into that and will not have time (and possibilities
) to test the calendar module.
Regards
Logged
CU, RonK
http://www.2rsweb.nl
http://www.tentdagenlopik.nl
http://www.gereformeerdekerklopik.nl/
Uthred
Guest
Re: changes in calendar modul ( -> MyCalendar)
«
Reply #62 on:
March 05, 2010, 03:00:24 PM »
Hi RonK,
Quote
.. deleted my DB and tried to load it back
I hope your "trouble" has nothing to do with testing the MyCalendar
Quote
..not have time to test..
No Stress, take your time and get your WB running again, good Luck
BR
Logged
RonK
Offline
Posts: 81
Re: changes in calendar modul ( -> MyCalendar)
«
Reply #63 on:
March 06, 2010, 04:58:46 PM »
Quote from: Uthred on March 05, 2010, 03:00:24 PM
Hi RonK,
Quote
.. deleted my DB and tried to load it back
I hope your "trouble" has nothing to do with testing the MyCalendar
Actually, indirectly it did
. I thought I could reload the WB backup of yesterday into the MySQL DB. Then I would not have to insert all those calendar entries. But the DB backup was not OK.
No I learned something of SQL and think I found the issue. One section (part of SorTable module) seemed to have a reserved SQL word in the line (loop). I used the section of an earlier backup (done from phpmyadmin and not from WB backup). No it seems to be OK.
Knowing this I have a question. Every time I upgrade the Calendar module I seem to lose the appointments made earlier. Is that right or is there a way to recover them?
Quote
Quote
..not have time to test..
No Stress, take your time and get your WB running again, good Luck
BR
It is now. Have you red my comments in previous messages for improvement of the module?
Best regards
Logged
CU, RonK
http://www.2rsweb.nl
http://www.tentdagenlopik.nl
http://www.gereformeerdekerklopik.nl/
Bramus
Forum Team
Offline
Posts: 600
Re: changes in calendar modul ( -> MyCalendar)
«
Reply #64 on:
March 13, 2010, 05:28:33 PM »
There seems to be a problem with the mini calendar. When i include all files it is just working fine. But when i add a guestbook to my website and visit the guestbook all the language vars seem to disappear. Is there some kind of function with the same name as the guestbook and do you have any idea on how to solve this?
Logged
BRAMUS Internet Services
Bramus
Forum Team
Offline
Posts: 600
Re: changes in calendar modul ( -> MyCalendar)
«
Reply #65 on:
March 16, 2010, 10:46:42 AM »
Bug was found, thanks to Uthred.
For people experiencing the same problem use the fix below:
Open: functions.php
Search for:
Code:
include('info.php')
Replace with:
Code:
include(WB_PATH."/modules/mycalendar/info.php");
Now the correct info.php gets loaded and that is needed to get the proper page_id / section_id as i heard from Uthred.
Logged
BRAMUS Internet Services
instantflorian
Offline
Posts: 685
Re: changes in calendar modul ( -> MyCalendar)
«
Reply #66 on:
April 06, 2010, 03:33:35 PM »
Hi,
I'm trying to use mycalendar 1.2 on a WB 2.8.1 site (PHP 5.2.10). Everything works, but in the mini calendar the month and weekday names are not displayed. Does anybody have a clue why?
Regards
-instantflorian.
Logged
Uthred
Guest
Re: changes in calendar modul ( -> MyCalendar)
«
Reply #67 on:
April 06, 2010, 08:51:52 PM »
Hi instantflorian,
please try the workaround that Bramus has written (one post before yours), could be that it fixes the problem.
*Daumen drück*
BR
Logged
instantflorian
Offline
Posts: 685
Re: changes in calendar modul ( -> MyCalendar)
«
Reply #68 on:
April 07, 2010, 09:27:12 AM »
Hi,
no, this didn't work, but I've made some little changes to the "calendar month link" module (which was originally written for the calendar 2.0 module) to use this one.
Regards
-instantflorian.
Logged
JuLoe
Offline
Posts: 1
Re: changes in calendar modul ( -> MyCalendar)
«
Reply #69 on:
April 22, 2010, 09:00:54 PM »
Hi guys
I installed the newest WB and the calendar 2.0 but it won't work... When I create a calender the page which shows is missing the 'New Actiontype'-button. I can only see the 'New Action'-button.
Do you know any help for me?
And the little popup where one can choose the date is not very helpful, when it is see-through...
«
Last Edit: April 22, 2010, 09:02:48 PM by JuLoe
»
Logged
Uthred
Guest
Re: changes in calendar modul ( -> MyCalendar)
«
Reply #70 on:
April 23, 2010, 06:58:28 PM »
Did you already insert the line
Code:
"Calendar._FD = 1;"
in the JsCalendar language file (WB_PATH\include\jscalendar\lang\..) ?
Logged
Abenaa
Offline
Posts: 226
Re: changes in calendar modul ( -> MyCalendar)
«
Reply #71 on:
May 30, 2010, 06:58:00 PM »
I have a problem with this modul.
I have mycalendar an four different pages of a website. Of course, each page has another page_id. Now it happens that some dates will be shown in all four pages and some will not. Dates, that belong for example to page_id 80 will also be shown on the pages with the id 81, 82 and 83. Other dates will only be shown where they belong to. What is the reason of it?
Logged
lepracaun
Offline
Posts: 23
Re: changes in calendar modul ( -> MyCalendar)
«
Reply #72 on:
July 05, 2010, 12:34:50 PM »
Hi, great module.
Want to know if there is a way that I can add a mini calendar on the home page without any other calendar info, and when you click on the date, it just takes you to the calendar section. If so, please let me know how.where I can find more info on it.
Thanks
Logged
jkel
Offline
Posts: 2
Re: changes in calendar modul ( -> MyCalendar)
«
Reply #73 on:
September 15, 2010, 10:18:05 AM »
I made a snippet by which you can display a list of upcoming events (eg. for usage in template)
Code:
<?php
global
$database
;
$sql
=
'SELECT *
FROM '
.
TABLE_PREFIX
.
'mod_mycalendar_actions
WHERE (date_start >= CURDATE( ) and time_start >= CURTIME()) or (date_end > CURDATE( ))
ORDER BY date_start ASC , time_start ASC
LIMIT 0 , 5'
;
$db
=
$database
->
query
(
$sql
);
if (
$db
->
numRows
() >
0
) {
echo
'<br /><table cellpadding="0" cellspacing="0" border="0" class="actionlist_front">'
;
$retarray
= array();
while (
$record
=
$db
->
fetchRow
()) {
$dayend
=
substr
(
$record
[
'date_end'
],-
2
);
$monthend
=
substr
(
$record
[
'date_end'
],
5
,
2
);
$yearend
=
substr
(
$record
[
'date_end'
],
0
,
4
);
$daystart
=
substr
(
$record
[
'date_start'
],
8
,
2
);
$monthstart
=
substr
(
$record
[
'date_start'
],
5
,
2
);
$yearstart
=
substr
(
$record
[
'date_start'
],
0
,
4
);
$weekdays
= array(
'So'
,
'Mo'
,
'Di'
,
'Mi'
,
'Do'
,
'Fr'
,
'Sa'
);
// this will show German daynames, change it if necessary
$timestamp_start
=
mktime
(
0
,
0
,
0
,
$monthstart
,
$daystart
,
$yearstart
);
$weekday_start
=
date
(
'w'
,
$timestamp_start
);
echo
'<tr><td class="actionlist_date">'
;
echo
$weekdays
[
$weekday_start
] .
', '
.
substr
(
$record
[
'date_start'
],
8
,
2
).
'.'
.
substr
(
$record
[
'date_start'
],
5
,
2
);
echo
' '
.
substr
(
$record
[
'time_start'
],
0
,
5
);
if (
$record
[
'date_end'
]) {
// show enddate only if duration > 1 day
if(
$record
[
'date_end'
] !=
$record
[
'date_start'
]) {
$timestamp_end
=
mktime
(
0
,
0
,
0
,
$monthend
,
$dayend
,
$yearend
);
$weekday_end
=
date
(
'w'
,
$timestamp_end
);
echo
' - <br />'
;
echo
$weekdays
[
$weekday_end
] .
', '
.
substr
(
$record
[
'date_end'
],
8
,
2
).
'.'
.
substr
(
$record
[
'date_end'
],
5
,
2
);
echo
' '
.
substr
(
$record
[
'time_end'
],
0
,
5
);
}
}
echo
'</td><td class="actionlist_desc">'
;
echo
" "
;
$link
=
str_replace
(
"\""
,
"'"
,
$link
);
echo
$record
[
'name'
];
echo
'</td></tr>'
;
}
echo
'</table>'
;
}
?>
This code will show the next 6 events. You can change the number by changing the LIMIT 0 , 5 to something else like LIMIT 0 , 9 (for 10 events) etc
Logged
snark
Guest
Re: changes in calendar modul ( -> MyCalendar)
«
Reply #74 on:
September 15, 2010, 01:36:36 PM »
wild!
Logged
Pages:
1
2
[
3
]
4
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
-----------------------------
English
-----------------------------
=> Help & Support
-----------------------------
General
-----------------------------
=> WebsiteBaker Website Showcase
-----------------------------
English
-----------------------------
=> Modules
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
-----------------------------
General
-----------------------------
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
-----------------------------
General
-----------------------------
=> Security Announcements
-----------------------------
Deutsch (German)
-----------------------------
=> Hilfe/Support
-----------------------------
General
-----------------------------
=> Documentation
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
=> Module & Snippets
-----------------------------
English
-----------------------------
=> Archive (posts up to 2007)
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Deutsch (German)
-----------------------------
=> jQuery
=> Tutorials
=> Templates & Design
-----------------------------
English
-----------------------------
=> jQuery
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
===> Suggestions
-----------------------------
Deutsch (German)
-----------------------------
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
===> Vorschläge
-----------------------------
English
-----------------------------
===> Software bugs
-----------------------------
Deutsch (German)
-----------------------------
===> Softwarefehler
=====> Module / Extensions
-----------------------------
English
-----------------------------
=====> Modules / Extensions
-----------------------------
Deutsch (German)
-----------------------------
===> Erfahrungs und Testberichte
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...