Results 1 to 2 of 2

Thread: Using External Editor in Contao & CSS files names

  1. #1
    New user
    Join Date
    10-09-15.
    Posts
    1

    Default Using External Editor in Contao & CSS files names

    Hello,

    Is there a way to use an External editor (e.g Netbeans) to edit my CSS live in Contao? I would also want to get the original names of the CSS files am using in the Developer tools for debugging purposes. is this possible?

    Thank you

  2. #2
    User Andreas's Avatar
    Join Date
    07-11-09.
    Location
    Mönchengladbach
    Posts
    499

    Default

    Yes it's possible. Don't use Contao's internal style sheet generator.

    I for one include my CSS in layout "Additional <head> tags". With an additional trick I load a combined file if I'm not logged in as admin. Therefore I only have this line in "Additional <head> tags".
    Code:
    {{file::inc_load-resources.html5}}
    This file has to be in /system/templates/

    You also can use "External style sheets" in layout, then you have to activate the debug mode to see the original files in FE if you are logged in as admin.

    You also can try the extension theme plus to achieve better resource handling.
    https://contao.org/extension-list/view/theme_plus.html
    https://github.com/netzmacht/contao-theme-plus/releases
    Last edited by Andreas; 10/10/2015 at 09:58.
    Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
    Amazon wishlist

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •