HOW TO FIX Cufon doesn't work on localhost

11 years 8 months ago #1 by laurelle

Please try the latest release and see if it now works on localhosts and windows servers.


Developer Consulting

Please Log in or Create an account to join the conversation.

11 years 10 months ago - 11 years 10 months ago #2 by Juul
Cufon doesn't work on localhost (Windows) because of the Directory Seperator (DS). You'll get a \ in stead of / at the include. File is not included and it won't work.

This is probably also problematic with Live Windows hosts!
To fix this (it'll also work live):

File: plugins\system\kc_cufon.php

Line: 125

$js = JURI::base() . "plugins" . DS . "system" . DS . "kc_cufon" . DS . "js" . DS . "cufon-yui.js";

$js = JURI::base() . "plugins/system/kc_cufon/js/cufon-yui.js";

Line: 131

$js = "plugins" . DS . "system" . DS . "kc_cufon" . DS . "fonts" . DS .$fontfile[$i].".font.js";

$js = "plugins/system/kc_cufon/fonts/" .$fontfile[$i].".font.js";

I've used plugin_kc_cufon-1.4.0. Don't know how the other versions are. Developer please correct this 'feature'.

Keep up the good work and thanks!

Last edit: 11 years 10 months ago by Juul.

Please Log in or Create an account to join the conversation.

Joomla! & WordPress Hosts

Liquid Web is our recommended web hosting provider for Joomla! & WordPress websites. This is the host that we use for websites that we build. Liquid Web has an excellent reputation, fast servers and most importantly awesome service! They have technicians that are familiar with Joomla! & WordPress. Their technicians go above and beyond what other hosting providers do, in our opinion.


Liquid Web Managed Word Press  

Support Development

Please consider a small donation to support development of the extensions on this site.

Joomla! Login

This is the normal Joomla! login module not the VirtueMart login module. Click the 'Create an account' button to see how you are redirected to the VirtueMart registration form when the KC VM Registration Redirect plugin is enabled.

Joomla! & WordPress Web Design and Development

If you are interested in having a website designed or redesign or need custom Joomla! or WordPress development, please visit Consulting to view our Portfolio of Joomla! & WordPress website work.

Trademarks and logos remain the property of their respective organizations.
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. Consulting is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Site Map Back to Top