help to better help you:

Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!

Unpublished venue shows in published event

Unpublished venue shows in published event

7 years 9 months ago - 7 years 9 months ago
#23483
I linked a published event to an unpublished venue expecting that the venue would not be visible. However it is visible.
Last edit: 7 years 9 months ago by gooseclam.

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

Re: Unpublished venue shows in published event

7 years 8 months ago
#23485
Yes, you're right. I can reproduce your issue:
When I hide a venue which is the location of an event, the eventlist shows me the venue. But I can't view the details of the venue. This is ok.
[Thinking by myself: What could be the reason to post an event on a hidden venue? In which cases this makes sense?]
The following user(s) said Thank You: gooseclam

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

Re: Unpublished venue shows in published event

7 years 8 months ago - 7 years 8 months ago
#23486
Thanks for confirming this.
[Edit1]Actually in my case not just the venue name but all the details appear. There seems to be no change between published and unpublished.
[Edit2] Some of the details are not visible but the Google map appears and the link to the venue website is still active.
In fact I found this out because a member wanted their venue details hidden so I just unpublished the venue. It did not work as expected (J3.6.5 JEM2.2.0). As a rule in Joomla unpublished content should not be visible.
This all came up because I was trying to set up something more important. I would like to be able to create an event where the event details are publicly visible but the venue details are only available to registered users. This is to hide private addresses from all except those who are authorised to know. This cannot be done but I may raise this as a separate issue.
Last edit: 7 years 8 months ago by gooseclam.

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

Re: Unpublished venue shows in published event

7 years 8 months ago
#23515
Hi gooseclam,

thanks for clarifying your use-case. You're right, publishing functionality for venues is not fully implemented yet. Currently it is denied to attach an unpublished venue to an event and to delete a venue as long as there are events atteched. So consequently it shouldn't be possible to unpublish a venue with events attached. ;)

But let's say JEM would handle unpublished venues conform to Joomla and would allow unpublished venues on published events. Then all users except those with "edit state" permission (means Publishers and Admins) would not see anything regarding the venue. So you would need to make your registered users to publishers - which will allow them to write and publish any content on your site.

A better idea would be usage of Access level to give users view permissions independent of any "do" permissions. Unfortunately this is also not implemented for venues yet. :( But I would like to implement this.
The simplest way is to completely hide venues with access level user hasn't. That's default Joomla behavior too. But there is also a "Show Unauthorised Links" option where things become tricky. Generally it will show the title and a "login to read more" link, but also the introtext on blog layouts. I could add such an option for JEM venues too. I'm sure then we will get requests here for every venue field to make visible like intro text and another request to make it guaranteed invisible. :silly: But that's our risk...

btw: If you have "Show Unauthorised Links" active and create an article with non-public access but no "read-more" tag within the text the complete article will be shown to everyone! For me not really intuitive and dangerous. I don't think that I will make JEM conform to Joomla in that point. (another point JEM is already not conform to Joomla is that we don't allow editors to edit stuff they are not allowed to see)
The following user(s) said Thank You: gooseclam

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

Re: Unpublished venue shows in published event

7 years 8 months ago
#23516
Thanks for the detailed reply.
As I said the published/unpublished issue is not my main concern.
The simplest way is to completely hide venues with access level user hasn't.
This is what I meant. It would be very nice to see this. I've never used "Show Unauthorised Links" but it does look dangerous.

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

Time to create page: 0.457 seconds