page-builder | 自定义页面构建平台 | Frontend Framework library
kandi X-RAY | page-builder Summary
kandi X-RAY | page-builder Summary
自定义页面构建平台
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of page-builder
page-builder Key Features
page-builder Examples and Code Snippets
Community Discussions
Trending Discussions on page-builder
QUESTION
Reference image - from oneolympus.com:
If you refer to the image above (which was created through a page-builder), that entire component is actually a section, (1) with a background gradient, and (2) those white waves are a png that is overlayed on top of the background (positioned at the bottom of that section)
Can anybody share how to do this with HTML & CSS?
I'm just a beginner, but I was thinking of maybe using two separate divs? With the 1st div having a background colour (position: relative;) and the 2nd div (position: absolute;) with the png being overlayed at the bottom of the 1st div? But I couldn't get that to work - so seeking any help here please!
...ANSWER
Answered 2021-Mar-26 at 09:22Did you know that you can have a series of background images?
As the wavy png is really part of the background rather than part of the content of the page you could do something like this:
QUESTION
I have a problem with the theme i use, no longer supported 🙁 .
***/wp-content/themes/country-inn/assets/js/page-builder-widgets.js: jQuery.fn.live() is deprecated
The problem is in this line:
jQuery(“.pt-country-inn-remove”).live(‘click’, function() { jQuery(this).parent().parent().remove();
Can anyone please tell me how can i change the code on this line of code to update and use use the on() instead.
Hope you can help me.
...ANSWER
Answered 2020-Nov-24 at 15:37The updated code looks like following:
QUESTION
I'm playing around with some code, but came across a styling issue.
I'm in the early stages of creating a "Page Builder", but some of the divs are overlapping one another.
The circled content is an example of what I want to prevent, because those divs are overlapping the sidebar and going outside the previewing area.
How would I go about fixing this styling?
Codepen: https://codepen.io/JosephChunta/pen/MWyJoeq
HTML
...ANSWER
Answered 2020-Aug-27 at 20:57The actual issue is with the sidebar, it is overextending.
Remove width: 100%
from
QUESTION
I'm trying to create a new widget called "Image Summary Section". I'm at the very beginning stages and I'm just trying to get the widget to appear in the list of widgets when adding widgets to the page. Instead, I just get existing widgets that I didn't create:
You can see that I've created a class that implements IWidgetProperties
and that I've called RegisterWidget
for it. I've also created _ImageSummarySection.cshtml
(though, I wouldn't expect that to be necessary just for the widget to appear in the widget selection dialog).
The top solution is for the MVC website, and the bottom solution is for the Kentico CMS. Both are running, and the browser shown is the Kentico CMS (I'm trying to add my new widget in this screenshot, but it's not in the list of widgets).
Any idea of what I'm doing wrong? How can I get my widget to appear in the list of widgets?
Additional information:
- I've looked at various links, but here's one I was looking through: https://docs.kentico.com/k12sp/developing-websites/page-builder-development/developing-widgets-in-mvc/defining-widget-properties-in-mvc
- I'm on the latest Kentico version, which I think is 12.0.77.
.
.
.
.
.
.
EDIT:
I just watched this video, hoping it would provide insight: https://www.youtube.com/watch?v=ljQO9on5lLM
It was more basic than I anticipated, but I did notice these two frames:
Note that it shows six available widgets to select from.
And then there was this frame:
It shows only two available widgets.
From that, I infer that sections may have some feature that allows developers to constrain which widgets are allowed in them. Is there perhaps something I need to do in order to allow my widgets to appear as options in the default section (the one shown below)?
.
.
.
.
.
.
EDIT #2:
I researched widget constraints a bit and found this: https://docs.kentico.com/k12/developing-websites/page-builder-development/creating-pages-with-editable-areas-in-mvc
Specifically the section titled "Limiting widgets allowed in an editable area", which says the following:
Since my view is not passing a parameter with a whitelist of widgets, all widgets should (in theory) be allowed:
...ANSWER
Answered 2020-Jul-17 at 17:15You're almost there. You need to create another class and register your widgets in the App_Start folder. Check out the documentation here on that. It's the section on widget registration. Be sure to enable Page builder as well.
*** Updated ***
Based on your update and not being able to see the image well on my mobile device, I was able to see you're defining/registering your widget in your Properties model. This needs to be done in the Controller. See the example below.
\Models\Widgets\JobListingWidgetProperties.cs
QUESTION
I have a site where by I am using a small jQuery function and css to translate a section on page scroll (fades in and moves up).
All of the sections that I do not want to animate have a sub-class of 'sp-portfolio' i.e. sp-page-builder .section .sp-portfolio
but the function works on .sp-page-builder section
See below (please note, this runs in Joomla hence the slightly different syntax at the start:
ANSWER
Answered 2019-Sep-02 at 20:01Since you are in a loop with your if
query and the if
query should only refer to the current element, this element must also be addressed.
You can easily do this by changing your code
if (jQuery(".sp-portfolio")[0]){
in
if (jQuery(tag).hasClass(".sp-portfolio")){
Your used code always refers to the first element on the whole web page with the corresponding class, no matter if it is in the loop or not. So if the class exists only once – no matter where on the page – the query always returns a true
and behaves correctly.
With the small adjustment you just refer to the current element in the loop and not to the whole page.
I hope this could help. :)
QUESTION
I use one javascript to build my html page using templates (PageBuilder) and another to translate the content Translator. Problem is that the page has to be fully built before translating it otherwise some items are not found by Translator when it loads, and that's what happens here.
From reading the logs, I can tell that the problem is in PageBuilder.drawNav(): before it ends, Translator.load() has already started. Can you tell me how to make sure drawNav is fully completed before the code can continue?
Main js
...ANSWER
Answered 2020-Apr-14 at 14:32You need to add return
before this.drawNav()
call in
QUESTION
I need to active element with resize browser. I have following code segment,
...ANSWER
Answered 2020-Apr-07 at 03:52Are you familiar with CSS Media Queries? They seem to be perfectly suited for what you describe.
Media Queries allow you to trigger a CSS rule at specific screen or device dimensions. So, for instance, if you wanted one of the tags to get the active styling only when the screen was between certain widths, you could use:
QUESTION
OK, I was trying everything with no luck, so stackoverflow is my last chance. I have latest version of WordPress with latest version of WooCommerce. On category page I have container div that I can't remove. It's one of the TwentySeventeen div's:
...
Yes, I build my store on default Twentyseventeen theme but I have re-buid it totally with custom loops, wp_queries ACF plugin custom fields etc. Even name ot this theme is completly different with 90% my won CSS now.
I checked all php files, and I deleted all rows with this DIV, and added my own classes, divs, and Bootstrap DIVS (I use Bootstrap 4). But this div is still there, and ONLY on category page. What is going on?
- Yes I cleared all browser cache
- I was checking this page on other devices
- I was trying to reinstall Wordpress again
- I was trying to activate other theme and then activate my own
- Page has no cache plugins (still dev version, not live page)
- I was trying to deactivate, and activate all plugins (also WooCommerce)
- I Also checked DB for thieese DIV :) - not found
- I don't use any page-builder (only raw code, and ACF PRO plugin)
- I was trying to run debug mode in WP - no errors
The problem is ONLY on category page. I can't remove this container div, and can't find it inside the PHP files. Any ideas?
...ANSWER
Answered 2019-Nov-27 at 22:57OK, I found the solution! There is also wrapper PHP file in templates catalog: https://github.com/woocommerce/woocommerce/blob/master/templates/global/wrapper-start.php and there is this code! Template file adds there below line:
Line 47
Edit -> override -> upload -> done :/
OMG!
QUESTION
I’m looking for some advice when it comes to custom CMS development.
Wordpress has been perfect for me before a became a developer. I used to use page builders like Elementor & WPBakery.
When developing within WP, would I need to develop a page-builder for people (without coding knowledge) to edit their pages? I’m aware of Gutenberg, is that able to edit coded pages or would it not be able to read anything as it wasn’t built using Gutenberg?
If so, would it not be better to develop a Custom CMS similar to Wordpress? That way you are able to offer a blank canvas CMS that you can brand as your own?
Thanks in advance.
...ANSWER
Answered 2019-Nov-19 at 08:23Interesting question! It will require some prior research on your part, as there is no obvious answer. Below are my thoughts on the matter, but it the decision is yours to make, as the project requirements are unique and also the time you can invest in it.
When developing within WP, would I need to develop a page-builder for people (without coding knowledge) to edit their pages?
A: No. Gutenberg is perfect for this.
I’m aware of Gutenberg, is that able to edit coded pages or would it not be able to read anything as it wasn’t built using Gutenberg?
A: It won't read anything that wasn't made with it, but you can try recreating those pages with it. Depends on the design, but it shouldn't be hard. If it is a site for a client, you can ask them to recreate one or two pages and see how they feel. They will answer this question for you :)
That way you are able to offer a blank canvas CMS that you can brand as your own?
A: You can "rebrand" the WordPress admin with such a plugin
If so, would it not be better to develop a Custom CMS similar to Wordpress?
A: It all depends on how comfortable you feel with WordPress and Gutenberg, code-wise. You can do pretty much anything, if you understand the PHP, React (Gutenberg is written in React) and logic behind WP, so you won't need a custom CMS. Again, it all depends on your skills with the technologies. If you rate yourself a 10/10, no need to think about it, but I guess you wouldn't be asking this question, if you were.
Pros of going with WordPress and Gutenberg:
- You already have all the necessary tools.
- A ton of supporting plugins, already developed by other people.
- WordPress has one of the most well-maintained codebases out there, so you will have a great start, compared to building a CMS on your own. Even if you decide to create your own plugin, you have a set of rules and practices that you need to adhere to, which is great for starters. You also have all the necessary components - DB, back-end and front-end ready.
- Gutenberg is pretty stable right now and you can install the plugin, because the code that is implemented in WP core is not the latest. It is great for building pages, when you don't know code. Look into all the different blocks it offers by default and think if they cover your requirements. There are also a lot of extra blocks you can add.
- The popularity of Gutenberg is growing and the community is slowly, but surely moving in that direction, so making this project with Gutenberg would benefit your future career as a WP developer, if you are interested in building one.
- On the point of growing community, you will find answers to a lot of the common issues.
Pros of building your own CMS:
- You will see the whole process - DB design, connection and expanding. Back-end and front-end development, user authentication and administration. For me this is a con, because there are many unexpected problems, which WP has solved. It is also very time-consuming, so if you have limited time for this project, I would advise against this.
- You can make a slim CMS, which covers only your requirements and you will know the ins and outs of the code, so any future changes and expansions will be easier for you to make.
- As you said, it will be easier to brand as your own and you can build the Admin side of it however you want, even though there are defined UX standards, which won't allow you to go very wild. It will probably resemble the WP admin in one way or another. Check out these admin page designs, for reference.
Conclusion
Personally, I would go for WordPress and Gutenberg, because I have had mostly bad experiences with building everything on my own. I am not a good enough coder and that is OK, because I can use all of these tools, built by awesome developers before me. So please keep in mind that building your own CMS will take a lot of time, if you want to make it stable and secure. There are also alternatives to WordPress.
QUESTION
I am building a component-driven API for a basic page-builder system and have hit a stumbling block when it comes to validation.
First, I want to explain the use-case.
if we have a component (for example in Vue) in /components/ProfileCard.vue
ANSWER
Answered 2019-Sep-06 at 23:17Your approach seems like you are over complicating a simple problem. I would never do a validation in a validation rule. Instead do rules that is dependent on the component
and adjust it in the form request accordingly. You can easily do nested rules like so.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
Install page-builder
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page