How to edit FAQ

Hey, guys!
How I can edit my FAQ page. I’m using a ironwood version.

@Chack, you can set content for the FAQ page, and other defined static pages with the following variables:

  • static_template_{template_name}_content
  • static_template_{template_name}_header

These variables should be set in the site configuration: visit /admin/site_configuration/siteconfiguration/ on the lms, edit the active or desired site configuration, and set the variables formatted as a json object. For example:

{"static_template_faq_content": "<p>example faq content</p>"}

These values are cached, so it may take a few minutes before changes will display on the faq page.

I don’t know if there are official docs for this, but for reference, the code that controls this lives here.


@swalladge, this is indeed a hidden gem which one can get if he/she has an idea about this codebase.

Yes, you are right. I also do not see any documentation about this, discovered it while exploring the codebase.


@jramnai Btw, if you would like to add it to the documentation, that could be a good way to pass on the help forward to the next person who will need to do this :slight_smile:

1 Like

Sure @antoviaque, I will try to add this to the documentation.

1 Like