So I came across this little roadblock earlier today. I have an unpublished album that I upload content to via FTP from my phone.
After the dynamic album fix went in (works like a champ), I created a dynamic album.
Most of the images that were added to the dynamic album were from an unpublished album. But, I was unaware of this cause there was no flag for unpublished (on the dynamic). When I opened in my test browser and saw the default image I was a bit shocked then realized what it was.
So, the question, is it possible to display content from an unpublished album in a dynamic album? In the end I just moved the unpublished album to the bottom of my album list to keep it out of the way and published it.
I kind of like the idea of having my unpublished folder for my phone uploads.
Comments
Good question. I guess I have to try it. But offhand: Given that dynamic albums are saved searches and searches only return published items for non logged in visitors they should not list those items.
Also be sure that you have checked the `Return unpublished items` check box when you create your album.
Is there a way to force a refresh (not browser based as that hasn't affected it) of the dynamic album without deleting it and recreating it?
I've used all the "purge cache" buttons, as well as removed cache from my browser and still same effects. I also have the no-cache meta in my theme... so not sure where else to look for caching.
Edit:
Also for sanity sake, I installed a new browser and checked in that and it showed the same effects. No new image yet.
[edit] acrylian beat me to it
When I go into the unpublished album, I can see the image there. However, it's not being selected as the thumbnail for the album (my thumbnail is latest image, images sorted by filemtime descending), and it's not showing up in the dynamic album.
Any other suggestions?
Edit:
Well I'm not sure if it was an error in an image's metadata or not. There was an image that kept getting selected as the thumbnail and put at top of album sort, even though the filemtime was older... deleted the image and it works now. Weirdness.