Page 1 of 1

[fixed] Export of a design with an internal link

Posted: Tue Jun 23, 2015 7:30 pm
by archeo
I try to export a design with internal link in a template

<a href="{cms_selflink href="dernieres-pages-mises-a-jour"}" >>> </a>

The alias dernieres-pages-mises-a-jour exist

A warning message appears and the export fails:

An error occurred parsing the stylesheets, and/or templates of the design. The url dernieres-pages-mises-a-jour could not be located as a physical file. This probably indicates that the template and/or stylesheets of this theme are using advanced logic that the design manager cannot process.

I make a mistake in writing the link?

Re: Export of a design with an internal link

Posted: Tue Jun 23, 2015 7:35 pm
by calguy1000
While it is technically an error. and I will look into it. I don't know (thinking out loud) if exporting a design with hardcoded aliases is a good idea. Probably this design is not one suitable for sharing.

I am particularly thinking that the idea of exporting a design is so that it can be re-used on different websites. Hardcoding links and aliases into the design isn't very user-friendly or re-usable. Other than maybe a link to the designers website.

Re: Export of a design with an internal link

Posted: Tue Jun 23, 2015 7:54 pm
by archeo
calguy1000 wrote: I am particularly thinking that the idea of exporting a design is so that it can be re-used on different websites. Hardcoding links and aliases into the design isn't very user-friendly or re-usable. Other than maybe a link to the designers website.
I agree with you. I discover this when testing Theme manager compatiblity. It exports themes with internal link

Re: [open] Export of a design with an internal link

Posted: Fri Jul 03, 2015 11:52 pm
by calguy1000
I fixed this a couple of days ago, I think.