[Solved] Can "any type" option be disabled when clicking "new item" in items manager

More
8 years 7 months ago - 7 years 8 months ago #56753 by kath
hi there,

can i disable the the "- Any -"-button here:
/administrator/index.php?option=com_flexicontent&view=items
> new item > popup > 'Select type' > button [- Any -]
somehow?

it seems to confuse my clients... :)
thanks a lot!
Last edit: 7 years 8 months ago by kath.

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

More
8 years 7 months ago - 8 years 7 months ago #56754 by ggppdk
Hello

no option

yes we have given this, some thought, that it may not be desirable or even confusing have it there,

i think it deserves a parameter in the configuration section

"Backend managers" TAB


-- 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: 8 years 7 months ago by ggppdk.
The following user(s) said Thank You: kath

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

More
8 years 7 months ago - 8 years 7 months ago #56755 by kath
ok, thanks! (i may css it away then for the time being.. :) )
Last edit: 8 years 7 months ago by ggppdk.

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

More
8 years 7 months ago #56931 by kath
in case others need this, too: i temporarily hacked it like this:

1) in
/administrator/components/com_flexicontent/views/types/view.raw.php
~ line 58
replace
<a class="<?php echo $btn_class; ?> btn-info" href="<?php echo $link; ?>" style="min-width:60px;" target="_parent">
with
<a class="<?php echo $btn_class; ?> btn-info" href="<?php echo $link; ?>" style="min-width:60px;" target="_parent" data-type="any">

2)
in
/administrator/components/com_flexicontent/assets/css/flexicontentbackend.css
add
[data-type="any"] {
display: none !important;
}

;)

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

More
7 years 8 months ago #63492 by kath
hi there,

is there a way to override the file:
/administrator/components/com_flexicontent/views/types/view.raw.php
in order to disable the btn "- Any -"?

That would be so great! :)

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

More
7 years 8 months ago #63495 by micker
ypu can use admin module for flexicontent
github.com/micker/mod_flexiadmin

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]
The following user(s) said Thank You: kath

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

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