Thanks. I did try but it did not work. But I managed a work around by placing my fonts in dam and using the type=copy, path=to/dam/font
It works but if I reference it from apps, it doesn't work.
is this alright? not standard or something cause fonts should be placed under apps/resource. But it works!
Lemme know what you guys think about this.
But for now, I'll keep my fonts under content/dam.
Thanks! that also works for me. I'm able to download the entire font using that, but the problem after is that the design node type=copy doesn't automatically points to that direction (../../apps/mySite/...myfont.otf) directly, But if I place my fonts in DAM the design node automatically points to my fonts location.
This is what I referred to test -
generic node - A generic node is used to copy resources like clientlibs .js or .css files to the zip file
path is the path to 'resources' folder and not to the file.
This is what worked for me on 6.4.3 for we-retail site. I just added 3 properties on '/etc/contentsync/templates/mysite'
type: copy // I just found this type
I'm able to download entire fonts folder specified by the path
I'm running out of ideas at the moment.
--you may want to try with 6.3 as it worked for Arun and then figure out the 6.3 vs 6.4 differences later
-- in the above screenshot, the path is missing "fonts" after "resources", add that and test
--change the path '/apps/mysite/clientlibs' to '/etc/designs/mysite/clientlibs', create a duplicate node structure and test
this resources on the server also renders like
node design type=copy should include my clientlib-site/resources folder to render font.
This is what my code looks like
-Referencing to the correct path.
This is what the converted code looks like
and this the file
Now here's what type-assets did.
Converted to zip code:
and the folder structure it gave me.
-under that content is the reference image.
-under that var is where the css lies.
If I use type=copy path=font/path it would download the fonts but the css will not directly reference.
Thanks! tell me if you need more information.
Did you create specific nodes to export each type - woff, ttf, evg, eot etc.? I assume that you'd need to create it.
For example the following configuration node copies the geometrixx clientlibs .js files to the zip file: