Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
68 views

we are implemented a custom controller for one webspace of our sulu 2.6 installation. It requires login against our SSO, but the problem is, that the result is cached. We have 4 Webspaces, just one ...
Andreas's user avatar
  • 2,231
-1 votes
1 answer
135 views

I’m working on a Sulu CMS project. I was asked to use the FormBundle and HeadlessBundle to create a contact form accessible at /contact. I’ve set up the form, template, and page in the Sulu Admin UI, ...
yaoviametepe's user avatar
0 votes
0 answers
83 views

Let's say I have two custom entities: Dish Ingredient The entities have a many-to-many relation with extra field: ingredient_position: #[ORM\Entity] class Dish { #[ORM\OneToMany( ...
0x6d6c's user avatar
  • 216
-4 votes
1 answer
85 views

I've created entity, with controller and Admin class, form details and list. Entities are correctly shown in one html table in Sulu admin area. The question is: is there a way to add html class on ...
roundge's user avatar
  • 60
0 votes
1 answer
142 views

If I want to create a link to a page in a Sulu twig template, I can use the <sulu-link /> tag, which is fine for most usecases. But sometimes I do not want an anchor tag rendered, but only the ...
Mario A's user avatar
  • 3,371
0 votes
2 answers
362 views

We recently upgraded to sulu cms 2.4.20 (I know, it is outdated) and are trying to manually build the admin js. Unfortunatly we get the following very persistent errors connected to the jsrouting-...
Andreas's user avatar
  • 2,231
0 votes
1 answer
110 views

I'm working on a SULU project that uses Twig for the frontend and has a custom webpack for it. I need to use React for certain components, components that require more interaction, state management, ...
coral fish's user avatar
0 votes
1 answer
173 views

I am using Sulu CMF and have a custom controller for the sales process on a website. Only logged-in users with a specific security context may access the pages served by the controller, so the ...
Mario A's user avatar
  • 3,371
-1 votes
1 answer
68 views

I have a website created with Sulu CMF. In the webspace settings, security is enabled. <security permission-check="true"> <system>my_site</system> </security> ...
Mario A's user avatar
  • 3,371
-1 votes
1 answer
97 views

I have Sulu CMF in place with two webspaces, one for US and one for EU. Some pages of the two webspaces are identical, so instead of creating the pages individually for each webspace, I used the page ...
Mario A's user avatar
  • 3,371
0 votes
1 answer
238 views

I have a website written in React.js and I need to throw it into Sulu CMS. I have researched how to do this and found ways to do it using API. It seems to me there are much simpler options... I found ...
Karakatitsa 220's user avatar
-1 votes
1 answer
68 views

I was making some search about PHPPageBuilder, and I saw that it claims to be compatible with all PHP projects. But does it fit with Kunstmaan or Sulu framework? Because I'm making all my project if ...
Samcamar's user avatar
0 votes
2 answers
170 views

I created a website with a user login using Sulu CMF. For the user login, I would like to create a "remember me" checkbox. According to Symfony docs, all that need to be done is adjust ...
Mario A's user avatar
  • 3,371
0 votes
1 answer
155 views

In order to create a restricted area on a website, I set up User Context Caching following this guide. https://docs.sulu.io/en/2.5/cookbook/user-context-caching.html The login, logout works, but when ...
Mario A's user avatar
  • 3,371
-1 votes
1 answer
107 views

I'm trying to create a password-protected area of a webpage using Sulu CMF and have problems making it work properly. I followed this guide: https://docs.sulu.io/en/2.5/cookbook/user-context-caching....
Mario A's user avatar
  • 3,371
0 votes
1 answer
192 views

Beside the main navigation, I want to use a second navigation context to display links in the footer of the homepage. {% for item in sulu_navigation_root_flat('footer_support', 4) %} <li><...
Mario A's user avatar
  • 3,371
1 vote
0 answers
38 views

