Allows for us to see what pages have aspects that still need some work and what pages don't. In addition, it can allow us to make decisions based upon whether a page exists or not within templates.
As of Gamma 4, you can use [var]id|Page Name[/var] to get the database record ID for a given page. It will return 0 if the page doesn't exist. Simply use this as the condition in your if construct to make an if-exists equivalent.
If legacy markup support is enabled, Gamma 4 automatically converts
This particular method was chosen because the ID itself is more useful than simply knowing if the page exists. With the ID, you can apply the page in form data or find other uses for it.
This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.