Skip to content

A small Magento 2 module that allows you to symlink in a module from outside of the Magento 2 directory and use the templates.

Notifications You must be signed in to change notification settings

aaj/magento2-templatesymlinks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template Symlinks - Magento 2

Magento 2 allows you to symlink in a custom module from outside of it's directory structure but does not allow you to do this with templates. This module changes that so your templates will work from outside of the Magento 2 directory structure.

This isn't best practice for a live site but will work fine on a local or development site.

You must first enable symlinks by going to Admin > Stores > Configuration > Advanced > Developer > Template Settings and setting the Allow Symlinks option to Yes.

About

A small Magento 2 module that allows you to symlink in a module from outside of the Magento 2 directory and use the templates.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%