Feature Update – *share your program, set *min and *max values on a *chart
Here’s what’s new: |
Here’s what’s new: |
Here’s what’s new: |
Add *navigation to the top of your programLet’s say you were bored one day so you wrote a GuidedTrack program entirely about squids. You can now use the *navigation keyword to provide permanent links at the top of your program that will allow users to jump to different sections of your work. With navigation, your programs can be a lot more like full-fledged apps. Maybe you want to use *navigation to help users access different programs of a comprehensive tool you’ve made, or revise their settings in your well-being program. There’s a lot you can do with navigation and adding it is easy. Here’s an example of how the squid code might look: The program above begins with the navigation keyword, which will be visible immediately when the user starts the program. Each of the four navigation items are indented beneath the navigation keyword. Indented beneath each option is the content users would immediately see if they clicked on that option. Once users are done viewing content from a navigation option, they return to the place they were at before they clicked the navigation. Navigation content can include all other GuidedTrack keywords, not just text. For example, you can add icons to your navigation program, which could look like this: You can even use the *goto keyword to redirect users to other parts of your regular program, as this example does. In this program, the navigation options don’t appear until the user clicks the “Begin” button and the navigation is activated. Once the user clicks “Begin,” the program called “Stache Styles” will also immediately start. Users can go through this program regularly and then begin the next programs in sequence. At any point, the users can also click one of the navigation options to easily review content they may have already seen or to jump ahead to new content that come later in the sequence. If at any point you want to hide the navigation, you can do so by typing *navigation: hide |
An update to *iconDo you remember when we told you that multiple choice and checkbox questions can now get new pieces of flare? No? Good. Because the code for this changed a touch when we upgraded to a new version of Bootstrap. To add an icon to an answer choice, find the icon you like from this NEW link: https://getbootstrap.com/docs/3.3/components/#glyphicons Then, indent the keyword *icon beneath the answer option and type in the full name of the icon. Below is an example: |
Here’s what’s new: |
Share your program with custom-loaded variablesImagine this scenario. You have a GuidedTrack program that you want to share with the world, but you want to give slightly different versions of it to different groups of people. No problem. You don’t need to create multiple GuidedTrack programs in order to accomplish this goal, you just need to tweak the share URL a little bit. Adding a single text variableLet’s say your teenage daughter wants to start dating. You’re sort of okay with that, but you want each date to first take an extensive survey that includes criminal history questions and compatibility scales to ensure they’re a good fit for your little poodlesticks. You want to personalize it a little by adding a variable that uses their name every now and then, so they don’t think you’re weird. Rather than include their name as a variable in the program (which you’d then have to change for the next person who wants to date your daughter), you can add it to the URL like this: https://www.guidedtrack.com/programs/uniqueprogramID/run?name=Danny The wording in bold font is what you would add to the end of your share URL in order to ensure that the variable “name” is defined as “Danny.” Then, you just need to make sure your program uses this variable, with plenty of references like “Howdy, {name}!” Adding a single numerical variableThe process for adding a numerical variable to your program is pretty similar. Here’s an example: https://www.guidedtrack.com/programs/uniqueprogramID/run?x=4 You can define x as any number that you want, including decimal and negative numbers. Just don’t use any commas. Suppose you wanted to do the equivalent of the following command, but through the URL: >> beatles = [“John”, “Paul”, “George”, “Ringo”]
You just have to ensure you add brackets after the name of your variable, like this: beatles[]. You also separate each item in the collection using an ampersand.
https://www.guidedtrack.com/programs/uniqueprogramID/run?beatles[]=John&beatles[]=Paul&beatles[]=George&beatles[]=Ringo Adding multiple variablesSuppose you wanted to do the equivalent of this in the URL: >> x = 3
>> y = 4
>> z = 5
To do this through the URL, you’d separate each of the 3 variables with an ampersand:
|
Tips on editing your program in GuidedTrackFew people know that the GuidedTrack text editor is actually very powerful stuff. There are a number of special shortcuts you can use to become an editing ninja. For example, you can use Ctrl+f (Command+f on a Mac) to bring up a box that will help you find text and Ctrl+h (Command+Option+f on a Mac) to replace text. Pressing Ctrl + , (Command+, on a Mac) will bring up the text editor settings. Click here to learn more ways to be an editing aficionado. |