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

contao CMS - i dont understand link system

I have a problem because I dont't understand system of links in contao (http://demo.contao.org/) but not only in this CMS, Can you help me? So: We ALWAYS have link as: www.something.xx/title-for-example-news.htm, And the extension is always htm…
kk01
  • 11
  • 3
0
votes
1 answer

How to fix 'Did you forget a "use" statement [...]' in Symfony only when using static methods?

With the Symfony framework, I'm trying to use one of my Model classes (specifically a Contao wrapper for Doctrine ORM) to dump some stuff into my database. I have a use statement for my Model and I can instantiate my Model and even save it to the…
Nicholas E
  • 49
  • 4
0
votes
2 answers

contao scheduler for cache warmup

There is an option to warmup cache in System->Maintanance->Warmup cache . I have to warmup cache weekly in my contao site. So that I am thinking to write a scheduler task . I know there is an option for implementing scheduler task…
Aswathy S
  • 729
  • 1
  • 12
  • 41
0
votes
1 answer

Search ONLY in the news module in Contao CMS 2.11

Short question - is it possible to add an (additional) search bar, with only the News being searched? The part should be independent of the "global" search. I hope I have made myself clear. I would like to offer a search something like this:…
Moyen Uddin
  • 77
  • 1
  • 11
0
votes
1 answer

contao theme installation issue . It shows could not find template

I am trying to install Contao theme on my hosting account, but I am getting an error message and am unable to solve the issue. I read the log file but unable to figure out what is the actual issue. This is the error that I see in my browser: enter…
Jisha GJ
  • 29
  • 7
0
votes
2 answers

Contao - How to use font icons (Font-Awesome for example)

I am using Conta 3.5, and I want to use font icons from https://fontawesome.com/ There's a plugin for contao, which add's the option below to the sitelayout menu, but there's a error, whichever option I pick: Query error: Unknown column…
Jimmy
  • 39
  • 6
0
votes
1 answer

news category filtering issue in exended class Contao

I registered $GLOBALS['TL_HOOKS']['newsListFetchItems'][] hook in my news extended extension for sorting with my custom field (say 'rank'). But the pages which contain news filtering is not working . I am using the contao Version 4.5.8 . How can I…
Aswathy S
  • 729
  • 1
  • 12
  • 41
0
votes
1 answer

how to load assets and files from cdn in contao to increase page speed

I am using contao 4.5.8 . Can I use the root configuration " Assets URL " to load my assets from a cdn ? Any other configuration needed for my requirement ? I fount an issue belongs to TinyMCE ,is this fixed ? And I also need to know alternatives…
Aswathy S
  • 729
  • 1
  • 12
  • 41
0
votes
1 answer

Strange horizontal menu problem with firefox on Mac: Problem in english Content

I am still experiencing a strange menu problem (the last menu item of the top navigation wraps) using Firefox 3.6 on Mac OS X of a contao-based website (www.medivas.de) I've implemented last month. A few days ago I asked a similar question and some…
Andreas W. Wylach
  • 723
  • 2
  • 10
  • 31
0
votes
0 answers

CONTAO .cto file giving error

I'm trying to import theme using .cto file. That theme is working perfectly fine in one contao installation (4.4.14). But when i tried to import that .cto (exported file) in other 4.4.14 contao installation then it's giving error. Theme…
Ajay Gohel
  • 128
  • 12
0
votes
1 answer

Why does Contao show different behavior from local to remote environments?

I'm trying to build a custom module by overwriting Contao's comments module. In localhost so far so good. But, when I push to remote, Contao's comments module seems to be called after my custom module and so my module isn't rendered anymore. (I…
0
votes
1 answer

Contao 4.4.x Remove Prefix .html from url

How to remove (.html ) prefix from Contao url Example : Currentl Url => http://example.com/startseite.html required url : http://example.com/startseite
Vishal Tanna
  • 1,165
  • 2
  • 12
  • 36
0
votes
0 answers

404 page generation issue news category filtered - Contao

I have a page listing filtered news upon category filter . So I added news category list and news list filtered modules in one page. The news list will show the news with selected category in the category list. The url generated for the news list…
Aswathy S
  • 729
  • 1
  • 12
  • 41
0
votes
1 answer

contao news detail page url generation issue

Hi I have a multi domain site. I have some news archives .I configured redirect page to a news detail page in my first domain. In my second domain I used the same news archive. Created a news list page and news detail page. In newslist module of…
Aswathy S
  • 729
  • 1
  • 12
  • 41
0
votes
1 answer

contao 4.4 - how to congfigure a multilanguage instance

I want to create a multilanguage site in contao. What I did so far: At first I copied the Page tree of current language. At second I added domains like example.com/de and example.com/en in site-structure "Domain name" of both root pages. Edit:…
toruwe
  • 35
  • 7