Skip to main content

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_1
  • faq.app_type.answer_1

Where:

  • app_type is the app name (please, use underscore)
  • question_1 is the question and the question's number
  • answer_1 is 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_title
  • plugins_landing_page.app_type.meta_description

Where:

  • app_type is the app name (please, use underscore)
  • meta_title is the meta title of the app
  • meta_description is the meta description of the app