I can output my custom php function in the dynamic data like this. {echo:my_custom_function}
If this can be added in Cwicly dynamic data under Source tab in Cwicly then I can do a lot of missing dynamic integration without touching the code block.
I hope this was comprehensive enough. I think I am done with my feature requests for now. I’ll let you know if there is anything else. Feel free to ask if you have any questions.
Indeed, while the functionality is available, it hasn’t been transcribed in the interface as we want to include as part of the Rich Text styling options (just like our span tag). This will allow us to have more specific control on these dynamic tags and dynamically show users up-to-date content in the editor.
In the meantime, try pasting this in any content block, and it should do what you’re looking for:
This is the {title} that was written on {postdate=published=default} by {authorname}
Please bear with us while we get this specific feature sorted out properly.
And once again thank you for bringing it up, helps us pick up on what we might have missed in our planner.
To @dranzer, apologies for never replying. Not sure how I passed over this.
Thanks for taking the time to list all the details of your expectations!
Thank you for your response, @Louis
It’s glad to know that I can do with these dynamic tags. I will try this out.
About the dynamic data tags, I’m interested to know which page I can refer to for all of them, so I can use them for the time being until you implement this.
The only thing is that when I add a search function to my site, when the time I search, will I see these dynamic tags in the search results? Or would it show actual text instead?
I’d like to know, any site I can refer to see all the dynamic tags like this. I just tried the dynamic data you provided which is working as expected on the front end.
And, it would be great if you could make these dynamic tags render as actual data in the editor as well.
@jornes There is no documentation listing all tag list. If you want to know a specific tag for something then I can find it for you from the index.js file in the cwicly plugin folder.
Thanks for all your suggestions everyone, much appreciated.
An ongoing implementation of the Dynamic Inserter is now available in 1.2.8.6 with documentation at Dynamic Inserter - Documentation
We’d love to have your feedback and see how you find using it works for you
This is great! Thanks for adding @Louis.
I like the way it’s implemented, but that’s of course just a first impression.
Looking forward to test things more extensively.
One thing for now.
If no dynamic tag is selected yet, could the dropdown menu open automatically when clicking the dynamic inserter icon?
As you can see that the dynamic tag is now shown as post_title. When we have more dynamic tags on the page, the page will be full of dynamic tags instead of actual data, making the FSE looking not nice.
When the dynamic tags are rendered as actual data, I know it’s difficult to see which blocks contain dynamic tags.
So, my suggestion would be,
Whenever a dynamic tag is used in headings, paragraphs or any other blocks, add an indicator to the block on the navigator, making dynamic tags easy to find.
In case this is possible, it would be really nice to see the actual data inside the FSE.
Maybe even with a tooltip when hovering to see which dynamic tag it is.
Not sure about the Navigator icon, since there is already a good visual indication available on the canvas/item.
That depends on users workflow, I guess. But I assume many could welcome it, so here a thumbs up as well.