Giter Site home page Giter Site logo

md-systems / widget Goto Github PK

View Code? Open in Web Editor NEW
1.0 15.0 3.0 62 KB

Note that this module currently requires the old branch from our forked layout module: https://github.com/md-systems/layout/tree/old

JavaScript 0.85% PHP 76.01% CSS 6.28% HTML 14.17% Shell 2.70%

widget's Introduction

widget's People

Contributors

berdir avatar tonnosf avatar vladan-me avatar arildm avatar lks90 avatar

Stargazers

Rajab Natshah avatar

Watchers

 avatar Miro Dietiker avatar Vladimir Mitrovic avatar Janez Urevc avatar James Cloos avatar Milos Bovan avatar Rajab Natshah avatar Ivica Puljic avatar Martin Micuch avatar  avatar Anushka Abeyrathna avatar  avatar  avatar  avatar Christian Broekmeulen avatar

widget's Issues

Undefined index: #markup in Drupal\widget\Plugin\Block\WidgetBlock

Notice: Undefined index: #markup in Drupal\widget\Plugin\Block\WidgetBlock->blockForm() (line 158 of profiles/np8/modules/contrib/widget/src/Plugin/Block/WidgetBlock.php).
Drupal\widget\Plugin\Block\WidgetBlock->blockForm(Array, Object)
Drupal\Core\Block\BlockBase->buildConfigurationForm(Array, Object)
Drupal\page_manager\Form\DisplayVariantConfigureBlockFormBase->buildForm(Array, Object, Object, 'dc30c400-124e-4b19-ac00-c6e7101b713e', '699c0bb1-483d-4bcb-955f-95a317c79e32')
call_user_func_array(Array, Array)
Drupal\Core\Form\FormBuilder->retrieveForm('page_manager_display_variant_edit_block_form', Object)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber{closure}()
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber{closure}()
call_user_func_array(Object, Array)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1)
Stack\StackedHttpKernel->handle(Object, 1, 1)
Drupal\Core\DrupalKernel->handle(Object)

Widgets in widgets

Is it possible to have widgets in widgets? It seems I can set this up in the UI as long as I disable js. Not yet sure whether it will work as expected. What about cache metadata bubbling, and contexts?

Ghost widget items in Page Manager config

I keep getting "ghost" widgets saved in a Page Manager page, like:

  d60ca0eb-53dc-4ded-8e00-d4181f496fbf:
    id: widget_block
    label: ''
    provider: widget
    label_display: visible
    cache:
      max_age: -1
    blocks: {  }
    layout: null
    classes: {  }
    uuid: d60ca0eb-53dc-4ded-8e00-d4181f496fbf

They don't show up in the UI but they make configuration management a bit troublesome. Not sure if it's because of something with Widget or Page Manager.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.