This forum is for churches and ministries using Web-Empowered Church tools or packages. If you are a WEC customer, please submit a ticket. If you are reporting a bug with one of our plugins, please email us. If you are a business entity and want help that you cannot find here, please look at our services.
Notice: we are using new forum software and most messages from last 2 years were transferred. If you had an account before, please login to post a message on the forum.
| Author | Message |
|---|---|
|
Written on: 06/20/2008
|
|
|
Philipp Hauffe
Topic creator
registered since: 06/20/2008
Posts: 13
|
Hello, i try to use this (great!) extension (wec_map 2.1.2) in combination with the calendarbase-extension (Calendar Base 1.0.0) When using the WEC Table Map Plug all locations, which are stored in the sys folder for the cal_base data are shown in the map, but the second tab (events), (which should show the events or at least the "more-info"-Link ?) does only show "array". I did not found any hints in the manual or the forum. I've found, that "events" exists in the file : cal-1.0.0-hooks__class__tx_cal_wecmap__php : if(is_object($location) && is_object($markerObj)) { $events = $location->getEventLinks(); $eventsHTML = $this->stripNL(implode('', $events)); $markerObj->addTab("Events", $markerObj->getTitle(), $eventsHTML); But unfortunately i have no idea how to solve this problem. Here is our live-demo: www.angele.de/index.php?id=16 Has anyone an idea? regards from Germany, Philipp[/img] |
|
Written on: 06/20/2008
|
|
![]() Jeff Segars
registered since: 12/20/2004
Posts: 665
|
Philipp, This feature was more of a test than anything, so I'll have to warn you that its still a little rough around the edges. I think it's pretty cool though, so we'll be improving it in future versions. To get it working, the key thing is to set a little bit of cal-related Typoscript on your maps page. You'll first want to add the static template for Calendar Base (Css-based template). You then need two lines of Typoscript setup. [code] plugin.tx_cal_controller.pidList = 31 plugin.tx_cal_controller.view.event.eventViewPid = 37 [/code] This will tell cal (and wec_map) where to find the events and what page has the single view. Once you set these, I think you should be up and running. Thanks, Jeff |
|
Written on: 06/23/2008
|
|
|
Philipp Hauffe
Topic creator
registered since: 06/20/2008
Posts: 13
|
Jeff, thank you for your fast answer. I also think, that this is a very cool feature. You have to record all the data for map and calendar-view only once and people can decide at a glance and much easier, if a visit of an event is possible. Unfortunately your code did not solve the problem, the event tab still results in "array", though i added the static template for Calendar Base (Css-based template) and two lines of Typoscript.. (Yes, i switched 31 and 37 according my page numbers...) Do you have any other idea? Thank you in advance, i appreciate your work and your (and all the other peoples) fair-mindedness, who share their knowledge...! kind regards Philipp |
|
Written on: 06/23/2008
|
|
![]() Jeff Segars
registered since: 12/20/2004
Posts: 665
|
Philipp, Do you mind sending me an email with a backend login to your site? I'll see if I can tell anything different between my setup and yours. Thanks, Jeff |
|
Written on: 06/24/2008
|
|
![]() Jeff Segars
registered since: 12/20/2004
Posts: 665
|
Philipp, Thanks for the backend login. It turns out that you were very close to having it working In TYPO3, the Typoscript configuration language is used in a couple places. Page TSConfig is part of the Page Properties, along with title, start time, etc and it always related to configuring how the backend works for your editors. There are also Typoscript templates which are found within the Web->Template module and used to configure the actual frontend output of your website. It looks like the Typoscript to configure wec_map and cal ended up in Page TSConfig (backend only) rather than a Typoscript template (frontend only). Once I changed this, the events started showing up on the correct tab. I do see that "array" still appears above the events, so there are some improvements we need to make in the next version of cal, but your events are showing up on the map now. Thanks, Jeff |
|
Written on: 06/24/2008
|
|
|
Philipp Hauffe
Topic creator
registered since: 06/20/2008
Posts: 13
|
Jeff, fantastic. I really spent a lot of hours without getting it running. Thank you. For now i am very happy, but of course i am looking forward to your further improvements with your cal_extension. If i can I'll try to help out, not with programming due to my lack of knowledge, but perhaps with finding some little bugs... Once again thank you and kind regards Philipp |
|
Written on: 03/04/2010
|
|
|
Philipp Hauffe
Topic creator
registered since: 06/20/2008
Posts: 13
|
Hello, after upgrading to Calendar Base 1.3.2 and wec_map 2.3.2 they do not communicate anymore... I had in my typoscript : plugin.tx_cal_controller.pidList = 240 plugin.tx_cal_controller.view.event.eventViewPid = 247 After upgrading cal-extension I had no more entries in the event-tab in the map, after upgrading the map extension i do not even have the map at all. WEC Map Static Templates is set. Is there anything else now? Thank you in advance. Philipp |
|
Written on: 03/05/2010
|
|
![]() Christoph Koehler
registered since: 10/24/2005
Posts: 383
|
Philipp, Are you running TYPO3 4.2? There's a known bug that made the requirement TYPO3 4.3. I already have it fixed internally to re-enable TYPO3 4.2 support. You can download it here: svn.webempoweredchurch.org/snapshots/show/wec_map Let me know if that works for ya! Christoph |
|
Written on: 03/07/2010
|
|
|
Philipp Hauffe
Topic creator
registered since: 06/20/2008
Posts: 13
|
No, i am running Typo3 4.3.2 I think in the earlier version there were 3 possibilities to choose from, when you generated a map based on a "databank": fe_users, tt_adress, and something with cal_ (but i am not sure anymore...) Now there are only two possibilities: fe_users or tt_adress Philipp |
|
Written on: 03/07/2010
|
|
|
Philipp Hauffe
Topic creator
registered since: 06/20/2008
Posts: 13
|
the third possibility was tx_cal_location But this one doesn't appear anymore if i try to generate a WEC Table Map Plugin Simple MAP Plugin is o.k. Philipp [This article was edited 1 times, at last 07.03.2010 at 17:26.] |