User Guide Typo

edited April 2012 in Bug Reports
page: http://www.getfuelcms.com/user_guide/helpers/fuel_helper
fuel_var() explanation

Instead you should use fuel_edit() like so: // YES <?=fuel_edit('my_url', 'Edit Link')?> <a href="<?=site_url($my_url)?>">my link</a>
fuel_edit should be fuel_var

Comments

  • edited 11:48AM
    Actually, the documentation is correct (I can see where it's confusing). fuel_edit() won't actually output the value, it just places the inline editing markers and by default will look at the pages module (which is why you only see 2 parameters passed to it). fuel_var() will output the value where you place it.
  • edited 11:48AM
    oh I see. I'm experiencing some problems with parsing files with the inline edit that's why I thought there was a mistake when I tried it.
Sign In or Register to comment.