Blog In-line editing

On the blog module, I am unable to get non-super-admin users to use inline editing, even with all blog related permissions checked.

I tried adding a 'blog, blog/edit, etc.' group of permissions, but that didn't do it.

In the module code I see ```<?=fuel_edit($post)?>```, so nothing to suggest that it is intentionally limited to the super-admin.

Thoughts?

Comments

  • edited 3:24AM
    What version of FUEL are you running. This looks like a bug that should be fixed in the latest version is why I ask.
  • edited 3:24AM
    I just updated to 1.1 and that added a fuel_edit icon for the blog posts. However, there is no create icon.

    Thanks for the note about the bug fix in the update.
  • edited 3:24AM
    To have a create button you may need to add the following in the "posts.php" file:
    echo fuel_edit('create', 'blog/posts');
  • edited 3:24AM
    Line 2 of posts.php shows:
    <?=fuel_edit('create', 'Create Post', 'blog/posts')?>

    The Super Admin is able to see the create button, but not a user with the 'Blog Posts: Create' permission.
  • edited 3:24AM
    You are correct in the syntax. It should be:
    <?=fuel_edit('create', 'Create Post', 'blog/posts')?>
    Also, it looks like you've identified a bug. I've posted a fix in the develop branch for you to test out.
  • edited 3:24AM
    It's all working now, Thanks!
Sign In or Register to comment.