|
|
Line 6: |
Line 6: |
| }} | | }} |
| | | |
− | You can display different [[ct#Cascade|cascades]] at different times of the day in both [[NATS3]] and [[NATS4]].
| + | [[NATS3]] and [[NATS4]] both offer the option to have specific [[ct#Cascade|cascades]] only be displayed at certain times of the day, which can be set by Timed Cascade Rules. |
| | | |
| == NATS4 == | | == NATS4 == |
− | <p>Go to [[Billers Admin]], setup your cascades, and click the Edit Cascade [[Rules|Rules]] icon. Use show and hide rules to show and hide cascades for a specific time period. For the start and end dates, you can enter any [[Freeform Date|freeform date]]. </p> | + | <p>Go to [[Billers Admin]], setup your cascades, and click the Edit Cascade [[NATS4 Rules|Rules]] icon. Once you are in the Edit Cascade Rule section, click the Advanced Form link to set up a Timed Cascade Rule. |
| | | |
− | <p>'''If a disable rule and an enable rule exist at the same time, the disable rule will be honored over the enable rule.''' </p>
| + | In the Advanced Form fields you can use show (enable) and hide (disable) rules to show and hide cascades for a specific time period. To set up start and end times for your Timed Cascades, enter a [[Freeform Date|freeform date]] or time in the ''Start Time'' and ''End Time'' fields. </p> |
| | | |
| + | <p>'''If a disable rule and an enable rule exist at the same time, the disable rule will take precedence over the enable rule.''' </p> |
| | | |
| | | |
| == NATS3 == | | == NATS3 == |
− | The following PHP code returns a different cascade shortname at different times of the day. To use it, install it in your [[Smarty Plugins#File_Naming_Convention|Smarty plugins directory]], create or enable two [[Hidden Cascades]], set the <tt>$defaultCascadeName</tt> and <tt>$specialCascadeName</tt> to the shortnames of your two hidden cascades, and [[Hidden Cascades#Manually_Adding_a_Cascade_to_a_Join_Form|Manually add a cascade to your join form]]. Use this Smarty function to set the <tt>value</tt> parameter in your cascade form. For example: | + | The following PHP code returns a different cascade shortname at different times of the day, which will allow you to switch between different Timed Cascades. |
| + | |
| + | To use it, install it in your [[Smarty Plugins#File_Naming_Convention|Smarty plugins directory]], create or enable two [[Hidden Cascades]], set the <tt>$defaultCascadeName</tt> and <tt>$specialCascadeName</tt> to the shortnames of your two hidden cascades, and [[Hidden Cascades#manually_Adding_a_Cascade_to_a_Join_Form|Manually add a cascade to your join form]]. |
| + | |
| + | Use this Smarty function to set the <tt>value</tt> parameter in your cascade form. For example: |
| | | |
| <pre> | | <pre> |