Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

GavynSykes

macrumors newbie
Original poster
Mar 1, 2009
1
0
Hi guys.

I've upgraded to Pages '09 from Pages '08 some weeks ago. I was rebuilding my invoice templates when I found a problem:

In Pages '08 I used a workaround to obtain a particular feature: that a date field automatically adjusts the date to today only the first time the template is opened, when it's saved as a document, every time you open it, the date remains the original one, so there is only a first-time automatic update.

I got this to work following this procedure:

1) I used gunzip from the terminal to decompress the index.xml.gz file in the template package.
2) I copied the index.xml file from the package to the desktop.
3) I used a text editor to open the .xml file
4) I added the sf:eek:ne-shot="true" to the line looking something like <sf:p sf:style="paragraph-style-32"><sf:date-time sf:format="MMMM d, yyyy" sf:locale="en_US" sf:date-style="long" sf:time-style="none" sf:eek:ne-shot="true" sf:val="2007-02-19T14:29:38-0800">February 19, 2007</sf:date-time><sf:br/>
4) I copied the corrected index.xml file back to the template
5)I used gzip to compress the index file again.

Everything worked perfectly.

Now in Pages 09 there isn't any index.xml anymore. So I'm thinking how to obtain the same result in a different way.

Anyone can help me?

Thanks a lot!

Bye ;)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.