sulu

Sulu: Is it possible to limit the available page templates per webspace?

早过忘川 提交于 2021-01-29 05:28:42
问题 I have a sulu 1.6 installation with multiple webspaces. I have multiple page template definitions in app/Resources/templates/pages , like default.xml , homepage.xml , blog.xml , center.xml . Is it possible to make for example the center.xml only available for the content of one webspace and not all the others? UPDATDE: Where can I change this behaviour in the code, that per webspace only the ones are showing up, that are defined in the webspace.xml? This is really blocking and a super bad

Sulu CMS: is it possible to restrict the creation of nodes of a certain type only under nodes of another particular type?

天涯浪子 提交于 2020-01-23 18:08:27
问题 We are in a situation where we have pages of the news template type, that can carry any number of nodes of the news_item template type. In effect they should only ever carry nodes of that type and that type alone , and nodes of the news_item type should only be created under nodes of the news type . Thus, the "available templates" for a user when he/she tries to create new content under a news node should only be a news_item . Is it possible to enforce this somewhere? For instance as some

Sulu Massive Search Bundle exception

纵饮孤独 提交于 2020-01-06 04:37:11
问题 after calling in bash bin/adminconsole -vvv massive:search:reindex && bin/websiteconsole massive:search:reindex we get in our sulu 1.6 soon to be production environment the following permanent error: provider "doctrine_orm" -- reindexing "0" instances of "Sulu\Bundle\ContactBundle\Entity\Account" 0 [>---------------------------] < 1 sec 22.0 MiB -- reindexing "5" instances of "Sulu\Bundle\ContactBundle\Entity\Contact" 5/5 [============================] 100% < 1 sec/< 1 sec 26.0 MiB --

SULU CMS installation errors with Laravel Homestead

六月ゝ 毕业季﹏ 提交于 2019-12-12 04:30:54
问题 Follow this document http://docs.sulu.io/en/latest/book/getting-started.html at the end of installation process I got this error: Target: cache cache:clear ({"--no-optional-warmers":true,"--no-debug":true,"--no-interaction":true}) // Clearing the admin cache for the dev environment with debug true [Symfony\Component\Filesystem\Exception\IOException] Failed to remove directory "/home/vagrant/Code/sulu/var/cache/admin/de~/doctrine": . sulu:build [-D|--nodeps] [--destroy] [-h|--help] [-q|--quiet