Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • Saguaros Moderator
    #1094311

    Hi,

    As the error messages indicate that there 2 files are importing other LESS files which use variables: brandweer and d42e12

    Kindly check the import files in these 2 files where you use these 2 variables and remove it also.

    Regards

    frankgabriels_1961 Friend
    #1094443

    Hello Saguaros,

    I’ve looked at your suggestion, but didn’t find what was wrong…

    What I find strange is:

    • first I changed the color of 2 buttons, compiled less files and checked my site: the colors had been changed. Then I change the rest of the buttons, and boooom: the site goes down.
    • I changed the colors according to your instructions of july 2017: in those instructions I have to make changes to the variables.less – navbar.less – magazine. less – megamneu.less files. But I didn’t go into the two files that are reporting problems now (template.less and bootstrap.less)

    Here’s my code for the bootstrap.less file:

    // Core variables and mixins
    //@import "variables.less"; //T3 Note: Already in T3 vars.less
    //@import "mixins.less"; //T3 Note: Already in T3 vars.less
    @import "vars.less"; // Modify this for custom colors, font-sizes, etc

    // Reset
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/normalize.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/print.less";

    // Core CSS
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/scaffolding.less";
    //@import "../../../plugins/system/t3/base-bs3/bootstrap/less/type.less"; //T3 Note: Already in t3/typography.less;
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/code.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/grid.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/tables.less";

    @import "../../../plugins/system/t3/base-bs3/less/legacy-forms.less"; //T3 Note: Extend styles for Legacy classes.
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/forms.less";

    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/buttons.less";

    @import "../../../plugins/system/t3/base-bs3/less/legacy-navigation.less"; //T3 Note: Extend styles for Legacy classes.

    // Components
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/component-animations.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/glyphicons.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/dropdowns.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/button-groups.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/input-groups.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/navs.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/navbar.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/breadcrumbs.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/pagination.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/pager.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/labels.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/badges.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/jumbotron.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/thumbnails.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/alerts.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/progress-bars.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/media.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/list-group.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/panels.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/wells.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/close.less";

    // Components w/ JavaScript
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/modals.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/tooltip.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/popovers.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/carousel.less";

    // Utility classes
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/utilities.less";
    @import "../../../plugins/system/t3/base-bs3/bootstrap/less/responsive-utilities.less";

    //Core Styles
    @import "magazine.less";

    And this is the code for the template.less file:

    /*
    ——————————————————————————

    • @package T3 Framework for Joomla!
      *——————————————————————————
    • @copyright Copyright (C) 2004-2013 JoomlArt.com. All Rights Reserved.
    • @license GNU General Public License version 2 or later; see LICENSE.txt
    • @authors JoomlArt, JoomlaBamboo, (contribute to this project at github
    • & Google group to become co-author)
    • @google group: https://groups.google.com/forum/#!forum/t3fw
    • @link: http://t3-framework.org
      ——————————————————————————
      /

    // VARIABLES & MIXINS
    // ——————
    @import "vars.less"; // Modify this for custom colors, font-sizes, etc

    // T3 GLOBAL STYLES
    // —————-

    // Extend grid of bootstrap – removed
    //@import "../../../plugins/system/t3/base-bs3/less/grid-ext.less";

    // Extended functions for T3
    @import "../../../plugins/system/t3/base-bs3/less/t3.less";

    // TEMPLATE STYLE
    // ————–

    // Core Elements
    @import "core.less";

    // Typography
    @import "typography.less";

    // Form Elements
    @import "forms.less";

    // Navigation
    @import "navigation.less";
    @import "navbar.less";

    // Modules
    @import "modules.less";

    // Joomla Styles
    @import "joomla.less";

    // Components Styles
    @import "components.less";

    // Template Styles
    @import "style.less";

    //Fix for IE8
    @import "ie.less";

    I dont’ see any references to the variables "@brandweer" or "@d42e12" in this code???

    Any other thoughts?

    A puzzled,
    Werner

    Saguaros Moderator
    #1094564

    Hi Werner,

    http://www.acodlrb.be/ your site is working now, is that solved?

    frankgabriels_1961 Friend
    #1094736

    Hi Saguaros,

    Yes, the site is back up.

    I reversed all the steps I did previously and that brought the site back online.
    I’ll have another go at changing the colors of the menu-items, but one by one now so I can check where it goes wrong (if it goes wrong).

    Greetz,
    Werner

    Saguaros Moderator
    #1094802

    Glad to hear that you figured it out, let me know if you need any further help.

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  Saguaros 6 years, 8 months ago.

The topic ‘Complete site is down after changing code in template files’ is closed to new replies.