I want to create a reusable section which i can use on multiple pages on my website and if i edit that section it should be edit for whole website.
Heres how to create a reusable section. However, if you edit that section, it will not edit the section everywhere on the site unless it is in the header or footer since they are treated as their own sections. Can you give an example of what exactly you're trying to accomplish with this?
Sharing content across pages is a basic feature of most CMS's that we have been begging for for over 8 years. Deaf ears from Duda. They have their own agenda and that's that.
Here the only workaround, though it is clunky, limiting, and not-at-all efficient.
You can use a combination of connected Text, Images, and Image Collections.
Then, your section would need to consist of Titles, Text, Images, Galleries, List Widgets (and whatever few widgets can be connected to an image collection).
To make updates, you'd need to go to the Content tab in the left menu and update each element.
Hi there, @Lovepreete! Welcome to the Duda Community!
The type of section you're trying to create is sometimes called a 'Global Section'. Unfortunately, Duda does not have those built-in… yet. It is, however, in their features backlog, and you can vote for it in the Duda Ideas Board — the more votes they get, the more likely the feature will be implemented sooner.
In the meantime, depending on the exact content and functionality you want in your section, there may be a couple of 'workarounds':
1. Put your section in the site header/footer: if you want your section to appear on every page of your site, then an easy solution is to simply add it to either the 'header' or 'footer' areas — they can have more than 1 section. It works perfectly, as long as you want the section showing on every page. This is a good option, for example, if you have a promo banner, newsletter sign-up form, or other call-to-action section that you want to appear everywhere.
2. Use the site's Content Library: you can use Duda's Connected Data feature to 'inject' the data from the site's Content Library into widget's throughout your site. The client then only needs to edit the original data in the Content Library, and it will be automatically updated everywhere it's used on the site. As @Bruce_McCaughan pointed out, there are limitations with this approach — i.e., the type of information you have in the Content Library is limited, and it cannot be injected into every type of widget - but depending on your needs, this may give you a workable solution. This is a good option, for example, if you want to display business information - like logo, opening hours, 'about' text, contact info, location map, mission statement, vision statement, etc. - on specific areas of the site.
3. Use Internal Collections: Duda allows you to use built-in databases, called 'Internal Collections', to dynamically create website pages based on your data. Apart from using the collection data to create full-blown pages, you can also use it to generate lists and slideshows that update automatically when the client updates their data. This makes Internal Collections perfect for creating reusable global sections such as 'partner logos' and 'client testimonials'.
4. Create a Custom Widget: when Duda doesn't have what you want built-in, chances are you can build it yourself with a Custom Widget. This is probably the least 'elegant' solution in this particular case, because you'd have to hard-code the entire content of your global section as a widget — that is, anything you want in the section would have to be coded directly as HTML/CSS/JS by you, and it would not be easy to let the client make changes to that content directly (you'd have to do it yourself). But it could be done…
There may be other possible solutions which I haven't covered - such as using Personalization Rules, or Site Apps - so if you still can't do what you need, give us a little more information about your specific requirements, and we might be able to give you more suggestions. Hope it helps!