Size: a a a

2019 November 04

J

Jacov in OctoberCMS
менюшка геренится плагином статик пейджес

Там страницы + 2 подвложенные (сейчас)
источник

Э

Эд in OctoberCMS
Oleg Sigalev
а у хелепров вроде как нет функций для twig разметки...ну для некоторых все ежсть, но я так понял это далеко не для всех хелперов)
тебе приедстя подбирать либо альтернативу из того что есть в twig из коробки, например там есть функция для объединения "merge"
или делать свой плагин где в plugin.php регистрировать и добавлять свои фильтры и функции для twig
https://octobercms.com/docs/plugin/registration#extending-twig
Да, тоже пришел к этому, спасибо : )
источник

OS

Oleg Sigalev in OctoberCMS
Эд
Да, тоже пришел к этому, спасибо : )
мне тут еще на днях советовали вот этот плагин "Twig Extensions"
он как раз расширяет твиг и добавляет некоторые функции. думаю можно там подсмотреть некоторые моменты)
источник

Э

Эд in OctoberCMS
Oleg Sigalev
мне тут еще на днях советовали вот этот плагин "Twig Extensions"
он как раз расширяет твиг и добавляет некоторые функции. думаю можно там подсмотреть некоторые моменты)
О, отдельное спасибо : )
источник

Р

Ростислав in OctoberCMS
Jacov
Помогите с адским затупом

Дано:
данный код

<ul class="navbar-nav ml-auto {{ class }}">
   {% for item in items %}
       <li
           class="nav-item dropdown {{ item.isActive or item.isChildActive ? 'active' : '' }}
           {{ item.items ? '' : '' }}"
       >
           <a
               {% if item.items %}class="nav-link dropdown-toggle" data-toggle="dropdown"{% endif %}
               href="{{ item.url }}"role="button" aria-haspopup="true" aria-expanded="false"
           >
               {{ item.title }}

               {% if item.items %}<span class="caret"></span>{% endif %}
           </a>

           {% if item.items %}
               {% partial 'menu-items' items=item.items class='nav-item dropdown-menu' %}
           {% endif %}
       </li>
   {% endfor %}
</ul>



результат: менюшки все развернутые вылезают.
Это вопрос по css. Нужно скрывать выпадающие списки, а при hover показывать.
.navbar-nav ul{ display:none;}
.navbar-nav li:hover ul{ display:block;}
источник

J

Jacov in OctoberCMS
спасибо) пошел тестиь
источник

J

Jacov in OctoberCMS
Ростислав
Это вопрос по css. Нужно скрывать выпадающие списки, а при hover показывать.
.navbar-nav ul{ display:none;}
.navbar-nav li:hover ul{ display:block;}
+
источник

A

Axenia in OctoberCMS
zif91 (0) увеличил карму Boarworm (336.6)
источник

A

Alexis in OctoberCMS
Karen
Добрый вечер друзья, подскажите как можно создать в админке свую струткуру данных:

Слайдер:
Список слайдеров
Добавить слайдер
Редактировать слайдер
Удалить слайдер
Загаловок слайдера
Загрузка изображения
Пользовательские поля
Прочитать закрепленное сообщение. Почитать документацию. Посмотреть видео. Сделать за полчаса
источник

A

Alexis in OctoberCMS
Охтыж... Форк октября....
источник

A

Alexis in OctoberCMS
Не было печали...
источник

A

Alexis in OctoberCMS
Unfortunately, due to key differences in vision between the founders and maintainers we have decided to fork OctoberCMS as OctoberCMF. What this means going forwards is that the core team of maintainers (myself, @bennothommo, & @w20k) will no longer be maintaining any @octobercms repositories and will instead be maintaining the @OctoberCMF repositories.

All existing plugins & themes remain compatible with this fork, you will just have to change your composer.json files to reference the following dependencies instead:

"octobercmf/rain": "~1.0",
"octobercmf/system": "~1.0",
"octobercmf/backend": "~1.0",
"octobercmf/cms": "~1.0",
Our immediate goal is to finish setting up the repos under the OctoberCMF name, the system, backend, & cms repos are being setup as I type this and should be ready by end of day today.

If there are any pending PRs / issues on the OctoberCMS repos that you would like dealt with, please resubmit them here.

Once that is complete we will be focusing on finishing up the remaining work for Build 460 and getting these changes pushed to master with the Laravel 6 update to follow afterwards.

Moving forwards we will continue to work on new builds as per normal and we will also start work on the main website for the project with the goal of eventually replacing the OctoberCMS marketplace. In the meantime, you will still be able to use the OctoberCMS marketplace with OctoberCMF.

Our big picture goal is to continue to grow and improve and eventually take over WordPress as the CMS of choice around the world. I would like to thank everyone for their patience and understanding as we move forwards and I look forward to all the excellent work that is to come!
источник

A

Alexis in OctoberCMS
(с) LukeTowers
источник

Z

Zoten in OctoberCMS
Alexis
Unfortunately, due to key differences in vision between the founders and maintainers we have decided to fork OctoberCMS as OctoberCMF. What this means going forwards is that the core team of maintainers (myself, @bennothommo, & @w20k) will no longer be maintaining any @octobercms repositories and will instead be maintaining the @OctoberCMF repositories.

All existing plugins & themes remain compatible with this fork, you will just have to change your composer.json files to reference the following dependencies instead:

"octobercmf/rain": "~1.0",
"octobercmf/system": "~1.0",
"octobercmf/backend": "~1.0",
"octobercmf/cms": "~1.0",
Our immediate goal is to finish setting up the repos under the OctoberCMF name, the system, backend, & cms repos are being setup as I type this and should be ready by end of day today.

If there are any pending PRs / issues on the OctoberCMS repos that you would like dealt with, please resubmit them here.

Once that is complete we will be focusing on finishing up the remaining work for Build 460 and getting these changes pushed to master with the Laravel 6 update to follow afterwards.

Moving forwards we will continue to work on new builds as per normal and we will also start work on the main website for the project with the goal of eventually replacing the OctoberCMS marketplace. In the meantime, you will still be able to use the OctoberCMS marketplace with OctoberCMF.

Our big picture goal is to continue to grow and improve and eventually take over WordPress as the CMS of choice around the world. I would like to thank everyone for their patience and understanding as we move forwards and I look forward to all the excellent work that is to come!
А конкретная причина есть или совокупность?
источник

A

Alexis in OctoberCMS
Да походу у всех накопилось и посрались в итоге. Сэм даже забанил Люка в Октябрьском слаке
источник

A

Alexis in OctoberCMS
"I agree, Luke is one of the best. I had no real say in this decision, Luke made up his own mind" (с) Сэм
источник

A

Alexis in OctoberCMS
В общем читайте шлак.... В смысле слак
источник

Z

Zoten in OctoberCMS
Alexis
В общем читайте шлак.... В смысле слак
Лень) Походу 6 ларка теперь в CMF будет, а на CMS забьют. Без люка там штиль наступит.
источник

A

Alexis in OctoberCMS
"Prediction: Luke will write amazing code in his fork, Sam will merge it in his. Luke will make more money and buy october rights later on." (с) какой чел
источник

Z

Zoten in OctoberCMS
Можно чат переименовать))
источник