how to config a form for new item adding

More
12 years 10 months ago #35949 by j0rged
Hello,
How to configure a new form of submitting articles to such there appeared a list of categories?
In Menu for item submission form in "Basic Options" I select:
"Enable override" - yes
"Displayed categories" - I have select some categories which I want to set visible for submitting an item (not all)
"Submit item in" -- setted to "single"
"Default Main Category" -- setted some main category. Parent of all others, where I want to submit items


I open now submission form in fronntend. In "Category" I will see only my selected categories what is right
BUT
if I open now "Original content being translated" I will see the tree of all categories
An the same (all tree of all categories) I will see if I click on Button "Articles" under Editor - I see all Articles and tree of all categories.

How to configure a submission form in order to display only the selected list of categories?

Thanks

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

More
12 years 10 months ago #35950 by ggppdk
Hello,
these parameters of the submit menu item are provided as a convenience.

The proper way to configure the behavior that you need, is to use ACL

Regards


-- 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 review. Thanks!

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

More
12 years 10 months ago - 12 years 10 months ago #35973 by j0rged
Hello,
sorry, but I do not understand how and where do I made it.
I have opened a "Fields" in FC Control Panel, but there is only one field "Categories", which is used for other purposes.
In "Configuration" in FC Control Panel in tab "Permission" are setting for "Public" or "Registered" are setted to "Not allowed" /except the "Fields: edit values"/
In Plugins in "Button - Article" is nothing to configure too.


Or, is it possible to hide this both fields: "Original content being translated" and Button "Articles" in submission form in frontend?
Thanks
Last edit: 12 years 10 months ago by j0rged.

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

More
12 years 10 months ago #35976 by ggppdk
Hello,

-- you do it the Joomla way (J2.5):
you edit your categories (usually only the top level ones) and give the "Create" privilege to the desires user groups

the "create" privilege controls which categories, a user group can assign an item to

1. you would should also give your user groups edit-own privilege so that they can edit their articles later
2. if you want the Content items to be editable but you want approve the changes, then makes sure that versioning is enabled and that you do not give publish or publish-own privileges

Regards


-- 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 review. Thanks!

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

More
12 years 10 months ago #35978 by j0rged
Okay. But I do not have some problems with the creating or sending of one new Item.

I wanted to allow the sending of articles for all (for "Public" or "Registred"), but want the list of all the categories are not displayed. As I understand this can be done.
Thank you

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

More
12 years 10 months ago #35979 by ggppdk
Hello,
please clarify you want to let guests (unlogged users) submit content ?

yes you can (in j2.5) allow this
1. make assignments of the user group "public" too, as described in previous post (but better not give publish permission to "public")
2. in submit menu item configuration set the parameter that allows submission by guests


-- 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 review. Thanks!

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

More
12 years 10 months ago #35981 by j0rged
yes, I want that guest (or registred user) can submit a content, but I do not want that guest (or registred useer) can see the all Categories-Tree by submitting. I want to mede a visible only selected categories. But the guest (or registred) will see all Tree of categories by klicken on "Original content being translated" or on Button "Articles".

They can submit a content now. It is no problem with submitting. It is a problem that they can see the all tree of categories by submitting. And I would like to make visible only selected categories, not all.
But it isnt possible, how I see. Maybe later you make somewhat for this?

Or maybe you can tell me how do I hide this both Objects on frontend: "Original content being translated" and Button "Articles"?
Thank you

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

More
12 years 10 months ago #35982 by ggppdk
Hello,

-- do not enable the menu override of categories, forget of this parameter is it a convenience parameter , with ACL you can do a lot more

-- So use the Joomla ACL exactly as described above (user group: public) and your guest user will be able to see only the categories that he has "Create" privilege ;)

(FLEXIcontent uses Joomla ACL, please follow instructions above about assigning the "create" privilege to user groups)

PS : you want to read some documentation or watch a video about Joomla 2.5 ACL

Regards


-- 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 review. Thanks!

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

More
12 years 10 months ago #36001 by j0rged
Hello,
I do not know what, but something is definitely not set or works wrong:
1. I made new group: new-group, which is subgroup from "Registred"
2. I create an new user "user" which is assigned only to new-group
3. I set for some category "new-category" the access rights:
3a: for public: all actions are denied (create, edit...)
3b: for new-group: is allowed: create, edit own
3c: for some old category "old-category" I disable the actions for group "new-group", such as: create, edit...
4. In Menuitem "Create item" I have:
4a: Access - change from "public" to "new-group"
4b: "Enable override" - to "no"
4c: "Allow unauthorized users" - to "Yes, exclude guests (unlogged)"
4d: "Displayed categories" -> I select some categories (some tree of categories with parent category of this tree), where I want to submit the items
4e: "Default Main Category" -> to parent category of selected tree of categories where I want to publish the items

I goto fronted and log in as "user" then I see the menuitem "Submit item". Then I see here in form under "General"-> "Category" -> the list of only selected in backend categories, where I want to publish. (attach 1, here 3 - last) This is right. But if I click now on "Click to select" under "Original content being translated" (attach 2) I will see the dropdown list menu with tree of all categories, and the "old-category", where I set the access rigt to "denied" for my group "new-group" (attach 3, here 1 - first)

Do I somewhat forgotten to change or maybe this dropdown list does not work correctly?
Thank you

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

More
12 years 10 months ago #36003 by ggppdk
Hello, i see,
to make the selection of items use the configured ACL:
edit file:
administrator/components/com_flexicontent/views/itemelement/view.html.php
and replace line:
Code:
$lists['filter_cats'] = flexicontent_cats::buildcatselect($categories, 'filter_cats', $filter_cats, 2, 'class="inputbox" size="1" onchange="submitform( );"', false, false);
with
Code:
$lists['filter_cats'] = flexicontent_cats::buildcatselect($categories, 'filter_cats', $filter_cats, 2, 'class="inputbox" size="1" onchange="submitform( );"', $actions_allowed=array('core.create'), true);


-- 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 review. Thanks!

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

Moderators: vistamediajoomlacornerggppdk
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