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
5
votes
2 answers

Template changes not showing with Sulu

When I bootstrap a new project using the latest version and documentation, and then add some properties to the homepage.xml or render some text in the homepage.html.twig nothing changes. In homepage.xml I added this
Jaimy
  • 517
  • 4
  • 20
4
votes
1 answer

form_errors() not displaying errors

I've run into a somewhat bizarre and frustrating problem with Symfony (6.1.4) forms. I'm also using Sulu CMS (hence the call to renderStructure() in my controller below) but the issue I'm having seems to be independent from that. I've confirmed that…
3
votes
2 answers

Sulu media display in list

I created an Entity, PlayerInfo. Inside of that, I have photo field and defined MediaInterface, and use it with that. In adminUI everything is shown OK, in Frontend too, but when I got an idea to show thumbnail in list, I get empty field, and error…
3
votes
1 answer

Sulu: add a new locatlistation leads to permission error

I wanted to give sulu a try and so far it looks nice. So installed a minimal version via composer, defined some page templates and everything worked so far. Then i added a new localization as described in…
patman
  • 2,780
  • 4
  • 30
  • 54
3
votes
1 answer

Sulu CMS - custom form

How to add a custom form to sulu CMS (example: complex contact form) and save values to database? Is there any good example? Documentation does not mention about custom development. Regards,
Mdt
  • 121
  • 6
3
votes
2 answers

Access to the Security services in Sulu Frontend: Hashing a Users password

I'm trying to make a user registration for the Sulu CMF frontend. I want to hash the passwords. But for any reason i can't get the Service. You have requested a non-existent service "security.encoder_factory". Or You have requested a non-existent…
Patrick
  • 1,562
  • 1
  • 16
  • 33
3
votes
2 answers

Sulu as a Pagebuilder: block within block

I want to use sulu as a pagebuilder. A have a block with multiple elements in it. Now my next goal is to provide fields to sho a "Accordion-Script". The Elements consist of title (text_line) content (text_editor) I hoped that i could use a block…
Patrick
  • 1,562
  • 1
  • 16
  • 33
2
votes
1 answer

How do I add smart content fixtures in Sulu CMS?

I am creating the homepage fixtures for a Sulu application. I have created a service page type, and I have created a custom type to use on the homepage called service_slider, which is a slider of cards created from the service pages. The…
Bradley
  • 369
  • 5
  • 11
2
votes
1 answer

Symfony security uses the wrong sql table alias during authentication

I am trying to make my own User entity which extends the SuluUser entity (so I can add some properties). After following the instructions from the Sulu documentation: Extend Entities I then created my own symfony authentication for the (front)…
True Saint
  • 41
  • 6
2
votes
2 answers

How to remove locale prefix in url for default language

I'm starting a sulu.io project and I want urls like that (French is the default language) : {host}/mon-article {host}/en/my-article My config:
Tib
  • 2,553
  • 1
  • 27
  • 46
2
votes
1 answer

SuluArticleBundle throws undefined index: article

I'm trying to setup the SuluArticleBundle with ElasticSearch 2.4. I'm following the documentation but I keep getting [Symfony\Component\Debug\Exception\ContextErrorException] Notice: Undefined index: article when running the php bin/console…
Jaimy
  • 517
  • 4
  • 20
2
votes
1 answer

Is there a way to add my own properties in sulu settings tab?

I would like to add two optional properties for every page in sulu, the name of a menu-icon and an additional long title for every menu-item. I thought the best place to add those would be the "Settings" tab which shows up when editing an individual…
2
votes
1 answer

How I can customize a datepicker in Sulu?

Are there any methods to customize datepicker in Sulu via XML page config (e.g. I need to change date format)? Sounds trivial, but http://docs.sulu.io/en/latest/reference/content-types/date.html says "No parameters available."
Arsen
  • 23
  • 3
2
votes
1 answer

Sulu Define own controller and fetch content of specific type

i want to use my own controller for fetching some special content. I got a "pageType" called "magazin". I want to fetch the lastest entry of a "magazin" and render the output with the template. I set the controller in my template definition…
Patrick
  • 1,562
  • 1
  • 16
  • 33
1
vote
1 answer

Sulu: Including custom entity in admin search

While evaluating Sulu (read: I’m a Sulu newbie), I added a custom entity. In the entity’s list XML configuration I used searchability="yes" on some properties, which works for defining which properties are used for filtering the list of…
BlueM
  • 3,658
  • 21
  • 34
1
2 3
10 11