No Image Button on Description Window for authors without global create permission

6 months 1 week ago - 6 months 1 week ago #72333 by tazzarkin
I know there is probably a simple solution for this, but I am having a hard time finding the answer.

Can someone please help me solve this simple problem?

When I go to write an article on the Front-End, the image button does not show. I've included a screen shot to show that the image button is missing.



However, when I go to the Administrator panel (the back-end), it shows the image button. Once again, here is a screen shot that shows the button.



Can someone please help me get the image button to show on the Front-end?

Please? I know this must have something to do with the permissions level, however, I can't find where it would give me the right permissions.

Thank you for any help you can give.
Attachments:

Please Log in or Create an account to join the conversation.

6 months 1 week ago - 6 months 1 week ago #72335 by ggppdk
Hello

the image plugin is a core Joomla plugin
and it has ACL checks (permissions check)

i tested just now and i see that the "asset" on which permission are checked is NULL ...

i will check if this a Joomla bug or if something we need to change in our code


-- FLEXIcontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

6 months 1 week ago - 6 months 1 week ago #72337 by ggppdk
Hello

it is bug introduced with Joomla 3.7.0
we use
$editor->display(...) to create our description field, if we use an entry from XML this bug would not appear

this effect extensions that would create an HTML editor like the above

To get the workaround now
edit
plugins/flexicontent_fields/textarea/textarea.php

Find at about line 488
$skip_buttons_arr, $elementid_n, $_asset_ = null, $_author_ = null, $editor_plg_params

Replace with
$skip_buttons_arr, $elementid_n, $_asset_ = '', $_author_ = null, $editor_plg_params


-- FLEXIcontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

6 months 1 week ago - 6 months 1 week ago #72338 by tazzarkin
You are right. It was a permissions problem.

What happened was that I created a new "User Group", and it set all the permissions to "Not Allowed".

So, I looked under the default "Author" group and copied all the same permissions to my new "User Group". That way all the default permissions you set under FLEXIContent for "Author" would be correct for my group too.

Here is a new screen shot showing the "Image" button showing up now.



I notice that you don't have the Image button enabled on your window too. Is there a reason for that?

You have it showing as an attachment, then you have to Insert. See the screen shot below.



That seems like a lot of extra work. Why don't you just have the image button? Is it a security thing?

Thanks again.
Attachments:

Please Log in or Create an account to join the conversation.

6 months 1 week ago - 6 months 1 week ago #72339 by tazzarkin
Oh, one more thing... you have to enable "Frontend Images and Links".

Attachments:

Please Log in or Create an account to join the conversation.

6 months 1 week ago - 6 months 1 week ago #72340 by ggppdk
Hello

by default it appears to users that have "Create" item/article privilege

so you should not need to change add extra ACL privilges

-- being able to open submit form should be enough ACL

please apply the workaround i suggest above
the ACL check for plain authors is broken since J3.7.0


-- FLEXIcontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

6 months 1 week ago - 6 months 1 week ago #72341 by tazzarkin
Okay, I will add the fix. Thank you so much for the quick response!

Usually on other forums, I wait a day before someone answers, but you answered in less than 30 minutes!!

Thank you so much!

Please Log in or Create an account to join the conversation.

6 months 1 week ago - 6 months 1 week ago #72342 by ggppdk
Hello

this is free forum
usually answer within a day

if question is difficult it may take longer
if you get no response after 2 days, you should post a reminder


-- FLEXIcontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

6 months 1 week ago #72343 by tazzarkin
Yes!!! That is why I am so amazed!! This is a free forum and you answer so quickly!

Anyways, I love your work. Thank you for creating such a great component. It really is a work of art!

Please Log in or Create an account to join the conversation.

6 months 1 week ago - 6 months 1 week ago #72347 by micker
thanks for all we try to do best .. think to promote FLEXIcontent, vote on jed etc ...

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
© 2018 Flexicontent. All Rights Reserved.