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 provides the ability to create modules to extend the core functionality of the CMS and add new extensions.

Questions may relate to using or installing the CMS but more technical questions will relate to the development side of modules.

Contao development comprises of the key elements:

  1. A highly configurable back end DCA (Data Container Array)
  2. Front end modules
  3. Back end modules
  4. Widgets (Form elements)
  5. Drivers (Data sources)
  6. Libraries (Core classes)

The main contao site holds most information about the core including the developer documentation. Support can be gained at the community forums.

Extensions can be found at the official extensions catalogue or at the contao forge.


Contao is licensed under the terms of the LGPLv3. The full license text is available in the repository.

166 questions
1
vote
0 answers

Difference in simplepie between curl and fsockopen?

I use the contao CMS, which uses SimplePie 1.3.1 for fetching rss feeds. Fetching a feed on my development machine worked perfectly but it did not work anymore on my production machine. Following the execution, on my development machine it uses…
Duarnad
  • 71
  • 3
1
vote
3 answers

Contao CMS "ignores" CSS media queries. How to fix?

Contao CMS gives the possibility to import .css files (which is the only way to get your css into this weird CMS), but interprets them and re-writes them somewhere into the file structure (or DB ?). Problem is: It cannot handle modern CSS, and…
Sliq
  • 15,937
  • 27
  • 110
  • 143
0
votes
1 answer

Parsing contao / typolight codes in templates for pdf output

I wrote a script which exports an contao-catalog item as PDF if the user saves the entry in the backend-view. my problem is, that in the templates there are codes like this, if I print out i.e. the variable…
helle
  • 11,183
  • 9
  • 56
  • 83
0
votes
3 answers

in conato

I am using contao cms and I just installed it on ftp and uploaded the data from local host. The w3 validation was success in local host but now its giving errors on the uploaded page. So I checked the source code in both the cases. and found out…
Varada
  • 16,026
  • 13
  • 48
  • 69
0
votes
2 answers

Contao: Multisite & Multiple Domain Names

I am working with Contao (TypoLight). We have several sites on the same Contao Installation. Which also means it's the same root folder. Each site has its own entrypoint, atleast its supposed to have. Now let's assume I have Site A (www.sitea.com)…
Dave
  • 5
  • 2
0
votes
1 answer

How can I integrate AdWords conversion with Contact form?

I wan to integrate an AdWords conversion code in contao. The conversion shall be tracked when a contact form (that was created in the Backend) is sent successfully. I've to do that for a costumer of my organization and actually got no experiences…
Nick
  • 148
  • 10
0
votes
0 answers

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) && count($imagePaths) > 0) { …
schlompf
  • 1
  • 2
0
votes
1 answer

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 ApplicationController public function notifypaypalAction() …
Alex
  • 32,506
  • 16
  • 106
  • 171
0
votes
1 answer

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' => 'd.m.Y', 'datepicker' => TRUE, 'tl_class' => 'w50…
Alex
  • 32,506
  • 16
  • 106
  • 171
0
votes
2 answers

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 soon need to handle navigation between pages. The…
0
votes
0 answers

Contao Soucecode display HTML

From my Mom's previous Webpage i only saved the Files which were in Plesk. everything inside \ That Website was made by a Company. On that time i didnt knew it was made using Contao 3.3.3 (I thought it was only HTML/CSS/Javascript because of that…
0
votes
1 answer

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 domain rule? If you have a multi domain web…
Christian Michael
  • 2,128
  • 1
  • 19
  • 27
0
votes
1 answer

foreach PHP something wrong

I have this code in PHP group('filter') as $i => $fields): ?> field('name#'.$i)->value(); ?>
0
votes
1 answer

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 current version is 4.6.4 (26.11.2014) tested for…
Andreas
  • 1,691
  • 1
  • 15
  • 34
0
votes
1 answer

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 which adds this "pagebuilder" feature as we know it from other…
Andreas
  • 1,691
  • 1
  • 15
  • 34