Monday, 26 December 2022
  3 Replies
  864 Visits
0
Votes
Undo
  Subscribe

Hi brothers and thanks for a super program!

I am looking to create a new template for printing.
We are using the weekend chairman to contact the visiting speaker and get the infomration.

I would like to be able to print a form with the necessary info for the chairman (date, speaker, theme, congregation, phone, email, host family etc)

And then I would like to add a short text with a few instructions and a small form to fill in if the speaker wish to accept coverage for travelling expenses (some criterias are need to be met due to swedish legislation)

I took the WE-CallList and tried to alter it but there are some things I don't really get.
For instance I tried to add the emailadress of the visiting speaker by adding 
"#IF !PT_SPEAKER_EMAIL!#<br>!PT_SPEAKER_EMAIL!#ENDIF#" before the concluding <b> on line 56

But it wont print the email adress, but it just prints "PT_SPEAKER_EMAIL"

When I checked the PT-TalksOfSpeakers_Simple.htm it used that tag to print the email and it works. so I guess I' mmissing out on something here.

Are there any instructions on creating your own htm-reports?

With love from sweden,

Jonas Bergstedt, Hallstavik, Sweden

5 months ago
·
#9824
Accepted Answer
0
Votes
Undo

I think this is an omission in the setup of the programme, but what you want to do is not (now) possible, as far as I can judge.

If you would open the template in e.g. Visual Code Studio, and you start typing !PT_SPEA  it will give you a list of everything starting with that string that you may use, and the mail address tag is not in that list. So that starts you to worry...

After finding this out, I went to the Help file and you will find that the email address tag is available for templates that list outgoing speakers. Only. Of course you want the email of incoming speakers. There seems to be no printing tag for those at all.

So they need to be texted rather than mailed, by the looks of it :-|


https://www.theocbase.net/support-forum/post/1097-donations.html

For accessing the database my personal preference is http://sqlitebrowser.org/

For editing templates I now use https://code.visualstudio.com/ 

 


5 months ago
·
#9833
0
Votes
Undo

Same here... ;-)  


https://www.theocbase.net/support-forum/post/1097-donations.html

For accessing the database my personal preference is http://sqlitebrowser.org/

For editing templates I now use https://code.visualstudio.com/ 

 


5 months ago
·
#9825
0
Votes
Undo

Thanks for the reply!

I came to the same conclusion looking in the \theocabse\docs\en\printing_tags_we_meeting.html

Seems as email for incoming speakers is not included.
I decided to go withouot that information.

But otherwise it's getting along quite well with the file, allthough I guess that someone who actually knows what hes doing would scream in horror looking at my htm-file :)


Jonas Bergstedt selected the reply #9824 as the answer for this post — 5 months ago
5 months ago
·
#9824
Accepted Answer
0
Votes
Undo

I think this is an omission in the setup of the programme, but what you want to do is not (now) possible, as far as I can judge.

If you would open the template in e.g. Visual Code Studio, and you start typing !PT_SPEA  it will give you a list of everything starting with that string that you may use, and the mail address tag is not in that list. So that starts you to worry...

After finding this out, I went to the Help file and you will find that the email address tag is available for templates that list outgoing speakers. Only. Of course you want the email of incoming speakers. There seems to be no printing tag for those at all.

So they need to be texted rather than mailed, by the looks of it :-|


https://www.theocbase.net/support-forum/post/1097-donations.html

For accessing the database my personal preference is http://sqlitebrowser.org/

For editing templates I now use https://code.visualstudio.com/ 

 


  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!