Last active
March 2, 2017 03:03
-
-
Save dangtrinhtran/fae7984d96d0e134d013 to your computer and use it in GitHub Desktop.
Some of the standard configuration for Magento
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0"?> | |
| <config> | |
| <adminhtml> | |
| <cms> | |
| <browser> | |
| <extensions> | |
| <media_allowed> | |
| <mp4>1</mp4> | |
| </media_allowed> | |
| </extensions> | |
| </browser> | |
| </cms> | |
| </adminhtml> | |
| </config> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SSL: {{store direct_url="contacts" _secure=1}} | |
| Path in configuration: {{config path='accessories_config/configuration/video_html5_press_page_two'}} | |
| For example: href="{{media url='videos'}}/{{config path='accessories_config/configuration/video_html5_press_page_two'}}" | |
| Remove last trailing slash from magento url: | |
| - In *.phtml | |
| <?php echo Mage::getUrl('', array('_direct' => 'hairproducts.html', '_query'=>'manufacturer=412')); ?> | |
| - In a block/page content | |
| {{store _direct='hairproducts.html' _query="manufacturer=412"}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ngon vãi