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.

Moving/Hiding Disclaimer (AKA PanelFooter)

edited May 2008 in Vanilla 1.0 Help
I've seen several threads/posts about this, and I thought i'd add my 2cents to the pool. Many people are asking how to hide the vanilla info added to the panel on the left, and I disagree with what a lot of people are doing. I understand if you aren't interested in having the info on your panel right up front, but adding it to the bottom or the side or another page would be nice. There are several ways to remove the information altogether. The way i've seen most people talk about is to go into your definitions.php file, and on the last line, change it to this: $Context->Dictionary['PanelFooter'] = ''; Fine, that works if you don't want to show the info at all. Another way, which is wrong, but going to add it so that if anyone is doing it they can fix it, is by going into the init_vanilla.php file, and commenting out the following line like so: //$Panel->AddString($Context->GetDefinition('PanelFooter'), 500); The reason you don't want to do this is because if your vanilla install ever gets upgraded, it will overwrite that and you'll lose the settings. The last, and imho the best way to hide the vanilla sidebar infos is to put the following in your css file: #Panel #AboutVanilla{ display: none; } Why do it this way? Because then you can still automagically add the info somewhere else, but it won't display on the panel. (Note that #Panel is the name of the encapsulating div before #AboutVanilla. Your theme might have it named differently). So i've hidden it from the side, now let's add it where I want it! In my custom theme I opened up the foot.php file. I found the line where I wanted to add the info, and then added this line: echo $this->Context->GetDefinition('PanelFooter'); Note that if you want to add the previous line in the middle of a quoted section, you must end the quotes, add a ; and then start the quotes again after the line you just added. Hope that's not confusing? Then in my css, I created a plain definition for "#AboutVanilla" and styled it. Example: #AboutVanilla{ margin: 10px auto; padding: 3px 0px 3px 0px; text-align:center !important; color:#bbb !important; width:180px; } Voila! Now I have the Vanilla infoz on my page still, where I want it, and styled the way I like it. Furthermore, upgrades to Vanilla won't break my styling!


  • Options
    I've seen too many sites that completely remove the notice. (it's ok to reword/minimize it, you just shouldn't altogether remove it.) It disgusts me what people do, especially considering the open source nature of the software! I can understand removing the notice if it was paid-for or proprietary (still free) software, where people are paid to sit behind desks and design software. Having the notice is like giving credit to the countless hours Mark and others have spent working on Vanilla for everyones benefit.

    Make it 4 cents!
  • Options
    I wouldn't want to remove it, and I don't see the need to do so. You can barely see it. It's very tastefully architected. Be glad it's not glaring or even obvious. Above all, and this is most important, it's not obnoxious, so therefore tolerable. Think of it as a designer label without the price tag.
  • Options
    "Think of it as a designer label without the price tag."
    But I want to pay $50 for that swoosh on my shoes!
This discussion has been closed.