The Sulu cookbook says that you can configure the base domain for custom urls in the webspace, e.g. <custom-urls> <custom-url>example.com/*</custom-url> </custom-urls> So we ...
MadCatERZ's user avatar
  • 200
1 vote
2 answers
247 views

We are using Symfony (Sulu) with Varnish as reverse proxy, with tag based invalidation (xkey) which works as expected. Now we want to use ESI for dynamic blocks on our website, separate from the "...
hsmsm's user avatar
  • 13
0 votes
2 answers
459 views

I have a project developed in Sulu CMS v2.5.10, and I updated my Symfony to v6, and PHP to v8.2, and in project I have package: maxbenton/cwh v2.0.4 App is returning next error: !! PHP Fatal error: ...
Srdjan Mish's user avatar
1 vote
1 answer
132 views

I am using Sulu as CMS and I want to add an internal link to the main navigation, but the browser should scroll to a specific section of the page. I do not see any way to add the "#..." part ...
stollr's user avatar
  • 7,349
1 vote
0 answers
28 views

I have this page_excerpt.xml located under config/forms/ which works fine: <?xml version="1.0" ?> <form xmlns="http://schemas.sulu.io/template/template" xmlns:xsi=&...
MadCatERZ's user avatar
  • 200
-1 votes
1 answer
50 views

I implemented the authentication in my Sulu app. It works, i can login and logout. The Pages I restricted through the admin page dont show in the Navigation, just as I wanted. The problem is that you ...
Waldo's user avatar
  • 41
0 votes
1 answer
207 views

Is there a simple way to Display a Document like a PDF that was included with the media_selection type. I want it to be displayed in the browser. Maybe I just didn´t saw it the documentation. I can ...
Waldo's user avatar
  • 41
0 votes
1 answer
93 views

I am facing the same issue described in this one Empty snippet when using "sulu_snippet_load_by_area" I have this snippet <?xml version="1.0" ?> <template xmlns="http:...
MadCatERZ's user avatar
  • 200
-2 votes
1 answer
335 views

im new to Sulu and Symfony. I want to build a site where the admin adds Useres in the adminpage and then the registerd User can login in the Page. It looks like thats what the User and Role System is ...
Waldo's user avatar
  • 41
0 votes
1 answer
256 views

I have added a custom view to a Sulu admin frontend, where I do some very custom things. Now, I want to be able to show an error message at the top of the site. It should look like this: But I do not ...
stollr's user avatar
  • 7,349
3 votes
1 answer
366 views

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 ...
Bradley's user avatar
  • 578
0 votes
1 answer
260 views

I have created a REST controller for a custom entity that should be administrated by the backend of the Sulu CMS. My implementation is analog to this example. Now I want to define a default sorting at ...
stollr's user avatar
  • 7,349
0 votes
0 answers
96 views

I am building an api bundle for sulu but when im configuring routes to my controller i get the error 'The controller for URI "/ovio" is not callable: Controller "ovio.controller" ...
Roan Meijer's user avatar
0 votes
1 answer
553 views

I am using Sulu as CMS and added some pages. Additionally I have some custom Symfony actions with their own twig templates. Now I want to add a link into the twig template that directs the user to one ...
stollr's user avatar
  • 7,349
0 votes
0 answers
140 views

In the exemple i made in the pictures, i change the property "url" of "Mathématique" page type from "route" type to "resource_locator" but this one is skipped ...
chakroun yesser's user avatar
0 votes
1 answer
339 views

i'm trying display the list from the controller, all the routes are loading but the data is not displaying #[Route(path: '/admin/api/products', methods: ['GET'], name: 'app.get_products')] ...
Bhanuvidh Mansinghani's user avatar
0 votes
1 answer
259 views

I'd like to connect the key of a category in the Sulu CMS with specific business logic. But therefore the key must not be changeable in the admin area. Is there a way to disable a form field once the ...
stollr's user avatar
  • 7,349
1 vote
1 answer
520 views

I have created the following social media snippet with sulu (headless cms) and now I want to use it in my twig.html file. The only problem is that I don't understand which variables I use to get it ...
user avatar
0 votes
1 answer
148 views

I my contoller I try to clear the cache when updating a page protected function mapDataToEntity(array $data, Project $entity): void{ $entity->setName($data['name']); $cacheManager = $...
peace_love's user avatar
  • 6,523
1 vote
1 answer
219 views

I am new to Sulu and trying to learn using it for a new project. After playling around a bit I wanted to change the platform key. After that, the admin interface didn't show the Webspaces tab anymore. ...
stollr's user avatar
  • 7,349
4 votes
1 answer
2k views

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 ...
NeuralClone's user avatar
0 votes
2 answers
550 views

I need to open the language version of the site according to the browser language and IP address. I'm trying to use my Locale Provider as suggested in the documentation.I copy the ...
for_web's user avatar
0 votes
1 answer
384 views

I set up the symfony-docker configuration in a sulu application. Everything works fine in development thanks to the bind mount of the app root directory. But in production, the media files uploaded by ...
norival's user avatar
  • 59
0 votes
1 answer
344 views

I want to present a set of selectable icons to choose one from for each page. When selected, the icon should be available in navigation context data, e.g. via Sulu\HeadlessBundle: { "...
Leon Willens's user avatar
0 votes
1 answer
479 views

I have a field in a sulu cms database. Table phpcr_nodes and field props This field is stocked in XML like this: <?xml version="1.0" encoding="UTF-8"?> <sv:node xmlns:sv=&...
Quentin Des's user avatar
0 votes
1 answer
133 views

Helo, developers... I am using SULU CMS, and as an option I installed ArticleBundle... Now, it is, basically working, but I have strange thing going on... Everything I am describing now is in admin ...
Srdjan Mish's user avatar
0 votes
2 answers
1k views

I am working with sulu cms and symfony. Just started with the project. This is my base.html.twig <!DOCTYPE html> <html lang="{{ app.request.locale|split('_')[0] }}"> <head> ...
user avatar
1 vote
1 answer
600 views

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 ...
norival's user avatar
  • 59
0 votes
1 answer
651 views

I have three entities Provision, Gatekeeper and Data. class Provision { private Gatekeeper $keeper; // ManyToOne private Collection $points; // ManyToMany } class Gatekeeper { private int ...
Leon Willens's user avatar
0 votes
1 answer
412 views

The snippet return "null" when I try to get it in my varaible. {% set snippets = sulu_snippet_load_by_area('banner') %} {{ dump(snippets) }} and <key>banner</key> <meta>...
Mastop's user avatar
  • 1
-1 votes
1 answer
296 views

I want to create an header with can be display or not in all page thanks to a checkbox in back office. I create the twig component and the link can be change in BO. I don't know how to applie with ...
Mastop's user avatar
  • 1
-1 votes
1 answer
232 views

This question is a followup. I have two entities DataSet and DataGroup. class DataSet { string $name; Collection $groups; // Collection<int, DataGroup> } class DataGroup { string $name; ...
Leon Willens's user avatar
1 vote
1 answer
472 views

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 ...
BlueM's user avatar
  • 3,871
0 votes
1 answer
155 views

I have three entities: class DataSet { string $name; Collection $points; // List<DataPoint> Collection $groups; // List<DataGroup> } class DataGroup { string $name; Collection $...
Leon Willens's user avatar