Magento extension Team23 External Sources by team23

MageCloud partnered with team23 to offer Team23 External Sources in your MageCloud panel for our simple 1-click installation option. To install this extension - create your account with MageCloud and launch a new Magento store. It takes only 3 minutes.

team23 always provides support for customers who have installed Team23 External Sources Magento module. Feel free to leave a review for the company and the extension so we can offer you better products and services in the future.

You may want to check other team23 Magento extensions available at MageCloud and even get extensions from hundreds of other Magento developers using our marketplace.

This extension provides the possibility to add any external JS or CSS resource via PHP or XML configuration.

Compatible with Magento 1.x

Team23 External Sources

Developed by: Team23

Team23 External Sources gives you the freedom to add any external source, e.g. from a Content Delivery Network (CDN), to your Magento theme. This can be done easily via XML configuration or directly in PHP code.

Normally Magento does not allow full urls to add via XML or in PHP with addJs() or addCss(). Magento assumes that you provide a path within your Magento directory.

Now you have the possibility to add full path via PHP (with addExternalCSS() or addExternalJS()) or via XML configuration.

Features

  • Add external Cascading Style Sheets (CSS) or JavaScript sources via XML configuration or PHP function
  • Light and easy to use
  • Full open source
  • No core code changes
  • Free!

Documentation & Integration

Install extension, go to System -> Admin -> External Sources, there you find the documentation.

PHP integration

$block->addExternalJs('//code.jquery.com/jquery-1.11.0.min.js');

$block->addExternalCss('http://fonts.googleapis.com/css?family=Droid+Sans:400,700');

XML integration

Please read the full documentation, or see attached screenshot for XML configuration.

Disabling extension

How to disable extension: Open /app/etc/modules/Team23_ExternalSources.xml, find true and change it to false.

License

This module is licensed under the MIT license.