Questions tagged [sulu]

Sulu is a content management platform based on Symfony made for businesses.

Sulu is a content management platform based on Symfony made for businesses. It’s a flexible CMS to create and manage enterprise multi-sites and a reliable development environment for high-performance apps. With powerful features for developers and a simple UI for editors it’s the ideal engine for state-of-the-art business websites and web-based software.

More info: http://sulu.io/en

161 questions
0
votes
2 answers

Child page extends base.html.twig BUT content of base.html.twig is not rendered

I am working with sulu cms and symfony. Just started with the project. This is my base.html.twig
user3832429
0
votes
1 answer

How to load a default snippet from a template in sulu?

I'm trying to use a snippet to store a contact address meant to be displayed in the footer of every page. Following the doc (https://docs.sulu.io/en/2.3/cookbook/default-snippets.html), I created a snippet template named address in…
norival
  • 49
  • 6
0
votes
1 answer

Sulu CMS - Visiblity condition from underlying value of resource single selection

I have three entities Provision, Gatekeeper and Data. class Provision { private Gatekeeper $keeper; // ManyToOne private Collection $points; // ManyToMany } class Gatekeeper { private int $id; private string $name; private bool…
Leon Willens
  • 356
  • 1
  • 16
0
votes
1 answer

Empty snippet when using "sulu_snippet_load_by_area"

The snippet return "null" when I try to get it in my varaible. {% set snippets = sulu_snippet_load_by_area('banner') %} {{ dump(snippets) }} and banner Banner
Mastop
  • 1
0
votes
1 answer

Sulu CMF - CRUD Filtered Multi-Item-Selection for association entities

I have three entities: class DataSet { string $name; Collection $points; // List Collection $groups; // List } class DataGroup { string $name; Collection $assignedPoints; // List } class DataPoint { …
Leon Willens
  • 356
  • 1
  • 16
0
votes
1 answer

Additional field in articles from custom template

I have a problem. In elastic search, we have data returned as follows: "uuid": "8f39a450-64c2-407c-9836-32ed3b4db1ce", "locale": "de", "title": "Blah nedvsger", "route_path": "/articles/blah-nedvsger", "type": "news", "type_translation":…
0
votes
1 answer

Excerpt and taxonomies on SULU Admin

how can I hide or disable "Excerpt and taxonomies" tab on SULU Admin UI, on my custom page template?
0
votes
1 answer

How do I enable Sulu API to guest accounts?

I am looking to find a way how to enable Sulu (Admin?) API accessible outside admin area. To be more specified, to be accessible without account (session). For example route "/admin/api/snippets" This url works when you are logged in as admin, but I…
Lakso
  • 1
0
votes
1 answer

sulu 2.2: Ist there a way that categories in the category_selection content type are sorted automatically by name?

Is there a way that the displayed categories of the category_selection content type are sorted by name rather then id? They are loaded via ajax from the api like…
Andreas
  • 1,691
  • 1
  • 15
  • 34
0
votes
1 answer

ListBuilder not filtering with createInExpression

I have asked already on Slack, but maybe someone will answer here. I wanted to filter list in adminUI so I can get only items I need, and I used createInExpression. Code I set is: if($request->query->get('team') !== null) { $team =…
0
votes
1 answer

How to use single_media_upload

I am looking for an example for simple use of single_media_upload in SULU AdminUI. I have a player form, and it has single_media_selection type of field, and it works OK. Now, how can I use single_media_upload, because, when I replace it instead of…
0
votes
1 answer

Any example for sulu 2.x under kubernetes?

I'm in trouble having sulu 2.x working in kubernetes. There is an example for sulu 1.4 here but there are some 1.4 specificities. I'm wondering if their is any example for sulu 2.x ? If not, any recommendations?
0
votes
3 answers

How to store tags to custom entity?

I have custom entity and tag field defined as: /** * @ORM\ManyToMany(targetEntity="Sulu\Bundle\TagBundle\Tag\TagInterface") * @ORM\JoinTable(name="venue_tags", * joinColumns={@ORM\JoinColumn(name="venue_id", referencedColumnName="id")}, * …
MilanG
  • 6,994
  • 2
  • 35
  • 64
0
votes
1 answer

Sulu: adding tags field to custom entity

How to add tags field to custom entity? What kind of (doctrine) field type it should be? I can't find any documentation nor example about that. Update: I followed @Prokyon's instructions and added field to my custom entity and not it looks like…
MilanG
  • 6,994
  • 2
  • 35
  • 64
0
votes
1 answer

Sulu: Entity has no field or association error

I'm following Sulu example here: https://github.com/sulu/sulu-workshop/ trying to set translations for custom entity type. My entity file has getter for field "home_team" defined like: /** * @Serializer\VirtualProperty(name="home_team") */ public…
MilanG
  • 6,994
  • 2
  • 35
  • 64