Skip to content
Grav 2.0 is officially stable. Read the announcement →

Muut Archive Legend

@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation

Badges

✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • Multisite inheritance question · 10 years ago

    Ok, so digged a bit in plugin:// and added: $plugin = "user/plugins"; if (is_dir(__DIR__ . "/user/{$folder}/plugins")) { $plugin = "user/{$folder}/plugins"; } Then in return [] 'plugin' => [

  • Multisite inheritance question · 10 years ago

    @getluke, as i'm testing subdirectories i named it as followng user/sites/subsite and containing all content related to a standard grav setup. A thought, do you need to set the full subdomain name on

  • Multisite inheritance question · 10 years ago

    Indeed handy with the ironing! Regarding {{theme_url}} for in your case css, as @Sommerregen mentioned many plugins & themes does things differently, like i use the theme:// for all assets possib

  • Multisite inheritance question · 10 years ago

    @Sommerregen, here are the specifics on the asset issue: using subdomains admin (and all plugins) are installed in the root /user/plugins folder, and the subsite does not have a plugins folder. My ov

  • Multisite inheritance question · 10 years ago

    Thank you both for info! However cannot see any difference for my issues from testing your snippet @getluke, quite too bad actually :P Noted the $folder var path too. Also tested different scenarios l

  • Multisite inheritance question · 10 years ago

    Hi @getluke and @-l-l-, well done your setup.php looks quite good! However, concerning the last piece of puzzle I need more informations. Having multisites means having more troubles = need more infos

  • Multisite inheritance question · 10 years ago

    One correction, the array_unshift lines should have the string user/{$folder}/themes like the line above. I changed this because in the docs the $folder variable already has the "sites/" in the path.

  • Multisite inheritance question · 10 years ago

    Sure, posted below with some comments. Hopefully @Sommerregen or someone else can help us with this one last piece of the puzzle: Using the setup recommended (and my plugins addition) works great exc

  • Multisite inheritance question · 10 years ago

    The docs will explain allot. However I still have problems. @getluke, do you mind sharing your system.php so i can troubleshoot my code in a wider spectrum? Have not found anything yet as my subpage o

  • Multisite inheritance question · 10 years ago

    So sorry, I misunderstood...the fallback works with the code that @-j-j- posted, not out of the box with the default setup.php. Everything works now, thanks so much for your time! The streams concept