Heya,
So I got the "Calendar" module working (had to install "Event", "Date", "Views" and "Calendar" modules) but I can't seem to figure out how to pull the calendar it produces into a new page.

Can anyone help? Thanks!

Comments

bwv’s picture

You do not need calendar (a view) and event at the same time, necessarily. The calendar by default is /calendar, and event, is /event.

To pull the event/calendar into a new page, you can use panels, or you can use this code in a regular page with the input format set to php:

<?php
$q = $_GET['q'];
$_GET['q'] = 'event';
print menu_execute_active_handler();
$_GET['q'] = $q;
?>

If you are using the calendar view, replace event above in quotation marks with calendar.

----------------------------------------------------------------------
http://www.bwv810.com/

I am a writer and researcher. In my spare time I build websites with Drupal.
Je peux communiquer en français. / Я могу общаться на русском языке.