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

How to extend page module in contao?

I want to insert image in page module. Anybody have idea how to extend page in contao ? See screen for more clarification. http://screencast.com/t/JXk5thjlvHv See attached screen .. my idea is like this.
Ajay Gohel
  • 128
  • 12
1
vote
1 answer

Contao: How can I change the protocol of the base url?

In Contao 3.5.9 I have uploaded to new server and am using a different domain from the original installation. I am also using https:// Many of the resources needed are not being loaded because the system has the base url set to http:// It is using…
Jez D
  • 1,461
  • 2
  • 25
  • 52
1
vote
1 answer

How to add Captcha in Contao CMS 3.5.9 form?

I want to add ( Number + Character ) captcha for contao CMS 3.5.9. Anybody can suggest me which one extension is good and easy to implement? Contao default form giving simple security question that i know but that would not useful to me i guess. i…
Ajay Gohel
  • 128
  • 12
1
vote
1 answer

Contao 4.1.2 installation just does not work out

I have extracted and copied the source files from https://contao.org/de/download.html (Contao 4.1.2 zip) to my web space (givoo.de) per FTP. After visiting the url givoo.de/web/install.php it tells me to set the password and directly after that I am…
vega
  • 127
  • 3
  • 12
1
vote
3 answers

How do I correctly implement this mySQL query into a PHP file and display the results?

Main topic: https://stackoverflow.com/questions/35163890/you-have-an-error-in-your-sql-syntax-check-the-manual-that-corresponds-to-your?sfb=2 SELECT SUBSTRING(LEFT(configuration, LOCATE('abhol_firma', configuration) -30), LOCATE('treuhand_betrag',…
1
vote
1 answer

Foundation: small media query won't be displayed on smartphone

I'm currently working on the this page. Can someone explain to me why the site won't be rendered correctly on a smartphone? The medium Query is shown instead of the small. I integrated the foundation js-files like so:
1
vote
1 answer

Custom HTML Element or Module - Start tag seen without seeing a doctype first - rendered HTML issue

In Contao 3.5.4 I'm trying to to use the html5 element in a Custom HTML module. This is the code:
1
vote
1 answer

Need to get rid of lang version in url

Have a project on Contao CMS 3.3.6. Main page adress has url: sitename.com/en/ Even try sitename.com, whatever redirecting to sitename.com/en/ I have tried fix it by using htaccess but it is not works: too many redirects. Also I didn`t find…
1
vote
1 answer

PHP template for Contao CMS won`t work

I´m trying to change a PHP script for me project in Contao with the extension Metamodels. This is the source script that should work: I changed the code like this. But I get an Fatal PHP error, did i Missed something? I ´m getting into PHP right now…
Steve
  • 31
  • 5
1
vote
2 answers

jQtouch/Contao Image Upload with PHP

I am trying to upload images with a form to my webserver but the $_FILES['file'] can't find my file. Its designed only for mobiles and I'm using Contao as CMS. I can upload with files on the server if I use a new Page that wasn't generated by Contao…
Luanhu
  • 15
  • 8
1
vote
2 answers

Contao: Radio/Checkbox menu - Product attribute with Options Manager

Isotope e-commerce In the backend I've made some product attributes as Checkbox/Radio button menu and I've put the values using the Options Manager. Example: a field with name filter_farben (see picture: settings for attribute field) On the…
Seer
  • 739
  • 4
  • 22
1
vote
2 answers

Contao: Teasers in dropdown navigation

I need to make a dropdown navigation, where for every parent navigation item, in the dropdown area I show the child pages + 3 images with a title linked to other pages. I would need something like the 'Custom Navigation' module with an option to…
Seer
  • 739
  • 4
  • 22
1
vote
1 answer

How can I create dynamic CONTAO pages?

So I'm developing this website on CONTAO CMS and I have many information in database tables created by me. [eg: I have database table named Country with 2000 records in it]. Then in CONTAO I have the page called Record (alias: record.html) in which…
hanga mihai
  • 69
  • 1
  • 2
  • 7
1
vote
0 answers

contao isotope image size etc

i've got a problem regarding the image size in the productoverview in isotope, when i upload an image to a product and then watch it back on the page the image is covering the whole page. now i tried to make it smaller by going to : store…
JackyJ
  • 11
  • 2
1
vote
2 answers

Contao 2.11 call to module via ajax

I have question about call to my module action via ajax. I'd like call to class in my module via ajax. But best solution for me is call to clean class. Not extends Module. I don't know hot can I make url without add article to database and add…
110precent
  • 322
  • 4
  • 19
1 2
3
11 12