Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Page Manager questions
How can I expand the html field on the Page edit or add option? It is only 2 lines high which is not enough to see the text and code you are entering. Is this style dependent? I am using vaneablack.
The second question is more technical. This has to do with extensions and how you control their execution. Typically you find in an extension the following:
if (in_array($Context->SelfUrl, array("index.php", "categories.php", "comments.php", "post.php", "search.php")) && ($Context->Session->UserID > 0))
If I wanted to control an extension to execute on a specific Page that I've added, what would I add to this "if" statement?
Thank you for your help.
0
This discussion has been closed.
Comments
I still need some help with the second question, please.
I have a page called "Podcast"
if ((in_array($Context->SelfUrl, array("index.php", "categories.php", "comments.php", "post.php", "search.php")) || ($_GET['Page'] == 'photographs')) && ($Context->Session->UserID > 0))
Thank you.