我是新手magento
。我正在开发一个模块。为此,我有一些要显示链接的文件css
。js
我目前有这样的链接
<link rel="stylesheet" type="text/css" href="<?php echo $this->getSkinUrl('module_tryouts/css/jquery.fancybox-1.3.1.css');?>" media="all" />
<link rel="stylesheet" type="text/css" href="<?php echo $this->getSkinUrl('module_tryouts/css/jquery-ui-1.8.custom.css');?>" media="all" />
但是在浏览了一些链接之后,我开始知道链接应该是安全的,以便模块可以与 mazebridge 集成。
http://www.webdosh.net/2011/04/magento-get-skin-url-get-media-url-get.html
http://www.magentocommerce.com/boards/viewthread/7894/
那么有人可以告诉我如何解决这个问题吗?如何给 js 和 css 文件、图像提供安全链接,以便它可以与 mazebridge 集成。任何帮助和建议将不胜感激。谢谢