Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 26, 2012, 09:16:28 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Interested in joining the WebsiteBaker team?
For more Information read
here
or on our
new website
.
155553
Posts in
21715
Topics by
7737
Members
Latest Member:
gx-world
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
Another event calendar
Pages:
1
2
[
3
]
Go Down
Author
Topic: Another event calendar (Read 17093 times)
marccouture
Offline
Posts: 217
Re: Another event calendar
«
Reply #50 on:
July 16, 2006, 07:34:31 PM »
Initial testing looks alright, no errors at install time or runtime, and events display properly. I'm looking forward to the next RC, especially if the layout can conform to "standard" calendar display (days on top, for one thing, LOL). Thanks for the great work, much appreciated!
Logged
Marc C.
wintrack
Offline
Posts: 3
Re: Another event calendar
«
Reply #51 on:
July 30, 2006, 08:53:39 PM »
Just installed RC5 and all I get is a blank page. Is there something else that needs to be changed in the global setup before I can start using this?
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
Re: Another event calendar
«
Reply #52 on:
July 31, 2006, 06:02:29 AM »
Hello,
it should work withoiut doing any changes. Install it as a modul, make a new page with type calendar (Not WYSIWYG), add your events, that should be all.
Matthias
Logged
wintrack
Offline
Posts: 3
Re: Another event calendar
«
Reply #53 on:
July 31, 2006, 04:05:41 PM »
Just installed the modual again and tried to set up a new page exactly like you said with the type of calendar. The section management has no place to add events and the view page just shows a blank page. Not sure how to add events as it doesn't show in the admin panel.
I am running OS X 10.3.9 PHP 4.3.11 Apache 1.3.33 WB 2.6.4
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
Re: Another event calendar
«
Reply #54 on:
July 31, 2006, 05:51:48 PM »
Hello,
can you look at the database? There have to be the tables mod_calendar, mod_calendar_action
s and mod_calendar_settin
gs. If they are not there, i think i know where the problem is.
Matthias
Logged
wintrack
Offline
Posts: 3
Re: Another event calendar
«
Reply #55 on:
July 31, 2006, 08:22:38 PM »
You are corect. There are prefexmod_calendar_
calendars ...calendars_seq ...events...events_
seq and a few other mod_calendar tables but not the calendar, actions, or settings tables you mention.
Wade
Logged
marccouture
Offline
Posts: 217
Re: Another event calendar
«
Reply #56 on:
August 02, 2006, 02:29:31 PM »
Same problem here, blank page...
Logged
Marc C.
webstep
Offline
Posts: 4
Re: Another event calendar
«
Reply #57 on:
November 10, 2006, 01:41:02 PM »
I've just made some changes in calendar module (mainly minor changes and code cleanup), but I do not know, if I can release it as 1.0RC6. Most important changes:
added navigation by year
cal_days_in_month() function replaced by date()
days on top row
But there is one major change related to database fields start/end_date/time. Values are now stored as unix_timestamps and displayed as standard date(DATE/TIME_FORMAT, value) and it causes a backward compatibility problem. I can include upgrade.php file, that converts data and table to new structure.
Question is - does anyone use colorschemes? Block <style>...</style> generated in view.php is inserted into <body>, so the code is not valid. <style> tag may be inserted only into <head>. I consulted this with ilicz, he wrote me, that the privileged users were able to use their own colorschemes. I think, that whole site has "its own" colorscheme and there is no need to personalize the look of calendar for single user. Inline styles or complete-colorscheme-removement might be solutions... Any ideas?
Karel
[edit] Attached module zip file. Consider it more as fork than as improvement (structure of table was changed and colorschemes were completely removed). Please, check out (and be careful about) the upgrade.php file. You can see the results on
http://slovan-brno.wz.cz/
. [/edit]
«
Last Edit: November 28, 2006, 02:59:04 PM by webstep
»
Logged
kriskd
Offline
Posts: 63
Re: Another event calendar
«
Reply #58 on:
March 21, 2007, 07:22:04 AM »
Quote from: webstep on November 10, 2006, 01:41:02 PM
I've just made some changes in calendar module (mainly minor changes and code cleanup), but I do not know, if I can release it as 1.0RC6. Most important changes:
Looks nice.
I was able to add one event to the calendar, but unable to add anymore. Can anyone confirm this?
Any easy way to make Sunday the first day of the week?
It looks like you know edit the styles in your mail style sheet by assigning styles to "calendar_container". Is this correct?
Logged
Panther
Offline
Posts: 168
Re: Another event calendar
«
Reply #59 on:
May 20, 2007, 02:25:40 AM »
Ok, I'm not sure why there are differences in the zip file posted a few posts up versus the same release I downloaded... is it because it's an English version?
Well, I did a few hacks and got the calendar to be the "right" way, and even got it to list Sun-Sat.
First in functions.php
replace the function Cell with the following
Code:
function Cell ($row, $column, $firstday, $dayscount) {
global $weekdays;
if ($row == 1) {
return $weekdays[$column];
}
$retval = ($row - 2) * 7 + $column - $firstday + 1;
if ($retval < 1 || $retval > $dayscount) {
return " ";
} else {
return $retval;
}
}
Then find:
Code:
<td colspan="
<?php
echo
$colcount
-
2
;
?>
" width="
<?php
echo (
$colcount
-
2
) *
30
;
?>
" class="calendar-header">
and replace with:
Code:
<td colspan="
<?php
echo
$colcount
-
1
;
?>
" width="
<?php
echo (
$colcount
-
2
) *
30
;
?>
" class="calendar-header">
This fixes centering the month over the calendar columns
Then find:
Code:
for ($col=1; $col<=$colcount; $col++) {
and change to:
Code:
for ($col=0; $col<=$colcount; $col++) {
This tells the cell function to basically add another column, column 0
Save and upload functions.php
Open languages/EN.php and find:
Code:
$weekdays = Array(1=>"Mo", "Tu", "We", "Th", "Fr", "Sa", "Su");
change to:
Code:
$weekdays = Array(0=>"Su", "Mo", "Tu", "We", "Th", "Fr", "Sa");
This tells the array that we are starting with "column" 0 as Sunday.
Save and Upload and that should do it.
I'm assuming you can edit the other language files and it will work as needed.
Logged
martinstan1
Offline
Posts: 27
Re: Another event calendar
«
Reply #60 on:
May 23, 2007, 05:39:57 PM »
Hi
I'd like to use this calendar but it breaks out of my page. Is there a way of controlling the width of it? Which file would I need to edit?
Thanks
Logged
kweitzel
Forum administrator
Offline
Posts: 6977
Re: Another event calendar
«
Reply #61 on:
May 23, 2007, 08:43:52 PM »
Like most of the page type modules it brings a settings button when you are in the page edit mode (Pages in Adminpanel). There you can modify the whole output.
If you are using a DIV based CSS Layout, you should make all tables smaller than 100% (usually 98% works).
cheers
Klaus
Logged
WebsiteBaker Org e.V. - for WebsiteBaker
martinstan1
Offline
Posts: 27
Re: Another event calendar
«
Reply #62 on:
May 24, 2007, 09:41:55 PM »
Hi
Thanks for your reply.
With most other modules, including both other calendar modules I have a settings button, but not this one for some reason??
Martin
Logged
kweitzel
Forum administrator
Offline
Posts: 6977
Re: Another event calendar
«
Reply #63 on:
May 24, 2007, 10:42:48 PM »
Apologies, I mixed it up with the other Calendar ... you need to check out the file "functions.php" for any modification of the output.
cheers
Klaus
Logged
WebsiteBaker Org e.V. - for WebsiteBaker
martinstan1
Offline
Posts: 27
Re: Another event calendar
«
Reply #64 on:
May 25, 2007, 09:52:44 AM »
Got it!
Thanks, that's 'modules/calendar/functions.php
Cheers again.
Logged
ilicz
Offline
Posts: 29
Still alive
«
Reply #65 on:
May 29, 2007, 11:38:14 AM »
It's good to see, that this topic is still alive, even if I had to cease development of this module..... I started to work for quite big corporation and it consumes almost all my time...
however, I'm actually building website for our dark age LARP game named "Pustina" ("Wasteland" in english terminology) and it's based on WB 2.6.5!
Logged
;o)
wwwMARKLEYcouk
Offline
Posts: 288
Re: Another event calendar
«
Reply #66 on:
September 15, 2007, 03:49:22 PM »
i would love for someone to continue with this module as i lack the coding knowledge..
i find that this calendar works and looks nicer but the admin section needs work as i cant add dscriptions and i also dont understand half the settings options in there.. anychance someone has continued a development or is there a new one being made?
Logged
http://www.markley.co.uk
snaak
Offline
Posts: 8
Re: Another event calendar
«
Reply #67 on:
February 28, 2008, 05:28:18 PM »
Fix of line 36:
Replace the function with:
[tt]return date('t', mktime(0, 0, 0, $month+1, 0, $year)); [/tt]
Logged
Pages:
1
2
[
3
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...