Essentials 1.7 for YOOtheme Pro - Field Sources, Source Inheritance, Dynamic Conditions, and Global Queries

Miljan Aleksic
12 Jul, 2022

YOOtheme Pro Dynamic Content, and our Advanced Sources, are one of the most flexible and powerful features available when building a project. But as soon as you start using them more, you quickly realize that they are still limited in several ways.

For example, as we often hear our customers say: "It's not possible to conditionally filter a list based on another dynamic value, e.g. the Current User or the Current Date". We had to implement our own solutions for the CSV and Database sources, but what about Articles, Posts, or any other 3rd party source... This should be part of the dynamic workflow!

Another example is how each "node" (the section, the elements, etc) can be bound to just one content source. Wouldn't it be cool if each field could be bound to different sources, or even inherit a source present in a "parent" node?

We have been working on an Advanced Dynamic Content workflow for some time now to solve all the mentioned limitations, and we are so excited to share it with you all. Introducing our new addon, Dynamic!

Field Sources

It is one of the most complex Addons we have worked on since Forms and Sources and we believe it will bring even more value to the YOOtheme Pro ecosystem. It's simply beautiful and it is safe to try, as it enhances the workflow without making any permanent change, it can be disabled at any given time.

Field Sources

Displaying content from different sources into a single element is a very common need, and the current limitations force many to create custom elements or use other workarounds. The Advanced Dynamic Content solves that by taking a per-field source approach where each field can set its own source. Instead of setting a global source Site in the element and limiting its scope to it, you would simply set the source in the field without affecting the rest of the workflow.

In the case of a multi-item query set on a field, you will be able to choose if the results will be joined with a glue string before or after the field filters, or leave the value raw and allow the underlying element or workflow to take over.

Source Inheritance

Yet, having a per-node source option, the one set on an element scope, is useful and necessary for multi-item content where an instance of the element is repeated for each item. In such case the Advanced Dynamic workflow allows the field to set its custom source or inherit the node one instead. It's the best of both worlds!

With the inheritance workflow in place, we went a step further and made it possible for a field to not only inherit the source from the current node but also the closest one. By closest, we mean either the parent node, the parent transient node (in a multi-item configuration, like a list or a gallery), or the closest source set in a column or section.

Field Sources

Advanced Dynamic Conditions

So far, our Access and Sources addons had a unique feature that allowed them to use Dynamic Content in their evaluation. This is an amazing feature but limited by the per-node source approach. For example, you could have set a condition for an element to be displayed on a specific date range, but you could not set the evaluation value to be the item's created date.

With Dynamic Addon and the per-field inheritance feature, this limitation is gone, and best of all, this applies to all systems: core, custom, or 3rd party sources. It's the Dynamic Conditions we were all hoping for!

Dynamic Conditions

Global Queries

We hope you are following so far, as there is more! Introducing: Global Queries.

Global Queries are preset queries available on a global scale that you could set on a field or node; the query is evaluated on the fly which would make immediately effective any change you made on all layouts.

For example, you could create a custom query to list the "Top Selling Books", and reuse this query in several different layouts, without the need to reconfigure each time. Need to change that query slightly for all the pages? No problem! Just change the global query once, and you're done!

Global Queries

1.6.x Highlights

Additions worth mentioning from Essentials v1.6 last releases.

  • Instagram User Source query type
    The Instagram User holds interesting information you can fetch now, like the total amount of followers.
  • Social Sharing element Xing & Telegram networks
    Allow visitors to share your content on Xing social media or even Telegram.
  • Random ordering for Database Source
    A popular request that is now ready to roll!

Conclusion

If you are already an Essential subscriber and/or if you want to know more about Dynamic, check it out. We cannot wait to see what you are going to make with it!

Comments (12)

This comment was minimized by the moderator on the site

Congratulations Miljan -

This is a big step in dynamic content filtering and organization. Thanks for all your hard work making this happen and expanding the ZL experience!

Robert S Clinton Jr
This comment was minimized by the moderator on the site

Wow, amazing! Chapeau and thank you...

Karlheinz Franz
This comment was minimized by the moderator on the site

Nice thank you

Roberto Coria
This comment was minimized by the moderator on the site

Well done! We will be putting all of this to good use. Thank you!

Shawn Wright
This comment was minimized by the moderator on the site

This is so very cool. Works great! Am already using it

Anders Jytzler
This comment was minimized by the moderator on the site

Great, it's perfect!
Thank you and keep it up!

BARTHELEMY Claude
This comment was minimized by the moderator on the site

Good job, this is several more levels!

Francisco Valenzuela Nogales
This comment was minimized by the moderator on the site

Ohhh!!!! This will help GREATLY with dynamic contents !
Can't wait to go test this :)
Thanks!
Danny

Danny Malouin
This comment was minimized by the moderator on the site

You're the best of the best! A pleasure to work with your tools.

Jaume Claramunt
This comment was minimized by the moderator on the site

This is awesome ! I have to test that ... Thx.

Pascal Devif
This comment was minimized by the moderator on the site

Awesome! Thank you!

Roberto Santos
This comment was minimized by the moderator on the site

I can't wait to take this for a test drive, It could revolutionize the way I use my zoo databases as well as external real estate databases. Zoolanders is visionary and I am glad to learn new possibilities and new ways to build websites

HUBERT F
There are no comments posted here yet