Skip to main content

Questions tagged [contao]

Contao is a PHP based Open Source CMS which uses the MVC architecture. Contao 4 is completely refactored and built upon the symfony framework with bundles and composer compatibility. Please always add Contao version number in your question.

contao
0 votes
1 answer
12 views

How to overwrite Contao4 errorPage

I was trying to follow these steps but did not work: Navigate to the templates directory. Create a new directory structure that mirrors the original template path: templates/ContaoCore/Error/error....
mrana's user avatar
  • 1,018
1 vote
2 answers
117 views

Non-existing service after the upgrade

I upgraded my Contao website from 4.13.38 to 5.3.1. Everything was successful, Contao Manager is working okay, but the website is not functioning. The error is logged in var/logs and points to a non-...
darkvarK's user avatar
0 votes
0 answers
71 views

TCPDF creates broken PDF if two pictures are used

I pull pictures from a database and use TCPDF to create a PDF. If I just use one picture, everything is fine if I use two I get a broken PDF. One picture and everything is fine: if (isset($imagePaths) ...
schlompf's user avatar
0 votes
1 answer
66 views

Contao 4.13: Cannot access system module from Bundle

We are porting a Contao 4.3 installation to 4.13 and a part of it is already in a bundle. In our Controller in the bundle we have code like this: use foo_events\Foo_Payment; class ...
Alex's user avatar
  • 34.4k
0 votes
1 answer
38 views

How to accept German date format in Contao 4 widget?

I'm working with Contao 4 and have a widget with the following configuration in the eval sub array: 'eval' => array( 'class' => 'valid_date', 'rgxp' => 'date', 'dateformat' => '...
Alex's user avatar
  • 34.4k
2 votes
1 answer
6k views

Is php-http/discovery plugin 1.15.1 still breaking composer install in Contao 4.13 with own module?

There was a problem in php-http/discovery which should be fixed in 1.15.1 and composer 2.5.3 Still I can reproduce an infinite loop with the following (more or less) boiled down composer.json: { &...
Alex's user avatar
  • 34.4k
2 votes
1 answer
243 views

Composer Bug after Contao-Update to 4.13

I updated my Contao-Project from 4.9 with PHP 7.4 to 4.13 with PHP 8.1. When I execute "composer update" I run into an infinite loop: Installing dependencies from lock file (including ...
Chris's user avatar
  • 59
0 votes
2 answers
268 views

How to integrate react Router with contao cms

I would like to integrate react router on an application which has been built on top of Contao CMS 3.5.31. We started rendering react components one at a time on various pages/templates but we will ...
coderdonezo's user avatar
0 votes
1 answer
200 views

How to restrict the debug mode to a specific domain in Symfony?

In order to set your app or website in debug mode you can define the following variable in your .env file in Symfony: APP_ENV=dev # Is it possible to define a domain rule? Is it possible to define a ...
Christian Michael's user avatar
0 votes
1 answer
57 views

foreach PHP something wrong

I have this code in PHP <?php foreach($this->group('filter') as $i => $fields): ?> <?php $newField = $this->field('name#'.$i)->value(); ?> <?php $finalvar = ...
Nick Zagkanas's user avatar
-1 votes
2 answers
78 views

How to explode or explode in PHP? [closed]

I have an issue and I am stack in this many days now. I am new in PHP so I cannot understand totally concerning variables. Here is my code <div class="<?php echo $this->class; ?> ...
Nick Zagkanas's user avatar
2 votes
1 answer
546 views

How to open a phar.php file under nginx?

I'am running ddev under macos with apple silicon m1. I'am trying to open a phar (Contao-Manager.phar.php) file in the browser but got a 404. webroot is correctly set, because its is possible to open a ...
iiorka's user avatar
  • 21
2 votes
1 answer
1k views

PhpStorm becomes very slow and takes a lot of resources with Contao CMS project

When I work in PhpStorm IDE with a Contao 4.9 project, the IDE becomes very slow and uses much more then the normal amount of memory. I already excluded almost every possible folder from being indexed,...
Andreas's user avatar
  • 1,983
0 votes
1 answer
312 views

Revolution Slider not working anymore after upgrade from Contao 4.4 to 4.9

After my contao upgrade attempt from 4.4 to 4.9 the revolution slider plugin stoped working. I also don't see it in the contao-manager and this page suggests, that it was maybe installed manually? The ...
Andreas's user avatar
  • 1,983
0 votes
1 answer
120 views

Contao 4 Pagebuilder Module?

I just started a new project on Contao 4 CMS and are a bit stunned by the absense of an easy "editor friendly" way to edit and manipulate the content. Is there some kind of custom module ...
Andreas's user avatar
  • 1,983

15 30 50 per page
1
2 3 4 5
12