Loading...
 
Skip to main content

Features / Usability


Calendar PlugIn?

posts: 63

Is there a way to get the calendar to display in a wiki page? Can the calendar displayed be the main wiki calendar?

Tim

posts: 40 Austria

i have the same question. did you find any solution to display the calendar inside a wiki-page?

i am currently considering...

1. browsing through the forums for an answer (already browsed the doc-pages espec.on PlugIns to no avail)

2. trying to call the calendar-display page within a wiki-page via iframe or even Snarf?

3. embedding via RSS (though i lose the nice design of the tiki-calendar incl. the display of events via mouse-over )

if anyone has any ideas/experiences/solutions - i would be VERY interested...

posts: 40 Austria

ad 1.
i found that i could display the next events by putting "upcoming events"-module on the left or right.
not what i needed, but at least one way to spread event-information across the site.

any other ideas?


posts: 30

> Is there a way to get the calendar to display in a wiki page? Can the calendar displayed be the main wiki calendar?
>
> Tim
>

This should display the calendar in a wiki page

{MODULE(module=>calendar){MODULE}

For me, it displays although it stretches across the entire page width. I'm not familiar with the calendar module. If it takes arguments, they can be passed to control the module's behavior.

John


posts: 4664 Japan

The full Tiki calendar maybe could be displayed in a wiki page if a plugin were written, or a module to be displayed in the wiki page via a plugin, that adapted the calendar tpl/php files.

An iframe could be used, but again files would have to be modified. I don't think you'd want the side columns and top and bottom bars in the iframe, so a middle-center-only version of tiki-calendar.tpl would have to be used. And links would be a problem since linked-to pages would open within the frame.

Snarf is possible and if you're handy enough with regular expressions to limit the content displayed to the calendar itself, that might work.

But if your calendar changes very often, the calendar in the wiki page might not stay up to date if pages are cached.

I kinda wonder what advantages the calendar in a wiki page would have over the calendar on the calendar page, though.

-- Gary

BTW, modules' widths are specified in CSS with the div class="box box-{$module_name}". If this isn't set in a theme (some rely on the side columns' widths to restrain the box width), the module could spread to the full wikitext width in a wiki page. As far as I know, module parameters don't include width.


posts: 22 United States
I found the calender in Tiki a little unattractive when displayed. I have linked another iCal/vCal compatible calendar in my site. I am currently using Weblcaendaron my site through an iframe using very minimal code from the Webcalendar documents. It looks decent and the calendar is pretty well written. It's a php app and very configurable.

posts: 30

Revisiting this topic in 2008:

> This should display the calendar in a wiki page
> MODULE(module=>calendar){MODULE}

This doesn't work for me in tw 2.0 - simply gives a drop down box asking 'which module?'

Incidentally from a previous thread:
>CALENDAR(calendarId=1)}{CALENDAR}
This doesn't work for me in tw 2.0 either - 'no such module'

(I omitted opening brackets for both examples so they'd display)

> I kinda wonder what advantages the calendar in a wiki page would have over the calendar on the calendar page, though.

Perhaps to have some explanatory text, eg below the calendar, or links to other relevant pages?

I have a specific question: I want a wiki link to the calendar; I can do (Page2)) to link to 'page 2', but how do I link to the calendar? I can do ~url~|calendar] but that displays differently. (again I've omitted opening brackets - I'll have to figure out what the nowiki syntax is soon ๐Ÿ˜‰ )

Thank you.

posts: 3665 United States

>
>This doesn't work for me in tw 2.0 - simply gives a drop down box asking 'which module?'
>

Odd.... it is working fine for me in 2.0. Please confirm that you are using the correct syntax and that you do, in fact, have the calendar module. Both methods:

Copy to clipboard
{MODULE(module=>calendar) /} {MODULE(module=>calendar,calendarId=1) /}

work, as expected, for me. Note that in your example, your syntax for identifying a ''specific calendar ID was incorrect.

>
>I have a specific question: I want a wiki link to the calendar; I can do (Page2)) to link to 'page 2', but how do I link to the calendar? I can do ~url~|calendar] but that displays differently. (again I've omitted opening brackets - I'll have to figure out what the nowiki syntax is soon ๐Ÿ˜‰ )
>

AFAIK, the only way to do this is via an external link:
[tiki-calendar.php|calendar]

And the wiki sytnax for "nowiki" is ~np~. Please see the docs for details.


HTH,

-Rick
Need more help? Try TikiWiki for Dummies Smarties or read my Tiki Blog or visit my UserPage


posts: 30

Hi Rick
Thanks - I was trawling the forum in an attempt at self-help.
The syntax I used was simply copied from the forum posts, and did not work. Your syntax is slightly different and it does work. So that's a good result, because others will find the same posts in the archive in the future.

Wiki links: I've now settled for:
[tiki-calendar.php|calendar]


posts: 1 Uruguay
Is it possible to post Tasks To Do on a particlular date in the Calendar that do NOT have a Start Time or a Duration assciated with them? TIA. Paul.

posts: 30
I've not found a way - but I'm a newcomer. Someone else might know better.