Hi!
I have a question about HappyFiles. I believed many of you know about this plugin. I use HappyFiles for all my websites (whether I build the site with Bricks or not). In Bricks, I can query the images from HappyFiles, and I can also query the images based on the folders I created in HappyFiles.
I want to know, is it possible for me to do the same in Cwicly? I haven’t tried it myself. Need to know if anyone doing the same for their websites.
Yes it is possible. Currently not on the PC - but I already did it using the query block. The folders are just custom taxonomies as far as I remember - so you would need to set up a simple meta/taxonomy query to achieve that.
Hope that helps. When I’m back in office later today I can send you a screenshot of my query.
I remember that there was one thing which didn’t work expected. In my case it was linking the image via the dynamic data (you can get the image via dynamic data, but not the link since wordpress uses another function behind the scenes rather than getting the post link for example → wp_get_attachment_url…
I’ve worked around that using a code-block, something like that:
Not sure if that limitation still exists, I remember that I’ve opened a thread on the discourse, but I cannot remember anymore what the answer was, maybe it’s already fixed, maybe it will not be fixed → maybe @Louis can remember that case better than me?!
If you want to just output an Image without the need of a Link you could still use Cwicly’s Image Block, but you would need to select “Attachment URL” as Data Source, like seen here:
You’re also able to query things like the title of the image, for example, like doing so:
I hope this can be resolved soon. I am actually developing this site for my client and will publish it when the stable version releases. I really hope I can build this site with Cwicly.
I’ve just tested this with @louis suggestion; status inherit and any both work.
All my settings as follows:
Query block:
Post Type = ‘Media’
Status = ‘Any’ or ‘Inherit’
Taxonomy = ‘Folder - (attachment)’
Terms = ‘Folder Name (happyfiles_category)’
Field = ‘term_id’
Now, I noticed something is not working when I enabled the Slider.
Refer to the screencast:
You can see that when I enabled the Slider, the divs of the query items that contains image seem to be missing. When I disable it, the div appears again.