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.

Add a simple line of text to the footer

edited July 2007 in Vanilla 1.0 Help
How exactly do I add a simple line of text to the footer? I am very unfamiliar with php and don't know where to insert the text. I've tried a couple different places but get this error message: Parse error: parse error, unexpected T_STRING in /home/content/c/o/l/coltsalumni/html/forum/themes/foot.php on line ____ Thanks in advance for the help!

Comments

  • If your are using the default theme, look for this line in your languages/definitions.php: (should be all the way down to the bottom)
    /* 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>';

    Copy that line to your conf/language.php file and add the text you want to it.
  • sjeeps - that didn't work, any other suggestions? Do I need to edit the foot.php file?
  • edited July 2007
    You are at the right place--that T_STRING error usually means you have some misplaced quotes somewhere.

    Try inserting inside this line like so: echo '</div> <a id="pgbottom" name="pgbottom">&nbsp;</a> My line of text here. Make sure there aren"t any unescaped single quotes or apostrophies. </div>'
  • WallPhone - Perfect, thank you!
This discussion has been closed.