How to show the site variables in CKEDITOR?
  • 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
  • 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
  • So how to render in CKeditor?
  • 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

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!