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
0 answers

Google login to Sulu CMS admin v2.5

I would like to have Login via Google oAuth in Sulu CMS (version 2.5) admin. How can I override login form to add Google login button in my project? I found out that itself login form is here as React component inside…
jekaby
  • 403
  • 3
  • 13
0
votes
1 answer

How to define a default sorting in a Sulu admin list view

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 the list view. Currently the items are listed…
stollr
  • 6,534
  • 4
  • 43
  • 59
0
votes
0 answers

The controller for URI "/ovio" is not callable: Controller "ovio.controller" does neither exist as service nor as class

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" does neither exist as service nor as class.' What am i doing wrong…
0
votes
1 answer

How to create a link to a page managed by Sulu?

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 of the CMS pages. How can I achieve that? I know…
stollr
  • 6,534
  • 4
  • 43
  • 59
0
votes
0 answers

Symfony ~ SULU - Property from "route" to "resource_locator"

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 in the hierarchy usage. Do you have any idea about how to refresh URLs ?
chakroun yesser
  • 1,407
  • 1
  • 12
  • 18
0
votes
1 answer

sulu CMS admin ui not showing data

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')] public function index(ManagerRegistry $doctrine):…
0
votes
1 answer

Disable form fields in Sulu's admin frontend after the entity has been persisted

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 entity is persisted?
stollr
  • 6,534
  • 4
  • 43
  • 59
0
votes
1 answer

How to load the following sulu snippet in the twig.html file

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 running. I have tried a variety of different ways…
Bifrost
  • 73
  • 5
0
votes
1 answer

How can I use the a cache manager in Symfony?

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 = $this->get('sulu_http_cache.cache_manager'); …
peace_love
  • 6,229
  • 11
  • 69
  • 157
0
votes
1 answer

No permission to webspace after changing webspace key

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. I executed the commands bin/console…
stollr
  • 6,534
  • 4
  • 43
  • 59
0
votes
2 answers

Sulu CMS - Change the default locale provider

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 RequestDefaultLocaleProvider.php to src folder, rename and registered…
for_web
  • 3
  • 1
0
votes
1 answer

How to persist users' uploads in a sulu application deployed with docker?

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 the user are not persisted when containers are…
norival
  • 49
  • 6
0
votes
1 answer

Sulu CMS - Page icon for navigation context

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: { "_embedded": { "items": [ { …
Leon Willens
  • 356
  • 1
  • 16
0
votes
1 answer

Select value in xml field with mysql

I have a field in a sulu cms database. Table phpcr_nodes and field props This field is stocked in XML like this:
0
votes
1 answer

ArticleBundle Draft article list visibility

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 panel (no FE is involved in my problem) (New…