Search:

Type: Posts; User: Andreas

Page 1 of 9 1 2 3 4

Search: Search took 0.00 seconds; generated 45 minute(s) ago.

  1. AFAIK the combiner only puts multiple files into...

    AFAIK the combiner only puts multiple files into one file eventually minifies but does not compress.
  2. Replies
    4
    Views
    271

    Contao 3 with auto parameters

    Contao 3 with auto parameters


    <?php

    include 'system/config/localconfig.php';

    // Database credentials
    $strHost = $GLOBALS['TL_CONFIG']['dbHost'].':'.$GLOBALS['TL_CONFIG']['dbPort'];...
  3. Replies
    4
    Views
    271

    Contao 4 with auto parameters

    Contao 4 with auto parameters:


    <?php

    $parameters = file('../app/config/parameters.yml');
    $params = array();
    foreach($parameters as $value)
    {
    if(strpos($value, ': ') === false)
  4. Replies
    4
    Views
    151

    Create your php files in folder /templates/. Then...

    Create your php files in folder /templates/. Then within contao you can include them with this insert tag (examples):

    {{file::myPHP.php}}
    {{file::inc-myPHP.html5}}
    You also can code in...
  5. Replies
    6
    Views
    133

    ... or by creating an .env file manually.

    ... or by creating an .env file manually.
  6. Replies
    6
    Views
    133

    In short: Copy DB Install C4 Download...

    In short:



    Copy DB
    Install C4

    Download and Upload (if available) of
    composer.json
    .env // APP_DEV_ACCESSKEY https://contao.ninja/contao-4-login-fuer-app_dev-php-setzen.html
  7. Replies
    4
    Views
    271

    With your script you do it twice on every table....

    With your script you do it twice on every table. To do it only once use this:


    $result = $con->query('show tables');

    while($tables = mysqli_fetch_array($result)) {
    $con->query("ALTER TABLE...
  8. Replies
    1
    Views
    120

    Open your page with...

    Open your page with example.org/app_dev.php/my-page.html to see error messages.
  9. Replies
    1
    Views
    104

    With Contao you can do everything that is...

    With Contao you can do everything that is possible with HTML, CSS, JavaScript ...

    There is no podcast extension within the core but you can e.g. use the news to create a news with an audio file....
  10. Replies
    7
    Views
    208

    You also can search within the issues...

    You also can search within the issues https://github.com/contao/contao-manager/issues
  11. To help you with this issue we need a link to the...

    To help you with this issue we need a link to the page.
  12. Replies
    1
    Views
    89

    Make a backup of your database. Then search for...

    Make a backup of your database. Then search for the lost entries. If they exist then try to change the parent id back to 8 manually with your DB program e.g. phpMyAdmin.
  13. LOL. You're welcome.

    LOL. You're welcome.
  14. Ok. As you can see the ->multiSRC variable is...

    Ok. As you can see the ->multiSRC variable is empty but there is a ->playerSRC variable which contains a serialized array of the file uuids. Try something like this (untested).


    <?php...
  15. Use this code to inspect if there is a variable...

    Use this code to inspect if there is a variable with all selected files.


    <?php $this->showTemplateVars() ?>

    In your linked post fritzmg implies how to get the values of those files which are...
  16. Replies
    3
    Views
    454

    Yes, this is the better way for templates, but...

    Yes, this is the better way for templates, but you also can use insert tags in templates. You can not use PHP code in BE.

    An it needs a correction


    href="<?=...
  17. Replies
    3
    Views
    454

    Please show a link to a page so we can see what...

    Please show a link to a page so we can see what you have done so far.

    {{env::request}} is an insert tag that gets resolved from Contao with the actual page alias e.g. "contact.html". You can use...
  18. Replies
    8
    Views
    388

    I've recently discovered that Contao version...

    I've recently discovered that Contao version 4.4.20 and later can no longer be downloaded as an archive.
  19. Replies
    2
    Views
    591

    Maybe you want to use a browser addon like...

    Maybe you want to use a browser addon like https://addons.mozilla.org/de/firefox/addon/form-history-control/ so you will not lose text in a textarea again.
  20. Replies
    6
    Views
    291

    AFAIK you can not force TinyMCE to create invalid...

    AFAIK you can not force TinyMCE to create invalid HTML code. If you need it fast use the CE HTML as Spooky told.
  21. Replies
    6
    Views
    259

    Und doch auch das Template, oder? Damit wäre es...

    Und doch auch das Template, oder? Damit wäre es ja dann deine Erweiterung :grin:

    Siehe hier: https://github.com/contao/core-bundle/pull/1348#issuecomment-396295472
  22. Replies
    6
    Views
    259

    @Spooky: Ich dachte immer, dass deine...

    @Spooky: Ich dachte immer, dass deine youtube_iframe in Contao 4 aufgenommen wurde. Ist dem nicht so? Und dann gab es doch letztens ein Ticket, wo man den Haken aus dem Layout enfernen wollte und...
  23. Maybe you haven't selected any audio file in your...

    Maybe you haven't selected any audio file in your content element?
    https://github.com/contao/core-bundle/blob/4.5.8/src/Resources/contao/templates/elements/ce_player.html5#L13
  24. Replies
    6
    Views
    259

    Which Contao version are you on? In Contao 3.5...

    Which Contao version are you on? In Contao 3.5 use the extension youtube_iframe. In Contao 4 this is build on. In the settings you can use e.g. 16 for width and 9 for height so that the video gets a...
  25. Replies
    2
    Views
    198

    You have to format your code to see your errors:...

    You have to format your code to see your errors:


    $GLOBALS['TL_DCA']['']['fields'][''] = array(
    'label' =>
    'exclude' => true,
    'inputType' => 'checkbox',
    'options_callback' => array(),...
  26. This was only a renaming. Since version 2.9...

    This was only a renaming. Since version 2.9 TypoLight was renamed to Contao.
  27. Replies
    1
    Views
    171

    You don't need an extension. Create a new...

    You don't need an extension. Create a new template from analytics_google.html5. Open this template for editing. Read the comments, fill in your analytics ID and save. Activate this template in your...
  28. Replies
    2
    Views
    230

    Maybe you can achieve this with the well known...

    Maybe you can achieve this with the well known and often used extension [notification_center]
    https://contao.org/en/extension-list/view/notification_center.html...
  29. Replies
    1
    Views
    154

    The "poor mans" cron gets triggered with the...

    The "poor mans" cron gets triggered with the fe_page template.


    <?= $this->mootools ?>

    This is a JavaScript at the end of the BODY.

    The checkbox "Disable the command scheduler" in...
  30. Are you talking about users and members? I think...

    Are you talking about users and members? I think that member is what you're talkin' about. Right?

    This is not right, that you can define a default member group that is assigned to guests.

    No,...
  31. Try using the original fe_page template. The BASE...

    Try using the original fe_page template. The BASE tag is missing in your HEAD section.
  32. Ask for a backup of the head group Contao page -...

    Ask for a backup of the head group Contao page - files and DB. Set this up on your server, remove things you don't need there and fill it with your group contents.

    Don't try to use the Contao...
  33. I can not do a test on mac, but folder handling...

    I can not do a test on mac, but folder handling is ok. The browser builds the path form the base tag and the img src.


    <base href="https://contao.org/">
    ...
    <img...
  34. Minify the markup is only for HTML code as...

    Minify the markup is only for HTML code as explained in the help text below.
    You should not activate Compress scripts as this is only for bad servers which are not able to send data gziped and...
  35. Which Contao versions? If you update from 2 to 3...

    Which Contao versions? If you update from 2 to 3 the install tool will do this for you. This is the recommended way.

    I don't know an extension. From 3 to 3 you have to copy all data records form...
  36. Replies
    2
    Views
    344

    Install Contao with the manager as shown here...

    Install Contao with the manager as shown here https://www.youtube.com/watch?v=Ov0JTctrbSE. Don't do the rewrite to web with an htaccess. Root your domain directly to web/ from within your account...
  37. And this behaviour is normal. In 2.11 the...

    And this behaviour is normal. In 2.11 the system/html/ folder is a temporary folder which gets managed by Contao. This is done by a pseudo cron job that gets triggered on page request in FE. Look at...
  38. Replies
    1
    Views
    246

    If you're talkin bout the jquery accordion: ...

    If you're talkin bout the jquery accordion:

    This also has been asked and solved in the german forum...
  39. Hello germanjen (if you speak german please go to...

    Hello germanjen (if you speak german please go to the german forum),

    search for extensions with the keyword "members". There are some extension which may help you. You also can learn how to...
  40. Yes, there's no extension management in BE...

    Yes, there's no extension management in BE anymore. If you've installed with the contao-manager, you can install extensions with example.org/contao-manager.phar.php as you can see in one of the...
  41. Try the videos on youtube by contao academy...

    Try the videos on youtube by contao academy https://www.youtube.com/channel/UCw6f8tOd79cBPn1WbHF9niQ

    And here https://www.youtube.com/watch?v=rwC8xfdO3Ao somewhere in the middle Leo Feyer shows...
  42. Replies
    3
    Views
    846

    This is hardly possible and thus not best...

    This is hardly possible and thus not best practice.

    Better:

    Create a template "j_extended-head.html5" and include it in your page layout. Content:


    <?php
    $GLOBALS['TL_HEAD'][] = '<meta...
  43. Replies
    1
    Views
    298

    Write an extension (system/modules/my_extension/)...

    Write an extension (system/modules/my_extension/) where you load your classes.

    Use a hook to modify your FE output (maybe the modifyFrontendPage hook)....
  44. Replies
    3
    Views
    846

    What do you like to accomplish. As I think...

    What do you like to accomplish. As I think fe_page template is the wrong place for that. Only change fe_page if it's necessary.

    In every template you can check page credentials like so


    <?php...
  45. Replies
    4
    Views
    503

    Thank you. Maybe you will find a quick fix till...

    Thank you. Maybe you will find a quick fix till the ticket gets accepted and fixed. Sorry I can't help you right now. I think I would have to dig too deep into the code.
  46. Replies
    4
    Views
    503

    You should report this as a bug on github....

    You should report this as a bug on github.
    https://github.com/contao/core/issues
  47. Please update your installation. You can use...

    Please update your installation. You can use [easyuptate3] to manage this.

    Do you use [changelanguage]?

    Make sure your extensions are up to date.

    After installing an extension e.g....
  48. Replies
    1
    Views
    238

    You should switch to rocksolid-custom-elements...

    You should switch to rocksolid-custom-elements https://rocksolidthemes.com/en/contao/plugins/custom-content-elements
  49. Ah ok, so this thread belongs to the subforum...

    Ah ok, so this thread belongs to the subforum isotope, right?
  50. Take a look at this extension...

    Take a look at this extension https://contao.org/en/extension-list/view/inserttags.html

    It can handle the apperance of content by time.
  51. Replies
    1
    Views
    218

    Maybe [mp_forms] (multi page forms) will help...

    Maybe [mp_forms] (multi page forms) will help you.
    https://github.com/terminal42/contao-mp_forms
    http://blog.christianzehnter.com/contao-mit-der-mp-forms-erweiterung-mehrseitige-formulare-erstellen...
  52. Replies
    1
    Views
    267

    I guess you're talking about the core newsletter...

    I guess you're talking about the core newsletter - this is not an extension.

    Image:
    If you've done all right, then your image field contains a UUID representing a file in tl_files. You can get...
  53. Replies
    1
    Views
    328

    You should not talk about an extension, if you...

    You should not talk about an extension, if you use the core newletter system.

    HTML for list and reader module in FE gets rendered by mod_newsletter_list and mod_newsletter_reader.

    Mail content...
  54. Untested: Use this insert tag (id must be the...

    Untested:

    Use this insert tag (id must be the ID of the newsletter):
    {{file::nlSubject.html5?id=42}}

    templates/nlSubject.html5


    <?= \NewsletterModel::findByPk(\Input::get('id'))->subject;...
  55. Maybe this content element gets included by a...

    Maybe this content element gets included by a content element of type include CE elsewhere in an article. Then this is forbidden to delete. Or there is an extension that handels this behaviour.
    ...
  56. Replies
    4
    Views
    430

    There is no tl_newsletter.send maybe you mean...

    There is no tl_newsletter.send maybe you mean sent.

    If the NL has been sent you have to set sent to 1 and date to the timestamp of sending date. If the NL hasn't been sent then the field sent...
  57. Replies
    4
    Views
    430

    What do you mean with "Newsletter extension"?...

    What do you mean with "Newsletter extension"? Core, or third party?

    With core newsletter module this is the intended behaviour. A newsletter which not has been sent is no newsletter, it's just a...
  58. Replies
    1
    Views
    280

    Run the contao check. Check that you make no...

    Run the contao check. Check that you make no mistake during installation. Maybe it's simple and only the domain is not routed into _contao4/web/.
  59. If you are new to Contao first simply chose both...

    If you are new to Contao first simply chose both versions. Set up two installations and try it out. 4 is a bit more comfortable in BE and with more features and a modern PHP framework (symphony) in...
  60. Replies
    5
    Views
    741

    Yes, you have to wait till it gets fixed.

    Yes, you have to wait till it gets fixed.
Results 1 to 60 of 494
Page 1 of 9 1 2 3 4