Welcome, Guest
Username: Password: Remember me
1. The "search..." box above searches the Docs & Forum Posts. The "Search" tab above just searches the Forum Posts. :side:
Please use these to search for your issue *before* creating a new message topic, as your issue may have been previously solved.
2. Please put your Club # and Club Web Address in your Forum Signature (best) OR in each post to get faster support from us.
Click here to edit your signature at the bottom of the Profile Information tab.
3. Our user and admin docs are available at: support.toastmastersclubs.org/doc "There's a doc for that!" ;)
4. There is an "Opt In" Feature for newly added members. The Opt In document explains the strikethrough member information. Click Here to View the Post
5. When posting a New Topic , please include all relevant details and be specific. When did your issue 1st occur? What operating system, browser, & browser version are you using? Did you refresh your browser cache? Are your cookies enabled? Lastly, a screen shot is often helpful.
6. Please abide by the Terms of Use . We are volunteers contributing our spare time. We are happy to assist you, so long as you are respectful and courteous.
7. We are always looking for new FreeToastHost Ambassadors to join our team and support fellow Toastmasters in their use of the FreeToastHost website system. If you are familiar with the system and have some interest, send a Send Us a Private Message.
  • Page:
  • 1

TOPIC:

Variable scope inquiry 5 years 7 months ago #78002

  • NotLiable
  • NotLiable's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 245
  • Thank you received: 38
Hi,
I reviewed your post "[2019-09-27 09:35:18 GMT, FTH Developer] More variables have been added for your use in Agenda Emails." To test out all variables, I updated my test file bo be as below. It looks like some variables (FN caps, LN caps, caward, laward, and awards) only work within the scope of generating a name tag, while others might be confined to the scope of an agenda e-mail and/or Basic e-mail setting. Is this the case, where certain variables are only available in specific contexts?
Next, I can't figure out what the nextmtgcount and nextmtgordinal variables represent. When I, in the meeting agenda context, send the field test e-mail, those fields showed nextmtgcount: 127 and nextmtgordinal: 127th. What do "127" and "127th" mean?
It seems that an explanation (including scope) of all available variables would be worthwhile to include in the documentation.

Regards.

<!DOCTYPE html>
<HTML xmlns="www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<BODY>
<!--
File: FTH Variable Test.html
Author: Arthur L. Farnsworth
Purpose: File to test all of the variables offered by FTH
Created: 10 Jul 2017
Revisions: 31 Aug 2017 Rename file from Name badge test.html
28 Nov 2019 Add remaining variables to test them all
-->
<!--
Print all field names and values
-->
name: {{name}}<BR>
firstname: {{firstname}}<BR>
lastname: {{lastname}}<BR>
FN caps: {{firstnamecaps}}<BR>
LN caps: {{lastnamecaps}}<BR>
namesuffix: {{namesuffix}}<BR>
datejoined: {{datejoined}}<BR>
membersince: {{membersince}}<BR>
officerrole: {{officerrole}}<BR>
emeritus: {{emeritus}}<BR>
clubname: {{clubname}}<BR>
clubnumber: {{clubnumber}}<BR>
caward: {{caward}}<BR>
laward: {{laward}}<BR>
awards: {{awards}}<BR>
<!--
Here are variables added for agenda e-mails
See support.toastmastersclubs.org/2011-10-23...ed-for-agenda-emails
The first set are Member Variables, which are the name, firstname, lastname, namesuffix, officerrole, and emeritus variables from above.
Next are the Next Meeting Variables
-->
nextmtgtm: {{nextmtgtm}}<BR> <!-- Name of TMOD for next meeting -->
nextmtgttm: {{nextmtgttm}}<BR> <!-- Name of Table Topicsmaster for next meeting -->
nextmtgge: {{nextmtgge}}<BR> <!-- Name of General Evaluator for next meeting -->
nextmtgdate: {{nextmtgdate}}<BR>
nextmtgtime: {{nextmtgtime}}<BR> <!-- Start time of next meeting -->
nextmtgcount: {{nextmtgcount}}<BR>
nextmtgordinal: {{nextmtgordinal}}<BR>
<!--
Lastly, the Club Website Variables. clubname and clubnumber from above are here, as is weburl
-->
weburl: {{weburl}}<BR>
<!--
There are also adminname and adminemail
-->
adminname: {{adminname}}<BR>
adminemail: {{adminemail}}<BR>
</BODY>
</HTML>
The topic has been locked.

Variable scope inquiry 5 years 7 months ago #78003

  • SteveTheTechie
  • SteveTheTechie's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 11526
  • Thank you received: 3795
The only variables that are valid for a particular context are those that are in the drop-down list or pop-up associated with that context.

1. I will not be making all variables available for all context.
__Reason: Variables that associated with a particular member's name or a particular meeting would have no meaning when inserted in a general web page. (specific examples for illustration)

2. There are really three categories of variables, at this time:
__a. Information about a particular member.
__b. Information about a particular meeting.
__c. General club/website information.

__> There may be other variables added in the future for these categories. We also have variables for dues notices, but unfortunately, those are (currently) totally separate and implemented completely differently.

3. I am very reluctant to make commitments about what variables will or will not be added. In fact, some could be eliminated in the future. (Think {{caward}} & {{laward}}, for example, which do not work with Pathways.)

4. nextmtgcount: 127 and nextmtgordinal: 127th are just related to a count of many meetings (agendas) your club has in the system. e.g., "Meeting # 127" or "127th Meeting".

5. I think we would be happy for any kind of documentation contributions you would like to make related to this.
Last edit: by SteveTheTechie.
The topic has been locked.
  • Page:
  • 1
Moderators: Pamjliumarc33NotLiabledeedubbleyooNSBPhyllis Kirouac
Time to create page: 0.069 seconds
Powered by Kunena Forum