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
0
votes
1 answer

How to add a jQuery Plugin to Contao

I have a Contao(CMS) based website and would like to add a new jQuery plugin to the site. But since I'm new to Contao, I have no clue how to do that. The plugin inside a .zip archive called codecanyon-2390758-jquery-social-timeline.zip. The plugin…
es1
  • 1,231
  • 3
  • 14
  • 27
0
votes
1 answer

Break up PHP select menu

i´m kind of a noob in php things and i got the following problem: i got a plugin which helps me making a website with 2 languages. So i tell the plugin which languages i want to have in my contao-backend and then i can use them in the frontend. I…
user2575867
0
votes
1 answer

How to send multiple forms with one button in Contao?

I have a question about the wrappers/accordeons. I now have multiple wrappers and in each wrapper there is a form. Now, I want one sendbutton on the end of the page. The sendbutton which will send all the forms that have been filled in at…
Stromae
  • 21
  • 3
0
votes
1 answer

Superfish second level ul very tiny

The problem is the superfish menu on my website: http://alexander-pastor.de/ When hovering the mouse over the li of the top-level's ul, the child ul has only a height of 16px. I can't fix it somehow. Adding height/min-height css-property to ul or li…
Alex
  • 751
  • 1
  • 6
  • 34
0
votes
0 answers

Querying tl_user table always return empty result

On a page I´m working on, users can submit comments on blog posts and their avatars are showed. Althought I can retrieve alle the information about the comment author, when I query for its avatar, the query allways return empty, even if all…
brubs
  • 1,259
  • 8
  • 23
0
votes
1 answer

Contao 2.11 how add: global javascript and global block

I need create chat module for contao 2.11. Website have standard and custom modules. I need add global javascript file (load on each front end url) and html block, with I can add to each page. Best if I'll do it in my own module, without interfering…
110precent
  • 322
  • 4
  • 19
0
votes
0 answers

Not able to select anything in Contao backend without being kicked out

I am trying to setup a Contao CMS instance on my webserver. I was able to install it. I can login to the backend but whenever I try to select something in the leftside navigation, I am kicked out of the backend and have to login again. What could be…
nimrod
  • 5,595
  • 29
  • 85
  • 149
0
votes
1 answer

Tab behaviour works in IE < 9, Safari and Chrome, but not in FF and IE9

I wonder whether anyone could possibly give me a clue here. There's some tab switching content on this page http://www.brt.org.uk/donate That works in Safari, Chrome and IE up to version 8 I believe, but NOT in Firefox and IE 9. It's a mystery to me…
user1154435
  • 159
  • 3
  • 14
0
votes
2 answers

ie8 chrashes in xp, html5shim issue

the site http://www.taa.de always crashes in IE8 on windows XP when loading a new page. I removed one javascript after another and found that the error was gone when removing html5shim.js. There is no problem in IE7 (XP+windows7) an IE8 on windows…
0
votes
4 answers

Special HTML JSON parsing

i've got an JSON String like this: a: 2: { s: 4: "unit"; s: 2: "h1"; s: 5: "value"; s: 40: "Mercedes-Benz A 45 AMG / 340 PS / Allrad"; } Now, I don't know what to do with that because of the weird keys (i think in the 's' that means…
MGubler
  • 369
  • 4
  • 15
-1
votes
2 answers

How to explode or explode in PHP?

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
-1
votes
1 answer

Error on creating news archive on contao 3.5.16

If anyone familiar with contao, I got a default contao error page when I try to create a news archive, I have check the log and nothing is wrong. Do I need add the news module first? P.S I am newbie contao user, as a client only asked me to resolve…
Pragmaticoder
  • 81
  • 1
  • 11
-1
votes
1 answer

No refresh when clicking a button (dropdown)

Thank you Ganesh "onclick ="return false;" works :D So i made a onclick dropdown menu with this tutorial: clickable dropdown menu. The problem is that when i click the button to open the dropdown menu the website refreshes. How can i change…
-1
votes
1 answer

Masonry - How to shuffle items

I'm using the masonry script for one of my webpages. This is the JS (using jQuery, Typescript and the ImagesLoaded Plugin): $(function(){ // or with jQuery var $container; function triggerMasonry() { // don't proceed if…
Marek123
  • 1,193
  • 7
  • 35
  • 75
-2
votes
1 answer

Teamsisu/contao-greyify doesn't work in contao

I have download Teamsisu/contao-greyify and upload in vendor/ teamsisu folder. Then give the…
Jisha GJ
  • 29
  • 7
1 2 3
11
12