Calendar.txt template doesn't support non-calendar pages anymore

Bug #785675 reported by Waldemar Zurowski
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zim
Fix Released
Undecided
Unassigned
zim (Ubuntu)
New
Undecided
Unassigned

Bug Description

Before upgrade to Ubuntu 11.04 (and zim 0.50) I used to create a lot of meeting pages in Calendar namespace. After the upgrade every page with is not a 'day' page produces "TEMPLATE ERROR - NO DATE" when created from the template.

I'd prefer to have a content of DEFAULT.txt file instead, so pages in Calendar namespace outside Calendar plugin context are not affected and can work as any other page.

Thank you in advance,
  Waldemar

Revision history for this message
Jiří Janoušek (fenryxo) wrote :

I can reproduce it also with Zim 0.52 (trunk, rev404).

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 785675] Re: Calendar.txt template doesn't support non-calendar pages anymore

You can change this behavior by modifying the template files
"templates/wiki/Calendar.txt". Please attach a proposal here how to change
it.

Revision history for this message
Waldemar Zurowski (waldemar-zurowski) wrote :

Hi there,

I'm including a modified Calendar.txt template file. I've also added an extra empty line after each selection, because I found it very useful that extra space is already inserted in a new zim page.

Best regards,
  Waldemar

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Thanks for the fix, will commit it with rev410

Changed in zim:
status: New → Fix Committed
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Fix released in zim 0.53.

Changed in zim:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.