![]() |
|
Exclude or display specific album - 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: Exclude or display specific album (/thread-10484.html) |
Exclude or display specific album - tomd - 2012-10-06 Hi, my config: Is it any way to display or exclude specific categories from loop, like in wordpress with query_posts('cat=3,8') If "yes", can you explain me how or where please ? I don't find very well in the documentation... thank you. Exclude or display specific album - sbillard - 2012-10-06 Your question is fairly ambiguous. But: Unpublished items are not shown in menus/album listings You can create If all you want is for your gallery to be two pages (whatever you mean by that) I guess I do not understand, Setting the items per page will control how many pages are used to show them. Exclude or display specific album - tomd - 2012-10-07 sorry, I explain more : I want to display my gallery on two distinct pages (not pagination). My problem is for exclude or display spécific albums on pages (from the loop), beacause actually i have all albums in each pages I try dynamic album, but it's not what i wish. Is this good for me ? (i try with this actually...but i'm not sure) thanks, Exclude or display specific album - sbillard - 2012-10-07 That is nothing standard, so you will have to code it directly. Guess you will have to become familiar with coding both with PHP and with the Zenphoto object model. For instance your code above shows that you do not understand PHP at all. You seem to want to instantiate a single album object consisting of three album names. This is a concept that makes no sense. Exclude or display specific album - tomd - 2012-10-07 yes exactly, i'am like a stupid, sorry. how can i try instantiate my three albums ? if it's possible. Exclude or display specific album - sbillard - 2012-10-07 We really are not in a position to write custom code for our users on this forum. I suggest you visit the paid support page and see if you can contract with someone to implement this for you. Exclude or display specific album - tomd - 2012-10-07 i can't paid, it's for pleasure and not commercial use, and i learn developpement when i got time, so i if it's not possible to obtain help, i'll try alone... I don't want that someone write custom code for me, it's not my wish, but just discut and know what is the better solution or the name of the function i must use to write my own code. I think it was a community forum about zenphoto users, and not only professionnals developpers. Exclude or display specific album - sbillard - 2012-10-07 It is, but that does not mean we are a charity. This is somehting you want. If you cannot do it yourself nor can you afford for someone to do it for you, then you will have to not have the feature. Exclude or display specific album - tosca - 2012-10-07 Perhaps you could more or less achieve the result you're looking for by organizing your albums a bit differently, and use a custom menu. In your album folder, you could create two subranches, one for each page you want to display; then use the menu_manager extension to create one entry for each of these pages. Exclude or display specific album - tomd - 2012-10-07 OK it's not charity ^^, but it's not an employ offer... My question was just to have an idea obout the method to use and if this function exist... but it's seems it will be a secret between zen developpers.... Have a nice day. Exclude or display specific album - acrylian - 2012-10-07 No, it is not a secret, we are open source. Take a look at the object model tutorial and best the theming tutorial before that. However, that assumes that you have some php/web technique knowledge and the latter at least a basic understanding of object orientated programming. That knowledge we really have no resources to teach you. Sorry, otherwise it will indeed mean to write the code for you. Remember we are volunteers here. |