ZenphotoCMS Forum
News items per album group - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: News items per album group (/thread-12978.html)

Pages: 1 2 3


News items per album group - Eddie - 2017-12-19

Seriously cool! What folders do I copy over? Just ZP-Core and index.php? (If I read the instruction manual correctly..)




News items per album group - Eddie - 2017-12-19

Just bricked the whole site with the install. It It had a permission problem in the data folder. I tried to fix this and everything is in error..




News items per album group - Eddie - 2017-12-19

Somehow I cannot ftp the zp-data folder




News items per album group - acrylian - 2017-12-19

What to copy is all explained on the installation page.
http://www.zenphoto.org/news/installation-and-upgrading/#upgrading




News items per album group - Eddie - 2017-12-19

Thanks! Still working on getting my site running again. By the way, is there a code that you can insert into the codeblocks so it shows news content only per news category?




News items per album group - Eddie - 2017-12-19

Fixed the site, I messed up on permissions.. I have made your update, is it possible to hide the news if it is not meant for a user that is assigned to a category group? Now it still shows the title and message: "This entry belongs to a protected category."




News items per album group - acrylian - 2017-12-19

Sorry for the permissions. We have an article about which are needed on the user guide as well. Sadly that's something specific to your server.

By the way, is there a code that you can insert into the codeblocks so it shows news content only per news category?

I can only suggest to get a bit into the code documentation. Heres the one of the Zenpage plugin:
http://docs.zenphoto.org/package-plugins.zenpage.html
All can be done via functions respectively the object model.

If you don't want protected items to appear you also need to unpublish them. Otherwise their existence is public except their actual content.




News items per album group - Eddie - 2017-12-19

I see, what I am trying to achieve is the same as with the albums. I have albums and users per family based on groups. I want to show only the relevant info per family. The albums you can assign to a usergroup unpublished. Then only those albums will appear. I love this! Now the struggle with the news bit.. Right now I have all my news unpublished, assigned a specific usergroup to a news category and what I would like is that it appears in news.php only for that user group. Kinda the same as the albums workings. The other option I thought of is a small code in the album code block filtered per category, this would even be better. But yikes..I am not into coding.. I just want to categorize news per family album.. You have helped me out so good so far, would you please be so kind to sort me out on this one?




News items per album group - acrylian - 2017-12-19

Actualy that is what the fix should do. All news articles and categories need to be unpublished but not protected. Then give the user or group management rights to a specific category. If logged in the users should only see those they have rights to. This is not possible without managment rights. There is currently no "view unpublished" equivalent right for news currently and I actually didn't intend to add that with the fix. That's presumely a larger change I don't want to add to 1.4.x right now.

The only thing you can do is call articles from a specific category elsewhere. But this will involve coding. Sorry, I can't do that for you right now.




News items per album group - Eddie - 2017-12-19

Ok... thanks for the effort anyway!




News items per album group - acrylian - 2017-12-19

I'll put the view rights for news/pages on the list in any case as it seems to be useful and complies with albums/images. Maybe it's easier than I think but I didn't investigate it yet.




News items per album group - Eddie - 2017-12-19

Thank you so much! You rock!!!




News items per album group - Eddie - 2017-12-21

This would be so awesome! Also if it would be possible with pages as well! You can fully control viewing rights then. If you move forward with this, will this be another support build? Or is this scheduled for a later build? Thanks!!




News items per album group - acrylian - 2017-12-28

That will be a later build. Can't say when I get to investigate this. But when it is in you will see it on the post of that release.




News items per album group - Eddie - 2017-12-28

Much appreciated!




News items per album group - sbillard - 2018-01-09

Or you could have it now. https://github.com/zenphoto/zenphoto/network




News items per album group - Eddie - 2018-01-10

What do you mean? You mean paid support?




News items per album group - fretzl - 2018-01-10

No, it's not about paid support ;-)

sbillard left the Zenphoto project several years ago and now runs his own GitHub Zenphoto fork.
I guess this is his way of telling you that his fork has a solution for your request.
Of course it's up to you if you want to check it out but be aware that his fork is a different project.




News items per album group - Eddie - 2018-01-10

Really, a different fork? Ha ha. Seems like I landed myself in some Zenphoto politics.. I am very glad with the tool and help so far. Acrylian and Vincent have helped me a lot. If these changes seem quite minor, is there not a way that these changes can be made on a support build in Zenphoto? I'd rather stick with the official Zenphoto.. mile:




News items per album group - fretzl - 2018-01-10

Sorry but not right away.
Unless contributions are submitted via "pull requests" we are very limited in what we can do.
Please understand that we are a very small team and we work on the Zenphoto project in our spare time.
All I can say now is that your request is a valid one and it is on our list.