![]() |
|
Publish 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: Publish album (/thread-7159.html) |
Publish album - Largo - 2010-06-07 Hi, When I try to add new album and I checked to not publish album this not working. I try to debug code and it return OK values as boolean. But in uploader the code is always checked. Can You check it? Publish album - acrylian - 2010-06-07 The logged in admin sees all albums. So you have to log out to see the effect. Publish album - sbillard - 2010-06-07 I do not see this failure. Perhaps more detail on exactly your process would help. Publish album - Largo - 2010-06-08 I know, that when I'm logged I see everythink. Try this method: 1. Log to ACP. 2. Create new album without publishing it to public ( uncheck checkBox ). 3. Uploader redirect You to new album images details, return to album view. 4. Check for state of checkBox. Publish album - Largo - 2010-06-08 I found an error: Publikacja albumu: /true. Typ zmiennej: string {Tue, 08 Jun 2010 07:43:03 GMT} Publikacja albumu: /false. Typ zmiennej: string Sorry for my language, but I think You understand it :-) Publish album - acrylian - 2010-06-08 Indeed I can reproduce this. Publish album - Largo - 2010-06-08 $setShow = substr($albumparmas[0],1); if($setShow == 'false') { $setShow = 0; } else { $setShow = 1; } $album->setShow($setShow); Or You can convert it to boolean :-) Publish album - Largo - 2010-06-14 Next problem with publishing albums - when I go to the publishing section I try to publish all un-published albums. But nothing change, settings work but approving albums not. I try to debug it, but I can't, becsause code of Sql Query not working. Publish album - Largo - 2010-06-14 OK, I make a fix for You - http://paste.org/pastebin/view/19667 Publish album - acrylian - 2010-06-14 Please use our bugtracker and attach the patch there. Thanks. |