Open mrkenng opened 5 years ago
Apparently the public API for this is not published yet but will be available for us third party devs soon
Thanks Jan!
Any update on this?
No, not yet.
@lots0logs coud you update the divi-extension-example
with the new Divi features (dynamic content, quick edit using the pencil, hover)? It would be very helpful. Thank you!!!
I have a client who wants to add dynamic counters and bars - any update on how to do this please
version 3.20.2 ( updated 03-11-2019 )
According to the changelog we can already use it.
Please, keep us updated. As mentioned above, adding this feature to the divi-extension-example
would be really helpful.
Client has now gone elsewhere for web project - thanks for support (not)!
Is there any examples ?
As i struggled to find the example, I will leave the link here. https://gist.github.com/lots0logs/9b6bb0b3d494f4d0bdf957955d97cb26
Happy Coding!!
@achchu93 Do you know of another way around this?
The dynamic content value is stored like this: @ET-DC@eyJkeW5hbWljIjp0cnVlLCJjb250ZW50Ijoic2l0ZV90aXRsZSIsInNldHRpbmdzIjp7ImJlZm9yZSI6IiIsImFmdGVyIjoiIn19@
.
I even tried base64 decoding and ended up with this:
{"dynamic":true,"content":"site_title","settings":{"before":"","after":""}}
It's like the value is just not passed to the client.
Oddly enough, the dynamic content value is coming through correctly on the PHP side.
@arobbins You have 2 ways.
Use the same way how Divi does, Sending Ajax request and getting value as per the screenshot.
Use your own ajax method and use the et_builder_resolve_dynamic_content
method to resolve the data.
Problem Description
How do we use dynamic_content? I see them on the php module files and how do we render them in react? Thanks!
Steps To Reproduce
1.
Screenshot and/or gif