Thanks to Gerhard and Rafael, I got the event module working. But now when I create an event, it doesn't show up on the calendar nor on the Events list. I looked at the node table in MySQL and it has the two test entries I created. But they just don't appear on the webpage. Is there something I have to toggle on to make them visible? TIA.
Petre
On Sun, 22 May 2005, Petre Scheie wrote:
Thanks to Gerhard and Rafael, I got the event module working. But now when I create an event, it doesn't show up on the calendar nor on the Events list. I looked at the node table in MySQL and it has the two test entries I created. But they just don't appear on the webpage. Is there something I have to toggle on to make them visible? TIA.
Do the entries also show up in the event table? They need to in order to show up in the calendar or be treated as an event in general.
Cheers, Gerhard
No, the event table appears to be empty:
mysql> select * from event; Empty set (0.00 sec)
That would explain why nothing shows up in the calendar. ;-) So, the question becomes, why aren't the events getting into the event table?
Gerhard Killesreiter wrote:
On Sun, 22 May 2005, Petre Scheie wrote:
Thanks to Gerhard and Rafael, I got the event module working. But> now when I create an event, it doesn't show up on the calendar nor> on the Events list. I looked at the node table in MySQL and it has> the two test entries I created. But they just don't appear on the> webpage. Is there something I have to toggle on to make them> visible? TIA.
Do the entries also show up in the event table? They need to in order toshow up in the calendar or be treated as an event in general. Cheers, Gerhard -- [ Drupal support list | http://lists.drupal.org/ ]
On Mon, 23 May 2005, Petre Scheie wrote:
No, the event table appears to be empty:
mysql> select * from event; Empty set (0.00 sec)
That would explain why nothing shows up in the calendar. ;-) So, the question becomes, why aren't the events getting into the event table?
Can you have a look at the variables that start with event_nodeapi_ in the variables table? If there are none, you didn't configure any node types as events.
Cheers, Gerhard
mysql> select * from variable where name like 'event_nodeapi_%'; +-------------------------+------------+ | name | value | +-------------------------+------------+ | event_nodeapi_flexinode | s:3:"all"; | +-------------------------+------------+ 1 row in set (0.00 sec)
I think this means I configured one, which sounds right. And it would have been a flexinode type, as there were only two other choices and neither of them seemed right (I think they were the drupal default types).
Gerhard Killesreiter wrote:
On Mon, 23 May 2005, Petre Scheie wrote:
No, the event table appears to be empty:>> mysql> select * from event;> Empty set (0.00 sec)>> That would explain why nothing shows up in the calendar. ;-) So,> the question becomes, why aren't the events getting into the event> table?
Can you have a look at the variables that start with event_nodeapi_ inthe variables table? If there are none, you didn't configure any nodetypes as events. Cheers, Gerhard -- [ Drupal support list | http://lists.drupal.org/ ]
Op maandag 23 mei 2005 18:34, schreef Petre Scheie:
mysql> select * from variable where name like 'event_nodeapi_%';
Makes me assume you do not have any prefix enabled. Because that could be a part of the problem. I have seen people adding database.mysql with the prefix, but not add that to any additional sql files.
Regards, Bèr
I don't understand. How do I enable a prefix?
TIA
Petre
Bèr Kessels wrote:
Op maandag 23 mei 2005 18:34, schreef Petre Scheie:> mysql> select * from variable where name like 'event_nodeapi_%'; Makes me assume you do not have any prefix enabled. Because that could be a part of the problem. I have seen people adding database.mysql with the prefix, but not add that to any additional sql files. Regards, Bèr-- [ Bèr Kessels | Drupal services www.webschuur.com ]-- [ Drupal support list | http://lists.drupal.org/ ]
On 5/25/05, Petre Scheie petre@scheie.homedns.org wrote:
I don't understand. How do I enable a prefix?
Did you try editing the node? the event module adds fields for start and end time for the node types that you define as events.
However, I'm having problems with the 4.6 version as well, as it doesn't seem to save these fields...
Grtz, Breyten (look! I'm posting again;)
Where do I edit the node? Under administer->content->content types->list? Or administer->settings->event? I don't see anything about editing the node in either of these places. In administer->content->content types->list I can control some aspects of events, like what fields appear in an event. But I don't think that's what you're referring to.
Petre
Breyten Ernsting wrote:
On 5/25/05, Petre Scheie petre@scheie.homedns.org wrote:> I don't understand. How do I enable a prefix? Did you try editing the node? the event module adds fields for startand end time for the node types that you define as events. However, I'm having problems with the 4.6 version as well, as itdoesn't seem to save these fields... Grtz,Breyten (look! I'm posting again;)-- [ Drupal support list | http://lists.drupal.org/ ]
Okay, I feel foolish: The events weren't showing up in the calendar because in admin/node/configure/types I had left the 'Show in event calendar' set to None. I changed it to All Views and now the events appear.
With that problem fixed, I have another related question. The Start and End fields are rather clumsy--no pull-down list for the date, I don't want/need an End date/time--while the Date/Time field provided by 'add date/time' under admin/node/types is graceful in the form, but setting it doesn't connect it to the date specified. How do I turn off/remove the clumsy default Start & End date functions and just use the date/time field from admin/node/types such that it actually sets the date on the calendar? If I just add date/time, then I get both, which isn't what I want. Thanks.
Petre
Petre Scheie wrote:
Where do I edit the node? Under administer->content->content types->list? Or administer->settings->event? I don't see anything about editing the node in either of these places. In administer->content->content types->list I can control some aspects of events, like what fields appear in an event. But I don't think that's what you're referring to. Petre Breyten Ernsting wrote:> On 5/25/05, Petre Scheie petre@scheie.homedns.org wrote:> I don't understand. How do I enable a prefix?> Did you try editing the node? the event module adds fields for startand end time for the node types that you define as events.> However, I'm having problems with the 4.6 version as well, as itdoesn't seem to save these fields...> Grtz,Breyten (look! I'm posting again;)-- [ Drupal support list | http://lists.drupal.org/ ]> -- [ Drupal support list | http://lists.drupal.org/ ]
Op woensdag 25 mei 2005 03:50, schreef Petre Scheie:
I don't understand. How do I enable a prefix?
If you do not know how to enable it, the chance is very small you enaabled it :)
Database prefixes are a trick to allow you to easily use more applications on one database. It simply adds drupal_ (for example) to each drupal database table.
Regards, Bèr