[SOLVED] Hide one type selection

More
7 years 10 months ago - 7 years 5 months ago #62538 by juansolos
Hello,
i use the latest Joomla and FC version.
I need to have specific field for 2 articles.
So i have created an item-type for this 2 items.

As i have only 2 articles for this type and no need to generate other one (only modify existing one), i want to disable this type selection in the first popup (type selection) on the add item button.

I use "allow submission" parameter in the type configuration to hide this type selection for admin-user (not super admin). It is ok. This type is hidden on the type selection for admin.

But if an admin edits an article from this type, he cant save it, because there is no type selected because he cant choose this type.

So is it a way to desable the type selection for admin but allow them to modify items of this type (so save items of this type)?
Is it clear? I am not sure

Regards
Last edit: 7 years 5 months ago by ggppdk.

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

More
7 years 10 months ago #62545 by micker
Replied by micker on topic Hide one type selection
you can add css in BE form in type administration => hide field by css

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.

More
7 years 10 months ago #62710 by ggppdk
Replied by ggppdk on topic Hide one type selection
Hello

so you disallowed CREATE of a type for a usergroup A ?

and the result is that the EDIT becomes problematic because the type is not listed ?

- if it is the above then it is a bug


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

More
7 years 10 months ago - 7 years 10 months ago #62711 by ggppdk
Replied by ggppdk on topic Hide one type selection
we should
- either disallow EDIT too
- or we should let the selector show the type, if the current item is already of this type

the most correct would be to do the 2nd option


-- 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: 7 years 10 months ago by ggppdk.

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

More
7 years 10 months ago #62883 by juansolos
Replied by juansolos on topic Hide one type selection
Hello,
yes 2nd will be better.

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

More
7 years 10 months ago - 7 years 10 months ago #62884 by ggppdk
Replied by ggppdk on topic Hide one type selection
Hello

i have made some fixes for changing ACL rules for J3.5.x / J3.6.x
in type configuration

You should help by clicking:
Clone or Download / "Download zip"
github.com/FLEXIcontent/flexicontent-cck/tree/3.0.x-stable

then in a testing/duplicate website install it via joomla extension manager, and test


-- 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: 7 years 10 months ago by ggppdk.

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

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