How to show the site variables in CKEDITOR?

edited February 2018 in Modules
I have a site variable defined.

EXAMPLE:

RATIO

with the value of:

Do not leave any space between colon and the numbers in your answer. e.g. 5:8


When I type {fuel_var('RATIO')} on the ckeditor, it doesnt render the value.

Please help me

Comments

  • Do you want it to render within the ckeditor (it can't do that) or on the website page?

    Add 'fuel_var' to the list of allowed functions in ./application/config/fuel_config.php
  • edited 4:58AM
    So how to render in CKeditor?
  • edited 4:58AM
    I want that when they type {fuel_var('RATIO')} in the CKeditor it will render Do not leave any space between colon and the numbers in your answer. e.g. 5:8 after they submit
Sign In or Register to comment.