go to administrator
Create new article=>save it =>click on preview
article is previewed
previewing is working correctly for published articles
Labels |
Added:
?
|
Status | New | ⇒ | Information Required |
So what is the Expected result if you are not logged ?
And then
if are already logged or you have logged after redirection with an account that cannot preview the content
"You cannot preview this item, please login with a more privileged account"
I think user would not be able to visit this page if he is not logged in with required privileges
@ggppdk Previewing article must work with or without frontend login, if an user is working in backend. And must work with an published or an unpublished article. There is not much to interpreting...
Otherwise it's not a preview ... That's how it works in the world of content creation.
Expected result
article is previewed
i understand your argument about UX , yes it would be very nice
as long as it is not an ugly hack with security concerns,
that also cares to preview with the desired access level
i mean the preview button is a little misleading, which access level do you want to preview ?
public ?
registered ?
other ?
but ok, i understand that most common case of preview is "public" access level ...
with above i mean
we had this since 9 years ago, and last 7 years we force a login
but i would love a core paradigm / implementation
all of 3rd party developers will like and use it too
I forgot to say a suggestion
maybe auto create temporary "access" coupons that are added to the URL to limit viewing to a specific content with specific access level(s) and for specific short time ...
but the above will need some implementation effort
simplest solution is to auto login backend current user to frontend
Status | Information Required | ⇒ | Discussion |
Category | ⇒ | com_content |
Labels |
Added:
J4 Issue
|
Status | Discussion | ⇒ | Information Required |
Build | staging | ⇒ | 4.0-dev |
@puneet0191 Please retry with latest J4 build since there has been a lot of work since this issue was reported and let us know the result.
It still doesnt work
Status | Information Required | ⇒ | Confirmed |
@HLeithner
is in the backend. The preview of an article that is not published.
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-09-06 18:15:19 |
Closed_By | ⇒ | alikon | |
Labels |
Added:
No Code Attached Yet
Removed: ? |
Status | Closed | ⇒ | New |
Closed_Date | 2021-09-06 18:15:19 | ⇒ | |
Closed_By | alikon | ⇒ |
Hi,
This is still not working in the latest release 4.2.6.
There is no point in having a preview, if the article can only be seen when already published.
For Joomla!3 there was a plugin by Regular Labs (Better Preview). Maybe it does provide some idea on how to solve this issue.
Cheers,
Stefan
for the moment you have to be logged in also in the frontend or have shared sessions activated.
Yes. I activated shared sessions for that purpose, which I see as an acceptable workaround. Unfortunately, it sets the whole frontend in "preview" mode, so it is a bit difficult to see the real website (or requires to open a second (or anonymous) browser.
that's actually true, I suspect you also have frontend editing active? if you don'T use it you can disable it in the system configuration. then you only see additional content but the website should look the same.
I don't need frontend editing. And I did not find any option to turn it off.
This is already set to "Keine". Seems not to effect article editing.
ok then maybe the template you are using does something special
Thanks. I'll check for that.
Labels |
Added:
?
|
I ran into the same problem and opened issue #41130. Let me cite one of my comments from a user's point of view:
Look at the use case: The user is in the backend and has sufficient rights to edit an article. He saves the article and now wants to see the result, because there might be some need for improvement. To be able to preview the article in the backend is a big enhancement over J3. So give him/her the preview regardless of other restrictions like missing user rights or not reached publishing date or expired publishing date! And without the need to login first to preview the article.
I understand that probable security issues must be solved, but the issue should be solved as well!
Enable shared sessions in global configuration. Problem solved
I have trie with this option still I am getting 404 for an unpublished article on joomla 4.3 .
Is there any other solution present??
In title you say "unpublished article", in additional comments "published article".
Could you please show other settings, too. Access level and so on.