divi-extension-example's People
Forkers
bodonkey phirebase satishkumarprajapati brandxmobile margharita bolohori redelivre kennethehmsen fahimxyz ricardorosendo0 serwis4u daopkhanhtoan diviplugins appandgo haqfaq andrew-dyachenko ertyazilim kannan6240 faizanpakweb francispires jagdishsarma36 sumit-singh-hash aparnascodex matthias-welte jeromevadon ryan-erickson loaialnshar annq2 sumonst21 altcg violetweb mralaminahamed lachouetteinformatique yasitharanga jahid75 jessmtermini raselkhaanlabdivi-extension-example's Issues
I am confuses with styles/style-dbp.min.css and style.min.css.
I don't know where the non minifed version of the code of these files. OR Who this workflow work.
- styles/style-dbp.min.css
- styles/style.min.css
Conditional CSS styling
Hi Divi Gurus,
I have created a module which uses images. If I have two instances of the module on a page, how do I code (jsx file) so that the styles are conditional upon the size of the image. I can find the height and width of the image but only using the specific class e.g my_module_image_0 or my_module_image_0 but I need to somehow use (this.) syntax but at the moment it's beyond me.
Thanks for any help.
Module Divi inside a plugin
Hi
I have a plugin and Im creanting blocks/modules/elements in VisualComposer, Gutenberg and Elementor.
Now I want to create a Divi module to my plugin but this example is to created a extension from raiz.
I will buil the module in a subfolder and The problem is it will create a node_module and package.json there too ... everything will be messy.
How can I sort this files to my convenience?
More examples?
Is there some way to get more examples? Like, how are you dealing with the Menus in jsx?
Or is there some way to get access to the Dev version of Divi, the version that includes the jsx files?
ReferenceError: React is not defined
Till last week, the example code was working fine for me. Approx a week ago, I updated Divi theme to its latest version (v3.29.3) and suddenly I started getting ReferenceError: React is not defined in console. As a result, modules created on top of this example stopped working and all broken down.
Here is the error I could see in console:
Note: I tried disabling all other plugins but it couldn't worked. Also, the same error appears with fresh 'divi-extension-example' setup.
This is completly outdated
Guys, this example is far different from the tutorial or even from the readme.md. If I put into the WP and enabled, I got messages from divi:
"This third party module is not fully compatible with the latest version of the Divi Builder. You can still edit the module, but a preview will not be rendered in the builder. You can contact the developer of the module to encourage them to update it. Click here for more info."
This tutorial is simple not working, that github repo is not avaiable.
https://www.elegantthemes.com/documentation/developers/create-divi-extension/
This tutorial also outdated:
https://www.elegantthemes.com/documentation/developers/how-to-create-a-divi-builder-module/
This is a paid stuff, can you please spend a little bit more time to make is useful? Please update the tutorial and etc.
Multiple childs
Hi,
Is there any way to create multiple childs for an unique parent?
I'm trying to create a form that has multiple part. Each part has his own preformated and undefined number of items.
If not, will that be possible in the future ?
text_size default value for button in child module doesn't work
When defining buttons in child modules, default value for font-size doesn't work:
function get_advanced_fields_config() {
return array(
'button' => array(
'button' => array(
'label' => esc_html__( 'Button', 'et_builder' ),
'text_size' => array(
'default' => '56px',
),
),
),
);
}
Value is always 0
The problem I am experiencing is the font-size: 0px
is being outputted on the frontend and buttons are not visible.
More than 23 modules causes the backend to be slow/stuck
If you have more than 23 modules it causes the backend to be slow/stuck. You can test by have WooCommerce for example and add more than 23 modules, when you click on the product tabs it does nothing/hangs around for 3-4 seconds and then works again.
No matter what I do it is down to the number of modules
Default Value for Height and Width
The Title says it all, how can I provide a different default value than "auto" for my Module? I tried it multiple times with different approaches and also asked several AI Tools for help without success. I can't even change the default description of the Width and Height setting. So how can I do that?
Thats one of my tries:
// Define the fields that the module will accept.
public function get_fields()
{
return array(
// Width attribute
'width' => array(
'label' => esc_html__('Breite', 'et_builder'),
'type' => 'text',
'option_category' => 'layout',
'description' => esc_html__('Geben Sie die gewünschte Breite ein.', 'et_builder'),
'default' => '200px',
'toggle_slug' => 'size',
),
// Height attribute
'height' => array(
'label' => esc_html__('Höhe', 'et_builder'),
'type' => 'text',
'option_category' => 'design',
'description' => esc_html__('Geben Sie die gewünschte Höhe ein.', 'et_builder'),
'default' => '300px',
'toggle_slug' => 'size',
),
);
}
Composite Fields with computed props. Sub fields doesn't exists in computed callback
Hi everyone,
I am having trouble implementing composite fields with computed props.
How can I use them?
Initially I created 6 fields (Select and text fields), all of them configured to affect a computed props. I can receive is correctly and process the props in the callback. All good here.
Then I created a composite field with 3 tabs and I divided the above fields into these tabs. Obviously I respected the same keys for each field and I deleted the old fields.
✓ The module modal immediately took the saved values.
✓ My PHP functionality continues to work properly.
✓ When I print the props from the module in React the data is fine.
X However, if I return the props from the computed prop callback, those keys don't exist.
X I tried to send the composite field to the computed prop. It exists, but the key is empty.
Is there a way to access the props of a composite field from computed prop callback?
Regards!
Documentation regarding get_fields() ?
Is there anywhere where developers can learn about the different possible options for get_fields()
function?
I found no docs regarding sortable_list
type of fields or their properties such as right_actions
, depends_show_if
etc
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.