About the article version

More
11 years 11 months ago #32791 by sing9028
May i know that if i unpublished a article which became a error page, how can the flexicontent replace the error page(e.g. 404) to the latest version from the Versions history of that article automatically?
Thanks!

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

More
11 years 11 months ago #32792 by ggppdk
Replied by ggppdk on topic About the article version
Did you try suggestion at Joomla Docs ?:
docs.joomla.org/Creating_a_Custom_404_Error_Page

Just instead of
/index.php?option=com_content&view=article&id=75
use:
/index.php?option=com_flexicontent&view=item&id=75
or (J1.5) :
/index.php?option=com_flexicontent&view=items&id=75

To use a SEF url create a new menu ITEM of TYPE: FLEXIcontent item and link to your error 404 Article

This menu item must be published and of public access and inside a menu that is not display by a menu module

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

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

More
11 years 11 months ago #32840 by sing9028
Replied by sing9028 on topic About the article version
Thanks for your reply.

So can I show the previous version of that article which i unpublished/waiting for approval it?_?

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

More
11 years 11 months ago #32842 by ggppdk
Replied by ggppdk on topic About the article version
I am not sure how this discussion relates to error 404 page.

Joomla or other CCKs (that i know of) do not have versioning.

- FLEXIcontent has versioning, if one of your authors changes a FLEXIcontent item (=FC extended Joomla article) and this author DOES not have publish privilege, then old version will be shown in frontend until a user that can publish "-approves-" the new version

- If an article is unpublished the old version is not shown , why should it be?? instead you get error 404, if you want to show old version then do not unpublish it, but instead
- edit it
- load a previous version
- and save it

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

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

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