Only author of article can edit

More
11 years 8 months ago #40797 by Epiploicum
Yes, but in all cases there is field select category, i need to have one category choosen, so user dont have to set this....thanks you very much

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

More
11 years 8 months ago #40804 by ggppdk
Hello

you can use CSS to hide the category label and the category selector,

but also
please, answer my questions above 1 by 1 (1 question, 1 answer)
;)

Regardsa


-- 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
11 years 8 months ago #40808 by Epiploicum
I need this to user group, for example publisher... but when i try to save article, there is alert, that i have to select category, when i hide selector, i cant select any category... so i cannot save...

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

More
11 years 8 months ago #40815 by ggppdk
Hello

this may work:

edit your content Type and set the Javascript parameter (for frontend form, NOT for both)

(there are 3 javascript parameters
1 for frontend form,
1 for backend form and
1 for both)
Code:
jQuery(document).ready(function(){ jQuery('#jform_catid').prop('selectedIndex', 1); });

the above (as soon as the page has finished loading) will preselect the first category value in the category field


-- 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
11 years 8 months ago #40816 by Epiploicum
Thanks you very much, its working :)
And one last question i hope, i try tu hide all tab basic, is it possible? I add to css
Code:
.basicfields_set { visibility:hidden; }
but disepear only contetent of basic tab...thanks you very much again, you are grait:)

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

More
11 years 8 months ago #40829 by ggppdk
Hello

-- tab title and tab content are 2 different elements.
-- also it is better to use a more specific CSS
edit your content type, find the parameter for extra frontend CSS and add inside it:
Code:
.flexi_edit #fcform_tabset_0 > ul.tabbernav > li:first-child { display:none !important; } .flexi_edit #fcform_tabset_0_tab_0 { display:none !important; }

exactly as you added in frontend JS parameter the Javascript 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...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.678 seconds
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
Save