Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

How to show the site variables in CKEDITOR?

edited February 8 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 3:59PM
    So how to render in CKeditor?
  • edited 3:59PM
    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.