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.
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.
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.
Comments
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.
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 :-)
if($setShow == 'false') { $setShow = 0; } else { $setShow = 1; }
$album->setShow($setShow);
Or You can convert it to boolean :-)