#6112 - Advanced tutorial for {$SET} and {$GET}
| Identifier | #6112 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | Advanced tutorial for {$SET} and {$GET} |
| Status | Open |
| Handling member | Deleted |
| Addon | General / Uncategorised |
| Description | I imagine that a lot more can be done using these values. I have some Gallery videos which are using these values to provide a link to the equivalent Facebook videos. There are some empty {$SET} values and it would be great to know the code to provide a list of Videos which are not on Facebook (hence need uploading) and vice versa. I think this would be a good example in general, if it is indeed possible. |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
{+START,IF_EMPTY,{$GET,some_value}}Show something to indicate it needs uploaded{+END}
{+START,IF_NON_EMPTY,{$GET,some_value}}This video exists on Facebook{+END}
I was wondering if there was a way to output the Facebook videos with an empty {$GET,FACEBOOK_ID) on a Comcode page (in a list) using these values somehow, Not sure if it's possible to dp that, not sure if these values are global. Maybe they are limited to the scope they exist in. Maybe a Symbol would do it. I have no clue, hence asking if it's possible to make an advanced use of these Tempcode variables, if so, I think that would useful to tutorialise.
(Click to enlarge)
(Click to enlarge)