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
53
questions with no upvoted or accepted answers
2
votes
1
answer
548
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 ...
2
votes
0
answers
127
views
How to split Contao variable into several HTML Elements
I´ve got this template from my Contao CMS:
<?php $helper = new \ContaoBootstrap\Navbar\Helper\NavigationHelper($this); ?>
<?php foreach ($this->items as $item) : ?>
<?php
...
2
votes
0
answers
660
views
Contao intermittent 500 error
Contao 3.5.9
I am getting a 500 server error in my contao website. This occurs intermitently on every page.
error_log shows the following:
xxx.xxx.xxx.xxx - - [29/Apr/2016:11:08:39 +0000] "GET /...
2
votes
0
answers
286
views
How to include a Photo Sphere in Contao 2?
I'm trying to embed kennydude's JavaScript Photo Sphere viewer (https://github.com/kennydude/photosphere) into a Contao CMS 2.11-based web site. I'm basically using the following code from his test....
1
vote
1
answer
111
views
Warning: Invalid argument supplied for foreach() - Contao CMS
I have this code here:
<div class="<?php echo $this->class; ?> block <?php echo $this->field('style')->value(); ?> <?php echo $this->field('columns')->value(); ?&...
1
vote
1
answer
1k
views
Contao CMS gives 404 "Page not found" Error after Installation
I'm facing a problem with an installation of Contao CMS with Isotope e-Commerce. I've followed all steps outlined in the documentation here.
But accessing the storefront always leads me to a 404 error ...
1
vote
0
answers
225
views
Unable to install Contao CMS on localhost in Mac using terminal
I'm facing problem on installing Contao on my Mac.
I run the command that I get from here
composer create-project contao/managed-edition
but I am getting this error
hasnainshafqat@Hasnains-MBP ...
1
vote
0
answers
118
views
Respimage functionality not working in news Contao
Hi I need to make responsive images in contao website (https://rocksolidthemes.com/de/contao/blog/responsive-images-picture-contao). So I created an image size in theme model and add a media query . ...
1
vote
1
answer
611
views
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 ...
1
vote
1
answer
58
views
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 ...
1
vote
2
answers
216
views
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 ...
1
vote
0
answers
179
views
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 ...
1
vote
0
answers
171
views
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 ...
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....
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) ...