[SOLVED] Unable to remove Apply button from Item form

More
8 years 11 months ago - 8 years 11 months ago #53989 by pipedream
I am unable to remove the Apply button from the Item form, maybe because in "./components/com_flexicontent/views/item/tmpl/form.php" where it reads:

Code:
<?php if ( $this->perms['canedit'] || in_array( 'apply', $allowbuttons_fe) || !$typeid ) : ?>
It should read:
Code:
<?php if ( ( $this->perms['canedit'] && in_array( 'apply', $allowbuttons_fe) ) || !$typeid ) : ?>
Please confirm.
Last edit: 8 years 11 months ago by pipedream.

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

More
8 years 11 months ago #54004 by ggppdk
Hello

yes it should be as you suggest:
((... && ... ) || !$typeid)

thanks for feedback


-- 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...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.256 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