This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

Question : How-to call dynamically the calendar, the name of the current page changing for each page ?#

Explanation:#

The calendar is really interesting to filter the blogs. But the weblog plugin allows any page to start a blog: if I start a blog inside a page named MyLog, all the entries will be named MyBlog_blogentry_DDMMyy_x. I'd like the calendar to change its parameters for each page.

Exemple:#

<wiki:Calendar pageformat="'<wiki:PageName/>Main_blogentry_'ddMMyy'_1'" urlformat="'Wiki.jsp page=<wiki:PageName/>&weblog.startDate='ddMMyy'&weblog.days=1'"/>

But of course impossible to insert a "<wiki:" inside another "<wiki:" (well I guess).

Can someone tell me how to do this, I don't really master the jsp. Thanks

--FrancoisParlant


Question: Can I insert the Calendar Plugin inside an entry?#

Exemple:#

[{INSERT com.ecyrd.jspwiki.tags.CalendarTag WHERE pageformat="'Main_blogentry_'ddMMyy'_1'"; urlformat="'Wiki.jsp?page=Main&weblog.startDate='ddMMyy'&weblog.days=1'"}]

And if yes, how-to insert a $pagename variable inside it (see previous question)?

[{INSERT com.ecyrd.jspwiki.tags.CalendarTag WHERE pageformat="'[{$pagename}]_blogentry_'ddMMyy'_1'"; --FrancoisParlant


CalendarTag Ideas

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
png
CalendarExample.png 2.9 kB 1 20-Apr-2004 18:09 MDeichsel
« This particular version was published on 26-Aug-2003 11:35 by FrancoisParlant.