Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
How to Add this Kind Of Dropdown Menu
This discussion is related to the Bootstrap addon.
edited March 2015 in Vanilla 2.0 - 2.8
There's a function in the framework that will make buttons like this. You can find the function in /library/core/functions.render.php
Use it like this
Since you are a beginner, I could imagine that was not much of a help
You would need to create a plugin that helps you writing that code at the place you like it to appear. Without exactly telling us where you like it to be seen, we wouldn't be able to help you, sorry.
I can Understand what are you tell
@R_J at Where put this code in functions.render.php ... if you free tell some of part above this.. Thanks..
Sorry, seems like I understood you wrong. You do not want to create anything by yourself, but the "Ask a Question" button is not working as you expected, right?
Let me have a look at that...
@R_J Yes.. in Vanilla 2.0.18 Its Work Perfectly..
I want to make drop down menu for this. it will easy to select question or discussion.
In Vanilla forums also using this step.. is it make using CSS or What ?
Get the newest version from GitHub: https://github.com/vanilla/addons/blob/master/plugins/QnA/class.qna.plugin.php
Then look at the class.qna.plugin.php and search for "AddButton". The complete function is commented. Delete all the "//" comments from the function and you'll have that drop down again.
I was wondering why that hasn't been asked before, but that was a mistake: http://vanillaforums.org/discussion/comment/208152/#Comment_208152
And I wonder why there have been no Issue on GitHub. Now there is
Thanks Bro.. I will Try hard to get that