Search:

Type: Posts; User: Andreas

Page 1 of 9 1 2 3 4

Search: Search took 0.01 seconds; generated 21 minute(s) ago.

  1. Replies
    0
    Views
    22,218

    Tip: Firefox 111 Devtools - Inspector

    Tip:

    Since version 111.0.0 in Firefox, the elements in the preview are no longer highlighted in color in the Devtools Inspector. I thought this would be corrected again in version 111.0.1 but no....
  2. Replies
    1
    Views
    3,084

    Is relatively easy. You can find everything in...

    Is relatively easy. You can find everything in the documentation.
  3. Replies
    2
    Views
    2,855

    Use

    Use

    <?php
    // template code
    dump($this->arrData);
    within your template. This will show you all available variables. With a PHP loop you then can build up your wanted lists.
  4. Replies
    1
    Views
    4,696

    Maybe this can be usefull for you...

    Maybe this can be usefull for you
    https://isotope.metafizzy.co/
    I don't know a Contao extension for this.
  5. I show you the Colorbox initialization from above...

    I show you the Colorbox initialization from above linked website. Yes, you can see, that Colorbox collects links with the attribute "data-lightbox" to treat them as Colorbox links. The value of...
  6. Me too :grin:

    Me too :grin:
  7. My pleasure. It's not necessary as long as you...

    My pleasure. It's not necessary as long as you use d, m and Y but you should get used to using Contao methods.
  8. No, you should use the Contao method Date::parse....

    No, you should use the Contao method Date::parse. Else you won't get the translated dates for example.
    ...
  9. I think you need a professional. There are a lot...

    I think you need a professional. There are a lot of solutions for that. You should find a solution that exactly fits your requirements.

    1. A solution with CSS requires that everything that should...
  10. Replies
    1
    Views
    1,991

    It is best to ask the developer directly. Open...

    It is best to ask the developer directly. Open the gitlab link top right on this page
    https://packagist.org/packages/srhinow/simple-map-bundle

    Or use this extension (mostly used as alternative to...
  11. It is better not to depend on extensions. New...

    It is better not to depend on extensions.

    New template solution:


    // old
    <?php if ($item['isActive']): ?>
    // new
    <?php if ($item['isActive'] || ($this->level == 'level_1' &&...
  12. Sorry, I think this is not enough information to...

    Sorry, I think this is not enough information to help you.
  13. In BE create a copy of template nav_default. ...

    In BE create a copy of template nav_default.
    Rename it to nav_no-first-level-links. (nav_ is mandatory, the rest is free)
    In your FE module type navigation choose this template.
    Edit this...
  14. 1. By customizing your nav_ template. 2. By...

    1. By customizing your nav_ template.

    2. By handling (removing) the click events on first level <a>s with JavaScript. If you use JS for your menu anyway, you simply can remove the default click...
  15. Replies
    0
    Views
    2,436

    Don't use the CSS media query hover

    Please do not use the media query hover as some laptops have a touchscreen.

    My peripheral devices are connected to a 15" Lenovo convertible laptop with a touchscreen and so I'm working with my...
  16. AFAIK the combiner only puts multiple files into...

    AFAIK the combiner only puts multiple files into one file eventually minifies but does not compress.
  17. Replies
    4
    Views
    7,507

    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'];...
  18. Replies
    4
    Views
    7,507

    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)
  19. Replies
    4
    Views
    5,386

    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...
  20. Replies
    6
    Views
    4,206

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

    ... or by creating an .env file manually.
  21. Replies
    6
    Views
    4,206

    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
  22. Replies
    4
    Views
    7,507

    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...
  23. Replies
    1
    Views
    2,267

    Open your page with...

    Open your page with example.org/app_dev.php/my-page.html to see error messages.
  24. Replies
    1
    Views
    2,242

    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....
  25. Replies
    7
    Views
    3,818

    You also can search within the issues...

    You also can search within the issues https://github.com/contao/contao-manager/issues
  26. Replies
    1
    Views
    2,319

    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.
  27. Replies
    1
    Views
    1,994

    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.
  28. LOL. You're welcome.

    LOL. You're welcome.
  29. 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...
  30. 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...
  31. Replies
    3
    Views
    3,971

    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="<?=...
  32. Replies
    3
    Views
    3,971

    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...
  33. Replies
    8
    Views
    3,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.
  34. Replies
    3
    Views
    36,116

    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.
  35. Replies
    6
    Views
    4,644

    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.
  36. Replies
    6
    Views
    4,633

    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
  37. Replies
    6
    Views
    4,633

    @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...
  38. 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
  39. Replies
    6
    Views
    4,633

    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...
  40. Replies
    2
    Views
    2,570

    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(),...
  41. This was only a renaming. Since version 2.9...

    This was only a renaming. Since version 2.9 TypoLight was renamed to Contao.
  42. Replies
    1
    Views
    5,062

    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...
  43. Replies
    2
    Views
    2,630

    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...
  44. Replies
    1
    Views
    1,472

    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...
  45. 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,...
  46. 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.
  47. 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...
  48. 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...
  49. 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...
  50. Replies
    1
    Views
    1,376

    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...
  51. Replies
    2
    Views
    2,078

    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...
  52. 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...
  53. Replies
    1
    Views
    1,683

    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...
  54. 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...
  55. 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...
  56. 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...
  57. Replies
    3
    Views
    4,619

    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...
  58. Replies
    1
    Views
    2,419

    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)....
  59. Replies
    3
    Views
    4,619

    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...
  60. Replies
    4
    Views
    2,871

    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.
Results 1 to 60 of 494
Page 1 of 9 1 2 3 4