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.
Panel Elements
Hi, I'm trying to modify the contents of the panel, and I want to edit the div that says "Vanilla 1.1.1 is a product....". I'd rather not output my specific version. I've found that it gets output in this loop in panel.php
while (list($Key, $PanelElement) = each($this->PanelElements))
I am not sure where to find the PanelElements array though. I've got the nuggets extension, but it doesn't seem to be helpful for removing current panel elements. Thanks for your time.
0
This discussion has been closed.
Comments
In Languages/English.php line 595 you have this
/* Please do not remove or alter this definition */ $Context->Dictionary['PanelFooter'] = '<p id="AboutVanilla"><a href="http://getvanilla.com">Vanilla '.APPLICATION_VERSION.'</a> is a product of <a href="http://lussumo.com">Lussumo</a>. More Information: <a href="http://lussumo.com/docs">Documentation</a>, <a href="http://lussumo.com/community">Community Support</a>.</p>';
just remove the .APPLICATION_VERSION. (including the periods)
<?php /* Extension Name: Remove Version Number Extension Url: N/A Description: Remove Version Number. Version: 0.1 Author: Me Author Url: N/A */ /* Please do not remove or alter this definition */ $Context->Dictionary['PanelFooter'] = '<p id="AboutVanilla"><a href="http://getvanilla.com">Vanilla</a> is a product of <a href="http://lussumo.com">Lussumo</a>. More Information: <a href="http://lussumo.com/docs">Documentation</a>, <a href="http://lussumo.com/community">Community Support</a>.</p>'; ?>
if ($Type == 'List') { ... } elseif ($Type == 'String') { if ( !strstr($this->Strings[$Key], "Lussumo") ) echo $this->Strings[$Key]; }