By: bill
Date: 2011-10-21
Time: 17:01
|
onshow in header
Looking at the demo template it says:
Example #5: merging data in Header and Footer. demo for “[onshow.yourname]”
OpenTBS automatically merges “onshow” and “onload” fields in the header and the footer.
so I put [onshow.reportTitle] in my libreOffice template header and have a variable "$reportTitle" in my php script, but it does not merge.
If I put [onshow.reportTitle] in the body of my template, it does merge.
I must be missing something. Do I need to explicitly open styles.xml to do an onshow merge in the header ?
Merci,
bill
|
By: Skrol29
Date: 2011-10-22
Time: 00:09
|
Re: onshow in header
Hi Bill,
I cannot reproduce your problem. Is your template an ODT file?
|
By: bill
Date: 2011-10-22
Time: 12:55
|
Re: onshow in header
Yes.
Michigan Psychotherapy [onshow.reportTitle] - [onshow.reportDate]
|
Could it be because I am at
* OpenTBS version: 1.4.1
* TinyButStrong version: 3.6.1
bill
|
By: bill
Date: 2011-10-22
Time: 13:45
|
Re: onshow in header
I upgraded to 1.7.3 - still have the same problem.
|
By: Skrol29
Date: 2011-10-22
Time: 18:12
|
Re: onshow in header
Can you also upgrade TBS to 3.7.0 ?
If it does not work, you can send to me the template + snippet.
|
By: bill
Date: 2011-10-23
Time: 17:08
|
Re: onshow in header
All is well, It turned out that there was an unexpected directory in the class load path that had old versions of both TBS and openTBS.
Thank you for your time and effort.
bill
|
|
Posting in progress.
Please wait...
|