[Closed] Error when exporting Simplex

Forum rules
Only administrators can post or move items here.
Post Reply
User avatar
jissey
Forum Members
Forum Members
Posts: 61
Joined: Sun Jul 18, 2010 12:17 pm
Location: South of France

[Closed] Error when exporting Simplex

Post by jissey »

Hello,
when I try to export Simplex theme, an error occurs :
Could not find a physical file for '[[$font]]/simplex.eot
The file exists but $font is not resolved.
jce76350
Beta Tester
Beta Tester
Posts: 1950
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

Re: Error when exporting Simplex

Post by jce76350 »

Confirmed

Design Manager tab Designs / export design to XML : Simplex
If module MenuManager not installed, message :
"Cannot find any MenuManager template types (is MenuManager installed and enabled "
If module MenuManager installed , message :
"Could not find a physical file for '[[$font]]/simplex.eot' "
This message is from
if( !file_exists($fn) ) throw new CmsException('Could not find a physical file for '.$value); into class.dm_design_exporter.php
Jean-Claude Etiemble
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Error when exporting Simplex

Post by calguy1000 »

This is because of the advanced nature of the simplex theme.

a: It uses smarty variables inside the stylesheet to represent paths. meaning in order to parse the paths the stylesheets have to be passed through smarty. This compresses the stylesheet, loosing all formatting.

b: it passes arguments to some of the filenames (particularly for the fonts). i.e: url([[$font]]/simplex.svg#simplex) which would have to be parsed out and restored.

For the time being I've changed the nature of the error message to be a bit more obvious.

Don't know if I'm gonna be able to fix this for 2.0.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
jissey
Forum Members
Forum Members
Posts: 61
Joined: Sun Jul 18, 2010 12:17 pm
Location: South of France

Re: Error when exporting Simplex

Post by jissey »

Hi,
ok, I'm agree with your conclusion. Thanks
Post Reply

Return to “Closed Issues”