anydigital / drupal-bricks Goto Github PK
View Code? Open in Web Editor NEWRevolutionary new way of creating rich content in Drupal.
Home Page: https://uibricks.com
Revolutionary new way of creating rich content in Drupal.
Home Page: https://uibricks.com
Bricks included:
Carousel
Scrollspy
Starred
brick propertySorry for russian text, but in English I think too slowly.
Сегодня наткнулся на модуль, первая мысль - крутота! Запустил демку на simpletest, поковырялся в UI, начал думать, и чем дальше, тем все грустнее я становился. Решил поделиться мыслями, может кто-то что-то для себя полезное найдет.
Зайду с козырей. Если мы начинаем структурировать, то почему ограничиваться деревом? Как насчет произвольного графа и средств для реализации связей? Чую вопрос: а зачем это надо? Парирую: а зачем нужно дерево?
Для чего вообще понадобилось структурировать информацию, что мы с этим будем делать? Ведь в общем виде у нас есть произвольное дерево безымянных элементов, которые даже стилизовать толком будет сложно, правда? Это чем-то напоминает XML, но там хоть схема есть, чтобы в случае чего проверить тот же пользовательский ввод (как вариант, можно говорить о JSON-based solutions). А как же тут валидировать пользовательский ввод? Можно ли вообще наложить ограничения на эти деревья, и если такой механизм существует, не является ли это изобретением велосипеда (снова референс к XML/JSON Schema)? А если нет, то чем это по сути отличается от произвольного форматтинга в WYSIWYG?
Структурирование outside Drupal. В той дискуссии, на которую идет ссылка со страницы проекта, Wim Leers справедливо заметил, что Atoms обходятся без привычных средств структурирования информации Drupal. Правда, как насчет Views? Допустим, есть у нас 10 нодов, и в каждом какое-то свое дерево разной формы, в глубине которого спрятана картинка или несколько (по сути являющиеся филдами). И как теперь вывести список этих картинок? По-хорошему, средств для работы с подобной свободной иерерхической структурой друпал не имеет. Возникает вопрос - тогда зачем все это надо? Может быть для удобного последующего layout'инга, но снова см п.1. - как задать структуру и как ее потребовать?
А что же нужно юзерам? Какие задачи на самом деле стоят? Лично из моего опыта, основные задачи это:
1 & 2 пересекаются где-то в районе Panels, но пока в них нет удобного редактора для layout'инга информации.
Года два назад я думал о таком редакторе, но пока ничего не родил, так как задача видится практически неподъемной, а сильной мотивации на фоне движух типа Layout пока нет, так что ждем, что получится из Layout и пока все ручками, ручками.
Сорри, если сумбурно.
There's some ways to port the module
Also treeable module needs to be ported and other dependencies as well
PS: very similar vision to content http://wimleers.com/blog/eaton-urbina-structured-intelligent-adaptive-content
- Open this link (pre-configured sandbox on simplytest.me).
- Click Launch sandbox and wait.
- Click Log in (email and password should be pre-filled).
- Go to Modules and enable Atoms Default.
Step 4 does not work: that module is not present.
Interested by this module, I followed steps stated in the "Demo" paragraph of the project page.
But enable Atoms defaults is impossible since the jQuery_update module is missing!
Hi Tony,
I mentioned this to you in Barcelona at the Twitter Bootstrap BoF. Atoms is using the same machine name 'atom' as Scald for its entities. This means you cannot install Atoms and Scald on the same website. I've posted the issue here: https://www.drupal.org/node/2580299
Mark.
Notice: Use of undefined constant ARRAY_FILTER_USE_KEY - assumed 'ARRAY_FILTER_USE_KEY' in _atoms_molecular_items() (line 67 of .../sites/all/modules/atoms/atoms.module)
Notice: Undefined property: Entity::$machine_name in _atoms_molecules_machine_name_widget() (line 57 of /atoms/atoms_molecules/atoms_molecules.module).
Hello,
I noticed the other day after adding the conditional fields module https://www.drupal.org/project/conditional_fields which would greatly helps my node creation flow by hiding and displaying fields based on checkboxes being checked and various other conditions that it does not work within the node creation/edit forms.
My setup:
"drupal/bricks": "^1.6",
"drupal/conditional_fields": "^1.0@alpha",
"drupal/core": "~8.5"
If you add content to a entity type located here where brand_double_block
is an entity type. http://mysite.com/admin/structure/eck/component/add/brand_double_block
The conditional fields work just fine.
If you add or edit content via the node creation/ edit form located here:
http://mysite.com/node/6/edit?destination=/admin/content
the fields that are supposed to be hiden are exposed.
Do not rely on Treeable.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.