Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 09, 2012, 12:27:33 AM
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
.
149390
Posts in
21080
Topics by
7528
Members
Latest Member:
ronse
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
Event Calendar 1.8
Pages:
1
2
[
3
]
4
Go Down
Author
Topic: Event Calendar 1.8 (Read 19406 times)
dbs
WebsiteBaker Org e.V.
Offline
Posts: 3248
Re: Event Calendar 1.8
«
Reply #50 on:
September 25, 2009, 05:16:56 PM »
hi, in my css:
Code:
.mtevent{
vertical-align: top;
padding: 2px;
text-align: left;
}
and it works.
http://www.dbs-rheine.de/pages/termine.php
u have a link?
dbs
«
Last Edit: September 25, 2009, 05:23:54 PM by dbs
»
Logged
crnogorac081
AddOn Development
Offline
Posts: 1679
Re: Event Calendar 1.8
«
Reply #51 on:
September 25, 2009, 07:06:12 PM »
it can be that you have some other formating for text in css which is bypassing modules css... try to look in css file..or post a demo so we can take a look.. cheers
Logged
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
marccouture
Offline
Posts: 216
Re: Event Calendar 1.8
«
Reply #52 on:
September 25, 2009, 08:45:45 PM »
Quote from: dbs on September 25, 2009, 05:16:56 PM
hi, in my css:
Code:
.mtevent{
vertical-align: top;
padding: 2px;
text-align: left;
}
and it works.
http://www.dbs-rheine.de/pages/termine.php
u have a link?
dbs
Fixed... There was a missing text-align tag under .mtevent (I added tags under other sections, but not that one, aaargh!).
It's been a long week. LOL
Thanks for all your help, you guys rock!
Logged
Marc C.
mb1302
Offline
Posts: 1
Re: Event Calendar 1.8
«
Reply #53 on:
January 17, 2010, 09:24:29 PM »
hi,
i have already searched here and googled ... but can't find nothing about it.
Is it possible to give once a start date and have the same Event e.g. all two weeks?
regards,
Manfred
«
Last Edit: January 19, 2010, 10:15:51 AM by mb1302
»
Logged
mikejd
Offline
Posts: 140
Re: Event Calendar 1.8 - date display format
«
Reply #54 on:
February 25, 2010, 02:07:58 PM »
The date format for the listing of all events is in the form 01.04.2010. Is it possible to easily change this to, say, 1 April 2010? Maybe it is in the php date function? if so where do i make the changes?
Any help appreciated.
Mike
Logged
crnogorac081
AddOn Development
Offline
Posts: 1679
Re: Event Calendar 1.8
«
Reply #55 on:
February 25, 2010, 03:15:38 PM »
try to find in settings or in language file date function.
Logged
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
mikejd
Offline
Posts: 140
Re: Event Calendar 1.8
«
Reply #56 on:
February 25, 2010, 04:18:49 PM »
I couldn't see anything in settings or the language file. I think it needs to be changed in the view.php file but I can't work out what needs to be changed.
Mike
Logged
hillschmidt
Offline
Posts: 13
Event Calendar 1.8c - events in a box?
«
Reply #57 on:
April 01, 2010, 09:03:12 AM »
Unfortunately, I couldn't find an answer for my question ... probably I'm blind but definetly a new user of websitebaker
Is it possible to present this month's events in a box in the right or left box on all pages (e.g. in template andreas09) like it is possible with a simple php command for the latest news?
If so, what is the right code to be used?
Thanks in advance for all helpful hints, Andreas
Logged
mikejd
Offline
Posts: 140
Re: Event Calendar 1.8
«
Reply #58 on:
April 01, 2010, 09:16:52 AM »
You could try to modify the AnyNews snippet. I think, as a start, you will need to change the database tables and fields to those for the Events. I did this for another event module but not this one.
Mike
Logged
tiesy
Offline
Posts: 123
Re: Event Calendar 1.8
«
Reply #59 on:
April 05, 2010, 04:41:48 PM »
I think you can use the "Generate Calendar"-Droplet. Look at this threat:
http://www.websitebaker2.org/forum/index.php/topic,15895.0.html
I use it for my own startpage with an additional js-tooltip that works for me:
http://www.wirinwallenhorst.de
Logged
leonard0
Offline
Posts: 2
Re: Event Calendar 1.8
«
Reply #60 on:
October 20, 2010, 01:24:42 AM »
I like this module very much, but i need help with events earlier then 2006.
I can't add events before 2006, is it even possible to do so? (maybe by modifying php code?)
Where can I find the input for these years? (the dropdownbox lists 2006 - 2014)
Or should i insert data in mySQL if it's possible?
Any help would be great!
Logged
dbs
WebsiteBaker Org e.V.
Offline
Posts: 3248
Re: Event Calendar 1.8
«
Reply #61 on:
October 20, 2010, 10:07:45 AM »
hi, make a entry for 2006, save it.
edit this entry and choose 200x
should work...
Logged
leonard0
Offline
Posts: 2
Re: Event Calendar 1.8
«
Reply #62 on:
October 20, 2010, 02:01:07 PM »
Thank you very very much!!
It works indeed, when i edit it, the combobox lists 2002-2010.
When i edit it again, the combobox lists 1998-2006 and so on..
Logged
mr.smith
Offline
Posts: 4
Re: Event Calendar 1.8
«
Reply #63 on:
January 21, 2011, 01:30:07 AM »
Hi,
I'm using your calendar and I like it very much. In my opinion there is one function missing. Is it possible to link the page settings with the displayed calendar entries on the web pages?
A short explanation: I'm using two calendars at my website one for members and one for visitors. The entries of both calendars will be read out from the database but I don't want to display member appointments for visitors. Even if a member logs on then it shall display the entries. Does anyone knows a solution for it?
Thanks so far
Logged
squaremaster
Offline
Posts: 32
Re: Event Calendar 1.8
«
Reply #64 on:
January 21, 2011, 11:08:31 AM »
Hi, ich habe zwei Fragen:
1.) ich kann den Kalender nicht updaten. (1.8b3->1.8c) Meldung:
"Bereits installiert"
Verliere ich die Einträge wenn ich den alten Kalender deinstalliere und dann den neuen installiere? Oder gibt es eine andere Möglichkeit zum update?
2.) kann man leftarrow.gif/rightarrow.gif durch den jeweiligen Monatsnamen ersetzen? wenn ja was ist zu tun?
Vielen Dank im Vorraus für die Hilfe.
squaremaster
Hi, I have two questions:
1) I can not update the calendar. (1.8b3-> 1.8c) Message: "Already installed" Will I lose the items when I uninstall the old calendar and then the new install? Or is there another way to update?
2) is it possible replace leftarrow.gif / rightarrow.gif with the current month name? if so what do I do?
Thanks in advance for the help.
squaremaster
«
Last Edit: January 21, 2011, 11:18:14 AM by squaremaster
»
Logged
dbs
WebsiteBaker Org e.V.
Offline
Posts: 3248
Re: Event Calendar 1.8
«
Reply #65 on:
January 21, 2011, 02:08:58 PM »
@ 1) yes you lose if you uninstall...
you could edit the info.php of the module. version from 1.8b3 to 1.8b
(maybe also in the database table addons)
Logged
squaremaster
Offline
Posts: 32
Re: Event Calendar 1.8
«
Reply #66 on:
January 21, 2011, 03:08:52 PM »
@dbs
Thank you very much!! Now I changed the version.
Can someone give me for my 2nd question answer?
promenader
Logged
crnogorac081
AddOn Development
Offline
Posts: 1679
Re: Event Calendar 1.8
«
Reply #67 on:
January 21, 2011, 03:14:46 PM »
I think you could not have duplicate table names in db, even f you change module version..you can only overwrilte it..
Logged
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Linger
Offline
Posts: 78
invalid XHTML
«
Reply #68 on:
March 24, 2011, 03:09:28 PM »
Hello community,
i noticed a little "bug" in
view.php
causing the module to generate invalid code on the frontend:
The output of the event description is enclosed in paragraph tags (<p></p>) on line 444:
Code:
(...) <p>".$result['event_longdesc']."</p> (...)
This 'event_longdesc' itself is written in the backend using the wysiwyg editor and so the entered text is also enclosed in paragraph tags. During the output this text with p-tags (from editor) is enclosed in another p-tags (from view.php) and the result is no valid XHTML.
I removed the p-tags from view.php and everything is fine.
This is just a inspiration for upcoming versions of the module.
Thank you for your great work!
Beste regards
André
Logged
http://www.andreherdling.de
Mediengestalter aus Leidenschaft
----
Avatar created by using the generator at
http://www.sp-studio.de/
Nicky
Offline
Posts: 41
Re: Event Calendar 1.8
«
Reply #69 on:
July 25, 2011, 07:32:59 PM »
Hi WB,
I'm using Event Calendar v1.8 in a 2.7 production site in FR-FR. No problem at all - a very good addon.
I have looked at that module's pages and I am not sure exactly what to change because the term DESC may mean "description" or "descending".
1) Which page do I need to edit to change the date direction in the, "listing of all events" from oldest date first to newest date first ?
2) Also shown, are the "next" / "previous" month arrows. No problems there, but the link hover help shows the month prefix in EN-EN. Which page do I edit to change the php date from "M" to "m" ?
(22:08 UPDATE! I have just found the answer to 2) which is by editing the view.php file. Open it and search for the expression
rightarrow
and
leftarrow
and in both lines change
both
capital letter M to lowercase m) I'm still no further forward with 1) though...
Thanks in advance
Nicky
«
Last Edit: July 25, 2011, 09:12:33 PM by Nicky
»
Logged
pcwacht
AddOn Development
Offline
Posts: 2814
Re: Event Calendar 1.8
«
Reply #70 on:
July 25, 2011, 09:51:23 PM »
Don't know the module, but DESC inall capitals is mostly used for database query's
Does the line it ich it stands look something like :
SELECT * FROM ".TABLE_PREFIX."something WHERE something = something ORDER BY field DESC ?
If so, that's the DESC you'll need to change to ASC
Here the desc is used for descending.
And remember, if you do change ONE thing at a time you can easy unchange it.
For easy changing without getting permissions hassles use adonfileeditor module.
Good luck,
John
Logged
http://www.ictwacht.nl
= Dutch ICT info
http://www.pcwacht.nl
= My first
both still work in progress, since years.....
Nicky
Offline
Posts: 41
Re: Event Calendar 1.8
«
Reply #71 on:
July 26, 2011, 12:57:47 PM »
Hi John
Thanks. I searched this module's pages and found only one entry in a page called
search.php
(line 41). I changed DESC to ASC (and even tried ASCE) but it made no difference. Whilst Line 41 was saved as ASC, I added a brand-new test event but no change in the default ordering of "oldest event first / latest event last".
Maybe there is another DESC I need to change but I can't find it! So still working on a solution to getting the most recent event to the top of the list of all events in Event Calendar v1.8 in WB 2.7
(The reason that this issue is important to me is that this particular calendar's events items goes back to 2008 and I would like all the old actioned entries to be at the bottom of that list rather than at the top.)
Logged
pcwacht
AddOn Development
Offline
Posts: 2814
Re: Event Calendar 1.8
«
Reply #72 on:
July 26, 2011, 08:37:52 PM »
You can undo the change in search.php, search.php is a file wich is included in the wb search routine.
You need to look at view.php, the file wb includes when viewing a page
To help you I downloaded de latest version, 1.8c from amasp
Open view.php, line 135 read:
Code:
$query_dates = $database->query("SELECT * FROM `".TABLE_PREFIX."mod_event_dates` WHERE `section_id` = '$section_id' && (`date` = '$today' or `date` = '$todayyearly')");
There is no sort defined here, so we will add one:
Code:
$query_dates = $database->query("SELECT * FROM `".TABLE_PREFIX."mod_event_dates` WHERE `section_id` = '$section_id' && (`date` = '$today' or `date` = '$todayyearly') ORDER BY date DESC ");
Note the addition of ORDER BY date DESC wich tells MYSQL to sort the results based on the content of the field date
Could be the DESC needs to be ASC (ASC = Ascending, DESC = Descending), I think it should be DESC since ASC is default sortorder.
There is allso a simular query at line 243:
Code:
$query_dates = $database->query("SELECT * FROM `".TABLE_PREFIX."mod_event_dates` WHERE `section_id` = '$section_id' && (`date` = '$currentdate' or `date` = '$currentdateyearly' )");
There is no sort defined here, so we will add one:
Code:
$query_dates = $database->query("SELECT * FROM `".TABLE_PREFIX."mod_event_dates` WHERE `section_id` = '$section_id' && (`date` = '$currentdate' or `date` = '$currentdateyearly' ) ORDER BY date DESC ");
Line 400:
Code:
$query_dates = $database->query("SELECT * FROM `".TABLE_PREFIX."mod_event_dates` WHERE `section_id` = '$section_id' order by date");
There is a sort, but no ASC or DESC
Code:
$query_dates = $database->query("SELECT * FROM `".TABLE_PREFIX."mod_event_dates` WHERE `section_id` = '$section_id' ORDER BY date DESC");
Mysql doesn't care if order by is in capitals or not, though it is common to make SQL commands in capitals.
These are all the related queries I could find in view.php.
NOTE!!
Before editing a file make sure you have a copy!!
Didn't test it, but it should work.
Have fun,
John
Logged
http://www.ictwacht.nl
= Dutch ICT info
http://www.pcwacht.nl
= My first
both still work in progress, since years.....
Nicky
Offline
Posts: 41
Re: Event Calendar 1.8
«
Reply #73 on:
July 26, 2011, 09:03:37 PM »
Wow!
Thanks for your extensive help John.
I shall have a go at this tomorrow because today at 22:00 is too late for me to concentrate properly.
Just a thought for any further development of Event Calendar v1.8, perhaps the developers might think about a settings-switch to select the date order of historical events. Only because, when there are hundreds of calendar events, it might be useful to look at recent events at a glance rather than paging-down to them.
The best, Nicky.
Logged
Nicky
Offline
Posts: 41
Re: Event Calendar 1.8
«
Reply #74 on:
July 27, 2011, 05:48:57 PM »
John
You are a bl**dy genius
If there is something I can do perhaps, proofing some EN-text or whatever, just let me know.
Nicky
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...