Solved Front-end edit form - Publish down date disabled

2 months 5 hours ago #70779 by yopyop001
Hi,

May be i'm missing something in configuration but :

When i create a content in frent-end the publish up and publish down dates fields are disabled.
When i edit the new created content, fields are enabled.

I have try lots of things but i'm unable to define the publish down date in the creation form.

Regards

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

More
2 months 2 hours ago - 2 months 2 hours ago #70783 by ggppdk
Hello

you probably allowed
edit.state (publish privilege) only in specific categories

and during initial creationthe code see no edit.state (publish privilege) thus the fields are disabled

probably the above behaviour is not best

- instead we should treat publish up / down fields like the state field
(i mean its behaviour when not using publish override and it is visible)

that is

1. we can allow the fields to be edited
2.and after submit, if no edit.state (publish privilege) in the selected category then clear them if needed


-- 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!
Last Edit: 2 months 2 hours ago by ggppdk.

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

More
1 month 4 weeks ago #70886 by yopyop001
Hi Georgios,

Yes you are right, user as only rigth to publish in some category.

It would be great if he can choose the end publication date in item creation...

Do i need to create an issue on github?

The behavior you describe here :

1. we can allow the fields to be edited
2.and after submit, if no edit.state (publish privilege) in the selected category then clear them if needed

seems to be relevant.

Regards

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

More
1 month 4 weeks ago - 1 month 4 weeks ago #70893 by ggppdk
Hello

yes, please open a new issue in github

we need to force disabling / unfiltering these
- only when using instantiating JForm (via model's getForm()) for item saving
- but not when instatiatiating JForm (via model's getForm()) for displaying item edit form
or better just check and clear them inside the save task of the controller, like we check there the state and category changes


-- 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!
Last Edit: 1 month 4 weeks ago by ggppdk.

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

More
1 month 4 weeks ago #70894 by ggppdk
Hello

please ask about fix tomorrow evening, if you do not here from me sooner
probably it is small fix


-- 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
1 month 3 weeks ago - 1 month 3 weeks ago #70951 by ggppdk
Hello

this new version (you may use install via URL)
https://github.com/FLEXIcontent/flexicontent-cck/archive/3.2.1.x-stable.zip

The fields publish_up , publish_down will be enabled during intial form submit

please note
- submit menu item override of these will take priority over user values
- during item creation if user has no privilege to set them , then they are not cleared, just the reviewer / approver should check these field too


-- 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!
Last Edit: 1 month 3 weeks ago by ggppdk.

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

More
1 month 1 week ago #71148 by yopyop001
Nice !
Thanks a lot

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

More
Moderators: vistamediajoomlacornerggppdk

JED Reviews

Total reviews: 178
Overall
100.00 out of 100
Functionality
100 out of 100
Ease of Use
100 out of 100
Support
100 out of 100
Documentation
100 out of 100
Value for Money
100 out of 100