v1.5.6 r1420, edit "Finish Publishing" date on items

More
13 years 6 months ago #27573 by victorio404
After the update, used in combination with flexiaccess - anyone lower than superadministrator is not able to add or edit "Finish Publishing" date on items.

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

More
13 years 6 months ago #27575 by ggppdk
You mean finish publishing in backend or frontend ?

For frontend what is the Setting in Global Configuration and in Content Type Configuration, under the Fronted Item Form parameters section?


-- 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
13 years 6 months ago #27577 by victorio404
Global Config for Flexiaccess is no/no - Disable content tree/Auto-propagate read permissions.
The problem is in backend too.
On frontend edit only "Preview" button works - others are not working on press, but that may be other issue(template, plugins?)

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

More
13 years 6 months ago #27578 by ggppdk
About button not working, yes they will not work if you have a form template override.

If you have, then please get this file from r1422

flexicontent.googlecode.com/svn- ... alidate.js

NOTE: that it is better to use the latest frontend item form, it has various improvements

About parameters , i was speaking of the new parameters for frontend form in Global FC Configuration, and in each Content Type configuration


-- 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
13 years 6 months ago #27592 by victorio404
The problem with the frontend buttons was the field "selectflexiitem" after removing it from frontend item form - the buttons are working.
The problem is that i can't make any of the 'Publication Details" fields to show in frontend for anyone who is not superadministrator(tried any settings in flexiaccess and frontend edit setings in Global and Type configurations).
Also in backend if the user is not superadmin - can't change Finishpublishing date - it has the option, but on save the field reverts to the previous value.

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

More
13 years 6 months ago #27593 by ggppdk
This is done , deliberately ... maybe i should change it

in form.php change line
Code:
<?php if ($this->perms['isSuperAdmin'] && $this->params->get('usepublicationdetails_fe', 1)) : ?>
to
Code:
<?php if ($this->params->get('usepublicationdetails_fe', 1)) : ?>


-- 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
13 years 6 months ago #27595 by victorio404
Thanks - now the finishpublishing date field is editable but only when in flexiaccess grant permission to the group to publish all items.

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

More
13 years 6 months ago #27598 by ggppdk
-- you mean permission to publish the specific item, not all items (right)?
-- what should be happening is that the publication fields appear (right?)
-- but do not get saved, unless the user has permission to publish the current item (right?)

This is because
(a) the item Database model has checks for form tampering and
(b) i unified code J2.5 / J1.5 and in J2.5 you can not change publish up / down without edit State (publish) privilege

-- what do you think? what should the behavior be?
maybe, i can make all properties configurable via a checkboxes in Frontend item form configuration

The publication properties are:

- Creator (=owner, allow to super admin only?)

- Access Level (who can see your item, allow to editor?)

- Creation date (this should be specially enabled)

- publish up date (allow to editor?)

- publish down date (allow to editor?)

- author alias (a nickname) (allow to editor?)


-- 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
13 years 6 months ago #27601 by victorio404
At the moment if the group has permission to "Publish Own Items" - can't change the finishpublishing date on the item even if the user is the creator of the item(they can change the date, but on save - it reverts to previous date).
If the group has permission "Publish All Items"(for the category) then they can change the date.

They should be able to change the finishpublishing date if the user is creator of the item and settings are "Publish Own Items", or even if they can't publish own items, they still have to be able to set finishpublishing date. Finishpublishing date field is not related to the state of the item(Published, Unpublished, Draft, etc.) right?

My logic is even if you can create an item, but have no permission to change the state(Publish it) you still should be able to set finishpublishing date.

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

More
13 years 6 months ago #27619 by ggppdk
The frontend form allows the user to change item state, if he can publish his/here -own- items?


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