contao | Contao Open Source CMS assets such as the CSS
kandi X-RAY | contao Summary
kandi X-RAY | contao Summary
These are the [Contao Open Source CMS][1] assets such as the CSS framework or the MIME icons.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of contao
contao Key Features
contao Examples and Code Snippets
Community Discussions
Trending Discussions on contao
QUESTION
I have spent many hours to search of how can I modify the fineUploader package from here https://packagist.org/packages/terminal42/contao-fineuploader . Is there any way of how can I modify the CSS of that package? I want to match it with the rest of the contact form.
Also the support and the forums are all in German language and they say nothing about the customisation of that package.
...ANSWER
Answered 2021-Feb-04 at 08:26You can find the stylesheet here. And in your contao installation you can find it in the vendor folder
/root/vendor/terminal42/contao-fineuploader/src/Resources/public/frontend
You could look up all the selectors there but if you overwrite them there, all your changes will be gone after an update. So usualy you just overwrite them in a new e.g. 'my_styles.css' which you include directly in your fe_page.html5 or in your Layout.
QUESTION
I need the possibility to link images with audio files in the file management. I followed this tutorial and the field is created, but only as a simple input field. https://docs.contao.org/dev/reference/dca/fields/#meta-wizard-fields
Then i added a standard DCA setup
...ANSWER
Answered 2020-Dec-14 at 03:15You can't, the meta wizard supports only text
fields (and textarea
fields since Contao 4.9.10).
Instead of using tl_files.meta
, you could add an additional field to tl_files
:
QUESTION
I am trying to include FontAwesome to an ::before-element. The include to the website worked (I have other Icons in an i-element on the website) but the unicode-way won't work.
I've trying to add an icon for the previous-button in fontAwesome like that:
...ANSWER
Answered 2020-Aug-21 at 13:33When I insert before your button via dev tools and then inspect it, it shows the font-family for the
i
element as "Font Awesome 5 Free"
- you used FontAwesome
for your button ::before
element instead.
QUESTION
How to remove (.html ) prefix from Contao url
Example : Currentl Url => http://example.com/startseite.html required url : http://example.com/startseite
...ANSWER
Answered 2020-May-18 at 12:21You need to add the following to your config/config.yml
(app/config/config.yml
prior to Contao 4.9).
QUESTION
ANSWER
Answered 2019-Nov-18 at 11:28As the error message already says, the PHP intl
extension is not enabled for the PHP CLI environment that you used.
If you used the system's PHP and Apache packages, your previous configuration might have been deleted/overridden by the MacOS update. This is known to happen.
QUESTION
Older Contao versions by default did not redirect to the first public page, so the front page was displayed with both domain.com
and domain.com/front-page.html
and neither was redirected to the other. However the newest Contao at least (4.8) does force a redirect from domain.com
to domain.com/front-page
.
There is one setting, Do not redirect empty URLs, which looks like it could do the trick, but, in my case at least, does not seem to do anything.
So how do I prevent Contao from redirecting from a "blank url" to the first published page of a website root? I'd much rather redirect the other way around, from /front-page
to /
.
ANSWER
Answered 2019-Nov-11 at 13:38Simply set the alias
of your start page to index
. The generated URL by Contao for the page with the alias index
will always be without a path.
See also the documentation about page aliases (English version still WIP).
QUESTION
I am trying to create a hook extension for Contao. But Contao doesn't seem to be able to load my class from the namespace, which handles the hook. This is my file structure:
I have tried changing names and added ".php" to the class, looked up tutorials, but I can't find what I am doing wrong. I am fairly inexperienced in this topic, so I might be missing something obvious.
autoload.php
...ANSWER
Answered 2019-Aug-09 at 14:01You are still using the old Contao 3 way of loading classes. In Contao 4, you should use the autoloading feature of composer. The default composer.json
of the most recent Contao versions already include autoloading directives for the src/
folder of your Contao installation:
QUESTION
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 database with no problems. However, when I try calling a static method on the Model class I receive the error:
...ANSWER
Answered 2019-Jun-16 at 10:42I found the solution to the problem here:
https://community.contao.org/de/showthread.php?68881-Symfony-bundle-Model-ClassNotFoundException
It's in German so I will make a quick summary of the mechanics of the problem.
The static findBy method invokes a method in Collection that calls a function on variable class name. The class name in this case 'GenericModel'. Since 'GenericModel' isn't in the global namespace, I get the above-mentioned error.
The solution is to register the class name in Contao's configuration.
QUESTION
our webpage Contao 4.4 is running on a local machine with a vm-ware VM. Now I was thinking of using a Docker container to install the CMS. But than I was thinking of taking the whole VM an migrate it into our Azure Cloud to use the load balacer and CDN feature.
How easy is that migration?
THX
...ANSWER
Answered 2019-Jun-03 at 10:44You can use Azure Site Recovery for exactly that migration of a VM from VMware to Azure: https://docs.microsoft.com/en-us/azure/site-recovery/migrate-tutorial-on-premises-azure
QUESTION
I have download Teamsisu/contao-greyify and upload in vendor/ teamsisu folder. Then give the inserttag
...ANSWER
Answered 2019-Feb-26 at 12:01Never use paths from the assets/images
directory, since that is just the image cache. You need to reference the source image instead. You probably misinterpreted the README of the extension. You either use the path to the source image - or you provide the UUID of the file.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install contao
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page