marcusjm Posted December 15, 2009 Share Posted December 15, 2009 Just wondering if any of the Prestashop projects have used this? My main concernwould be page load times etc.For those who don't know what SIFr is, it is basically a replacement tool to display pro typefaces as flash, it works very nice since older browsers or those without Flash will display the normal text. Link to comment Share on other sites More sharing options...
lkkr Posted December 16, 2009 Share Posted December 16, 2009 I didn't used it before in prestashop, but I did with other smarty websites.Loading time won't be much more but the things you load with SIFR will load a bit later than the normal text..(No difference with normal websites) Link to comment Share on other sites More sharing options...
Gurpreet Posted December 16, 2009 Share Posted December 16, 2009 you might want to look at cufon. its similar to sifr but user javascript rather than flash. Link to comment Share on other sites More sharing options...
marcusjm Posted December 16, 2009 Author Share Posted December 16, 2009 I have looked at others but yet to see anything that matches Sifr but I will keep my eyes open for other solutions.Thank you for the replies both though. I feel confident in using it then. Link to comment Share on other sites More sharing options...
cagrie Posted December 18, 2009 Share Posted December 18, 2009 hiya,I advise using cufon instead. it's a better replacement. just google "cufon". Link to comment Share on other sites More sharing options...
marcusjm Posted December 19, 2009 Author Share Posted December 19, 2009 I will investigate this then, thanks. Link to comment Share on other sites More sharing options...
jjancke Posted February 4, 2010 Share Posted February 4, 2010 @cagrie:I love cufon as well, I have it running on wp-template (it was preinstalled). So, could you give some hints about how to install it with prestashop? I have no idea ...Thanks in advance,jens Link to comment Share on other sites More sharing options...
vezy Posted February 6, 2010 Share Posted February 6, 2010 I am definitely interested! I have tried to set up cufon on prestashop but cannot get it to work... any help would be more than welcome - basically, after adding the js files to the themes js files where do we place the call that goes in the index.html file? As prestashop uses a different structure I am at a loss as to how to go about this step.Thanks in advance Link to comment Share on other sites More sharing options...
Gurpreet Posted February 6, 2010 Share Posted February 6, 2010 post your code and il take a look. Link to comment Share on other sites More sharing options...
vezy Posted February 6, 2010 Share Posted February 6, 2010 I'm on a local install...Following the directions on http://wiki.github.com/sorccu/cufon/usage and http://net.tutsplus.com/videos/screencasts/the-easiest-way-to-use-any-font-you-wish/ Directions say for you generate a index.html file - this is where I'm stuck as I'm guessing I should put the javascript file references in the themes index file? or prestashop index or WHERE exactly? I'm using 'moon' by dgcraft. !DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> [removed][removed] [removed][removed] [removed] Cufon.replace('h2'); [removed] </head> <body> </body></html> Thanks Link to comment Share on other sites More sharing options...
vezy Posted February 6, 2010 Share Posted February 6, 2010 That didn't work... index.html Link to comment Share on other sites More sharing options...
Gurpreet Posted February 6, 2010 Share Posted February 6, 2010 looks like your using it in the right way, try moving the cufon js files to the js folder in the root Link to comment Share on other sites More sharing options...
vezy Posted February 6, 2010 Share Posted February 6, 2010 Nope, can't get it to work - works fine if I create independant file and open Html file on browser - but I can't find where to apply it in prestashop files. If anyone has it installed, would you be so kind as to post where we are to place the JavaScript calls in PS?Thanks Link to comment Share on other sites More sharing options...
vezy Posted February 6, 2010 Share Posted February 6, 2010 Thanks to Gurpreet for the solution!Here it is:Add your generated font file.font.js and your cufon-yui.js file to www/shopname/js file and then add the calls to your theme's header.tpl file (you can place it just after the other js calls):Example code in attached file.That's it! Good luck! cufon.php Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now