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.
Getting this of my chest
Hello to you all again :-)
I am trying to do something with the sidepanel as it seems to take up a lot of space and not do much most of the time. The options are
1. Make it smaller (narrower). From the searches I have done this somehow involves the vanilla.css file. I have looked in there and found all the .panel bits. Wherever there was mention of width (mostly 219px) I changed it to 100px. That didn't work. I then noticed 2 image file that were 219px wide so I thought maybe they were stopping the panel from shrinking so I reduced the width of them also, but that didn't work either. I decided to go for option 2.
2. Only show the side panel where necessary (account stuff). I found that Panelhide is no longer available, and that Panelhider is not complete. The next best option was to use Page Manager and add some code (as suggested by the developer of Page Manager). I downloaded the zip and read the readme which said...
"If you have mod_rewrite enabled (and are taking advantage of that in
your vanilla install), add these lines to your .htaccess file:
#Pages
RewriteRule ^page/(.*)$ index.php?Page=$1 [QSA,L]"
BUT the vanilla extensions instructions are
"In order for Vanilla to recognize an extension, it must be contained within its
own directory within the extensions directory. So, once you have downloaded and
unzipped the extension files, you can then place the folder containing the
default.php file into your installation of Vanilla. The path to your extension's
default.php file should look like this:
/path/to/vanilla/extensions/this_extension_name/default.php
Once this is complete, you can enable the extension through the "Manage
Extensions" form on the settings tab in Vanilla."
However, I found 3 files but no mention of what to with the 2 not called 'default.php'
Does any clever chap have the time and knowledge to assist me further with either option 1 or 2?
Many thanks
0
This discussion has been closed.
Comments
Concerning changing the Panel css, that is one part. You might also have to change the Content. Then, don't forget to do a hard refresh to see the css changes. I know that I usually forget that and then wonder why my changes didn't work.