• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC


Forum rules


Only administrators can post or move items here.



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: [Closed] Error when exporting Simplex
PostPosted: Sat Sep 20, 2014 9:07 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Sun Jul 18, 2010 12:17 pm
Posts: 61
Location: South of France
Hello,
when I try to export Simplex theme, an error occurs :
\$1:
Could not find a physical file for '[[$font]]/simplex.eot

The file exists but $font is not resolved.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Error when exporting Simplex
PostPosted: Sun Sep 21, 2014 8:21 am 
Offline
Power Poster
Power Poster

Joined: Mon May 29, 2006 1:20 pm
Posts: 1947
Location: Rouen
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


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Error when exporting Simplex
PostPosted: Sun Sep 21, 2014 6:46 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Tue Oct 19, 2004 6:44 pm
Posts: 8166
Location: Fernie British Columbia, Canada
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.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Error when exporting Simplex
PostPosted: Mon Sep 22, 2014 6:34 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Sun Jul 18, 2010 12:17 pm
Posts: 61
Location: South of France
Hi,
ok, I'm agree with your conclusion. Thanks


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Hosting Nation - Managed CMSMS Hosting