View Issue Details

IDProjectCategoryView StatusLast Update
0006631OXID eShop (all versions)2.3. Extensions (modules, themes)public2017-05-09 11:09
Status acknowledgedResolutionopen 
Product Version4.10.4 / 5.3.4 
Target VersionFixed in Version 
Summary0006631: Problem by loading font-awesome.min.css in modul Visual CMS in subshop
DescriptionBrowser can't load font if requested URL has other domain as current in backend, and domain in backend is always from main shop.
In console this ends up with error "Bad URI or cross-site access not allowed".
As result no icons are visible. That's makes difficult to work with modul.
Steps To ReproduceSay, your main shop is configured for
Change to subshop with differen domain (f.e. and activate Modul Visual CMS (your backend URL in browser address field remains !)

font-awesome.min.css trying to load font through @font-face, but browser not allowing to do that

Additional InformationThe reason, while it happens: in modules/ddoe/visualcms/out/src/css/ddoevisualcmsadmin_ui.tpl URL for font-awesome.min.css geberated by

[{oxstyle include=$oViewConf->getModuleUrl('ddoevisualcms','out/src/css/font-awesome.min.css')}]

$oViewConf->getModuleUrl() generates it from, not from main shop

Workaround would be in this case to use relative URL, like href="/modules/ddoe/visualcms/out/src/css/font-awesome.min.css" ( without domain )

I didn't find any function in Oxid thats generates such URL for modul-ressources, but its relativ simple to make one ( expands oxviewconfig )

    public function getModuleRessourceRelativePath($sModuleId, $sFile = '') {
        $sUrl = str_replace(
            rtrim($this->getConfig()->getConfigParam('sShopDir'), '/'),

        return $sUrl . $sFile;

and then use it in template ddoevisualcmsadmin_ui.tpl like:

<link href="[{$oViewConf->getModuleRessourceRelativePath('ddoevisualcms','out/src/css/font-awesome.min.css')}]" rel='stylesheet' type='text/css'>

TagsNo tags attached.
BrowserNot defined
PHP VersionNot defined
MySQL VersionNot defined



2017-05-08 11:22

administrator   ~0012073

Kindly provide Platform information and also the browser used to reproduce this issue.


2017-05-08 11:52

reporter   ~0012075

I'm not really sure what you meaning with Platform. Oxid Version?
That's OXID EE 5.3.2
Browser is FireFox, but i have seen the same error reporitings in google for Chrome browser.