This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
Closed
Duplicate
FS#1367 _template.txt parsing problem (dokuwiki-rc2008-03-31)
other
2008-04-07dada
I found out that when a larger _template.txt file is used no template
is loaded into new page edit box at all. The reason (IMHO) is that the
strftime() PHP routine (used to format the whole content of
_template.txt as one string) accepts only 1023 chars as format
specifier string (according to PHP doc - in the fact I was able to use
somewhat larger template).
I solved the problem for myself by splitting the _template.txt into
lines and calling strftime() per line. In file inc/common.php I
replaced one line in pageTemplate() function
Since I am not full time PHP programmer the code is surely not the
best one, but it seems it's working fine. Of course the code works only
on platforms which use single char (\n) line termination...