Hi xchs, thank you for the suggestion.
I've tried to login but it seems to require a separate registration.
I've also tried to register but I am not able to fill the "Sicherheitsfrage" (if i...
Type: Posts; User: ga.n
Hi xchs, thank you for the suggestion.
I've tried to login but it seems to require a separate registration.
I've also tried to register but I am not able to fill the "Sicherheitsfrage" (if i...
Hi all,
I've built a tool for creating RockSolid Custom Elements configuration files.
It features all field types supported by RockSolid Custom Elements (list included) and let you export your...
Activate the debug mode (Contao 3: under settings, Contao 4: using app_dev.php instead of app.php) then view the html source of the page. You will see a lot of html comments telling you which...
to be sure you are editing the right template view the site using the app_dev.php entry point (e.g. http://example.com/app_dev.php/page-alias.html) then show the source of the page and you will see...
There is something wrong with the
system/modules/news_categories/config/autoload.ini
The error means it can not be parsed by the parse_ini_file php function (i.e. it is not a valid ini file)...
IIRC you can use insert tags inside the "Condition" field
so will be something like
user_id = {{user::id}}
Editing in frontend can be achieved by creating a form through the form generator...
You can use a "Listing" frontend module, just create it from Themes -> <yourtheme> -> Modules, then show it by using a Content Element of type "Module"
(please be sure to have a backup somewhere before following these steps)
- run the contao install (i.e. http://example.com/contao/install)
- the installer will warn you that some folders are not...
are you talking about frontend or backend?
in backend you can use findPublishedRootPages from PagesModel class
in frontend you can use getRootPageFromUrl from Frontend class
try this:
/(a{1})(?!\1)/g
explanation:
(a{1}) exactly a single "a"
(?!\1) which isn't followed by the exact same match (\1 reference to the first match)
Ciao Elena ;),
- contao 3.5 uses the password_hash function (http://php.net/manual/en/function.password-hash.php) to encrypt both backend and fronted passwords (using the CRYPT_BLOWFISH...
I have several Contao 3 installations running on PHP 7.
You should take a look a system/logs/error.log or set
$GLOBALS['TL_CONFIG']['displayErrors'] = true; in your system/config/localconfig.php....
can you link (on github) the original source code you wish to "extend"?
what do you want to accomplish exactly?
I Agree with Kamil.
On the moderator side a good solution for approving posts more quickly may be to send a notification by email (post is awaiting approval)
check also that your pc (or the pc of the customer if he has ftp upload access) is infected
there is a malware that stole the credentials from every ftp connection and put its code into all .php...
I suggest you to:
- show years
- hide months
- when a year is clicked the months of that year will show up
I did something similar on this site http://bit.ly/11gZefh using javascript.
look...
sorry i did not understand you are talking about implement your own sending.
@Ruud
the processFormData hook fires after the email has been sent both in Contao 3.x and Contao 2.x
https://github.com/contao/core/blob/master/system/modules/core/forms/Form.php#L253
not sure about this but maybe you can change the e-mail value in the validateFormField hook
put this before the $res ...
$this->import('Database');
you've got a blank screen because you set the option to not display errors next time check the system/logs/error.log file ;)
did you rebuild the search index?
take a look at Backend -> Maintenance
if the field which contains the email address is named email you can do this in the hook method:
$arrData = array(
'pid' => 1, // this is your newsletter ID
'tstamp' => time(),
'email' =>...
if you are using Contao 3.x there is the (undocumented) prepareFormData hook
https://github.com/contao/core/blob/master/system/modules/core/forms/Form.php#L256
I just wrote a quick tutorial
http://zedseries.blogspot.it/2013/04/contao-2x-hooks-tutorial-processformdata.html
hope it helps you to get started
Which version of Contao are you using?
Did you take a look at the efg extension?
https://contao.org/en/extension-list/view/efg.en.html
The efg extension can save the form data into a custom...
The processFormData hook fires only with forms handled by Contao (i.e. forms created with the form generator)
What are your needs?
Why are you telling you can't use the form generator?
You can do it with the "processFormData" hook
https://contao.org/en/manual/3.0/customizing-contao.html#processformdata
ops :) you are right thanks for pointing this out.
look at system/logs/error.log
the changelanguage extension is compatible with Contao 3
Hi,
I am working on a new project based on Contao 3
I need to define a UNIQUE KEY based on multiple fields
e.g.
check the language fallback of your root page
did you disable the dca caching?
post the relevant part of your apache log
(should be into <apache_dir>/logs/error.log)
anyway this is not a Contao problem but a webserver configuration issue.
which webserver are you using?
in the "page details" you can add a "css class" under "expert settings" (see http://www.webpagescreenshot.info/img/653767-1232012104840AM)
assuming that you put a "css class" "mypage"
the link...
You can add a "body class" through the "edit page" in the backend and then add the image as background using css
the error message is not related to the css, it is a database error
ask your hosting provider about the limit of concurrent connections to your database
system/modules/backend/languages/en/default.php
a better approach (in order to apply multiple classes) could be something like the "tags" selector of the extension Tag
Topic closed
please continue here
just use the loadFormField hook
each input element extends the Widget class
you can really do whatever you want just by using php code
are you using a service like mailchimp or aweber?
for mailchimp there is an extension http://contao.org/en/extension-list/view/hc_mailchimp.en.html
if there isn't an already-made extension...
Did you add the <script> tag in the allowed tag list under Settings?
Contao generates contents dynamically. However you can choose a cache time for each page.
Yes, without mod_rewrite your pages urls will always starts with index.php.
Contao is highly...
Hi,
I can do it
Be sure that:
- your pages (under Site Structure) do *not* have the "Do not search" flag
- the search engine is enabled (under Settings -> Search engine)
- you rebuilt your search index...
you need to add the querystring to the rewrote url
take a look at system/logs/error.log
it is great :)
I really like the idea of the navigation menu that switches to a selectbox when viewed as mobile
I usually load my fonts directly from tl_files folder
So I can not help you with this issue, sorry
please let me know so I can update the ckeditor extension ;)
the web font loader extension should support typekit
Did you try to use the same value, changing only the attribute name?
e.g.
rel="lightbox[group1]" and rel="lightbox[group2]"
become
this is the wrong way to do translations.
take a look at http://www.contao.org/en/custom-configurations.html#translations
if you are using Contao 2.11.x you have to clear the system/tmp directory (Backend -> Maintenance) after you modified the templates
if it is not a "live" website just turn "display errors" to off and change the database password so Contao cannot connect to the database ;)
Did you try to execute the query directyl (i.e. through mysql shell or tools like phpmyadmin)?
SELECT
*, EXTRACT(YEAR FROM (FROM_DAYS(DATEDIFF(NOW(),FROM_UNIXTIME(dateOfBirth))))) AS...
it is a problem related to a missing translation string, upgrade your language files and try again
the efg extension provides this functionality