Created
July 8, 2014 13:18
-
-
Save Cipa/db303f3771f782c24f2c to your computer and use it in GitHub Desktop.
add an empty select option to a TV
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@SELECT '-- Select --' as pagetitle , '' AS id UNION ALL SELECT `pagetitle`, `id` FROM `[+PREFIX+]site_content` WHERE `template` IN (8, 12, 16, 17) AND `deleted` = 0 and `published` = 1 ORDER BY pagetitle ASC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment