How to create FAQ to new plugins
At app/helpers/application_helper.rb:751 we have a helper method called plugin_app_details_faq.
You will need to add app_type that you want to create a new FAQ at the existing hash.
Let's suppose I want to add a FAQ to countdownTimer app, and also it will have 10 questions, so I need to do something like this:
def plugin_app_details_faq
{
"formBuilder":{
:questions => 8,
},
"contactForm":{
:questions => 7,
},
"countdownTimer":{
:questions => 10,
},
}
end
Also, you will need to create simple copies to it, using the following keys:
faq.app_type.question_1faq.app_type.answer_1
Where:
app_typeis the app name (please, use underscore)question_1is the question and the question's numberanswer_1is the answer and the answer's number
Adding meta tag title and meta tag description at FAQ​
To add a meta tag title or meta tag description to an specific app at FAQ you will need to create a simple copies to it, using the following keys:
plugins_landing_page.app_type.meta_titleplugins_landing_page.app_type.meta_description
Where:
app_typeis the app name (please, use underscore)meta_titleis the meta title of the appmeta_descriptionis the meta description of the app