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

More
6 years 2 weeks ago - 6 years 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:
Last edit: 6 years 1 week ago by ggppdk.

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

More
6 years 2 weeks ago - 6 years 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...
Last edit: 6 years 1 week ago by ggppdk.

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

More
6 years 2 weeks ago - 6 years 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
Code:
$skip_buttons_arr, $elementid_n, $_asset_ = null, $_author_ = null, $editor_plg_params

Replace with
Code:
$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...
Last edit: 6 years 1 week ago by ggppdk.

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

More
6 years 2 weeks ago - 6 years 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:
Last edit: 6 years 1 week ago by ggppdk.

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

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

Attachments:
Last edit: 6 years 1 week ago by ggppdk.

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

More
6 years 2 weeks ago - 6 years 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...
Last edit: 6 years 1 week ago by ggppdk.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.312 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline