cufon do not work, at all.

More
13 years 2 months ago #1 by laurelle
Hi,

I looked at the code and I don't see anything on the top menu item to make it different from the other top menu items when you are in a sub-menu item article. The active class is now on the sub-menu item and the top level active menu item has lost its active class or any other class that lets you know that you are in that menu item's sub-menu.

Turn Cufon off and check and see what classes are on the top level menu item when you are in its sub-menu item, that is making it show the active state. You can use Firebug in Firefox to easily check this out.

Cufon doesn't change classes so I don't know why it would stop working when you enable it.

Good luck.

Laurelle
Developer
Keashly.ca Consulting

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

More
13 years 2 months ago #2 by theseal666
Hello again..

It seems like the traditional method don not work here.. Trouble :(

I have assigned a class ass suggested for the active, but as soon as i choose one of the sub-items the active class of the parent is lost.

It worked before cufon...

please advice...

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

More
13 years 2 months ago #3 by theseal666
I now realize I have the .art-menu active in the structure further down, i will try to fiddel about tomorrow since it night-time here in Sweden.

thanks again, great plugin!

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

More
13 years 3 months ago #4 by theseal666
I now realize I have the .art-menu active in the structure further down, i will try to fiddel about tomorrow since it night-time here in Sweden.

thanks again, great plugin!

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

More
13 years 3 months ago #5 by laurelle
Hi,

Did you change the Hoverable parameter field to Yes for the menu css selector?

I looked at your css and you don't have a color defined for the active state to be different than your normal state. Try:

.art-menu a.active,.art-menu a.active:visited, .art-menu a.active:link {color: green}

I found Cufon a easier solution than sIFR which is why I made the plugin. Glad you are getting this working.

Cheers.

Laurelle
Developer
Keashly.ca Consulting

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

More
13 years 3 months ago #6 by theseal666
THIS F*****G ROCKS!!

Thanks, it works way better then the SIFR i was fideling about w before.

ONE problem persists:

The "active" do not work as intended.

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

More
13 years 3 months ago #7 by laurelle
Hi,

Make sure you put the real domain as well as your temp domains in the list of allowed sites. Actually specify the font name in the field where you can set the name of the font. Should work with those things setup.

Glad you got things working.

Cheers.

Laurelle
Developer
Keashly.ca Consulting

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

More
13 years 3 months ago #8 by theseal666
YEAAAAH!!! VICTORRRYYY!!! IT WORKS!!! And my css works like a charm on the uggly coded menu!!

Thanksalott!! any tips on how I get my custom fonts working?

The specified url is the sandbox.

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

More
13 years 3 months ago #9 by theseal666
will try w default right away!

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

More
13 years 3 months ago #10 by laurelle
Hi,

First your doctype needs to be changed to strict so it works in all browsers.

You need to try getting Cufon working with the default fonts supplied, before you change to a different font. Change the font back to one of the fonts supplied with the plugin like Gabrielle and font file: Gabrielle_400.font.js.

Your font file that you are using is BodoniBertholdBQ_italic_700.font.js but you have the font defined as Bodoni. Unless you explicitly told the generator that the font was Bodoni it probably has named it BodoniBertholdBQ. Did you specify u3294737.fsdata.se as one of your allowed domains in the generator?

The head of your doecument looks right, so I suspect that there is a problem with the font file you generated. That is why you need to get the default font working correctly so you can narrow down that the problem is with the font file.

Good luck.

Laurelle
Developer
Keashly.ca Consulting

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

More
13 years 3 months ago - 13 years 3 months ago #11 by theseal666
Yes the change to PHP5 did the trick, but the plugin is still not changing any fonts.

The site is up at u3294737.fsdata.se/

Sourcecode? the css template och the html? Tip on what I should copy/pasta.

These are the plugin settings.


I have the SC Jquery plugin before the KC Cufon as screenshot above.

thanks all!!
Last edit: 13 years 3 months ago by theseal666.

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

More
13 years 3 months ago #12 by laurelle
Hello,

I can't seem to access your site. It won't load for me.

So, can you please paste what is in your source code head section.

Have you changed the plugin parameters? If so, please paste new screencap of them.

Thanks.

Laurelle
Developer
Keashly.ca Consulting

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

More
13 years 3 months ago #13 by theseal666
Thanks!!! super!

www.u3294737.fsdata.se


I NEEED the menu to perform as the menu is today.
(black, and red for active and hoover) and all other links should be red at all times.

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

More
13 years 3 months ago #14 by laurelle
Hi,

I gather the PHP error is gone now?

Are you trying to get h1,h2, etc. replaced with the font that comes with the Cufon plugin? Get that working before you try replacing the font with another font. Make sure that you changed the number of fonts in the plugin parameters from 1 to however many font/selector sets you want to replace. By default only h1 will be replaced with the default plugin settings.

Did you check in the head of the source code to make sure that you have an ajax framework like mootools.js loaded before the cufon js files. Make sure that the css for the cufon fonts are specified.

If you can provide a link to your site it would help to debug the problem.

Laurelle
Developer
Keashly.ca Consulting

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

More
13 years 3 months ago #15 by theseal666
PHP5 loaded.

No cufon fonts replacing the h1, h2, h3 etc...

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

More
13 years 3 months ago #16 by laurelle
Hi,

I am surprised that you haven't had other PHP problems with Joomla! using PHP4. I have had to upgrade a number of my clients to PHP5 to get Joomla 1.5.15 to run without PHP errors.

I am not 100% sure that PHP4 is the cause of the problem, but I think that it probably is. I will continue to investigate.

PHP5 is much more secure than PHP4 and PHP4 is no longer supported, you should really get your hosting account upgraded.

Cheers.

Laurelle
Developer
Keashly.ca Consulting

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

More
13 years 3 months ago #17 by theseal666
sorry, version 1.3.0 is it that is giving me the trouble.

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

More
13 years 3 months ago #18 by theseal666
these are the plugin settings:



Is the PHP4 to blame do you think?

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

More
13 years 3 months ago #19 by laurelle
Hi,

What version of the Cufon plugin are you using? What do you have the Number of fonts set to in the plugin parameters?

You may be the first person to test this using PHP 4.

Line 60 in the latest version of cufon is:
$fonts = $this->params->get("num_fonts", '0');

I don't see why this should be causing a problem.

Laurelle
Developer
Keashly.ca Consulting

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

More
13 years 3 months ago #20 by theseal666

System Information
Setting Value

PHP Built on: Linux www22 2.6.24.2-grsec #6 SMP Sun Jan 3 01:55:08 CET 2010 i686
Database Version: 5.0.67
Database Collation: utf8_general_ci
PHP Version: 4.4.8
Web Server: Apache/1.3.37 (Unix) mod_gzip/1.3.26.1a mod_fastcgi/FSDATA-1.1 mod_jk/1.1.0 mod_throttle/3.2.0 Embperl/2.0b8 mod_perl/1.29 PHP/4.4.3 mod_ssl/2.8.28 OpenSSL/0.9.8b
Web Server to PHP interface: cgi-fcgi
Joomla! Version: Joomla! 1.5.15 Stable [ Wojmamni Ama Mamni ] 05-November-2009 04:00 GMT
User Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6


When I enable cufon I only get:
Fatal error: Call to a member function on a non-object in /home/u/u3294737/www/plugins/system/kc_cufon.php on line 60



please heeelp!

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 Keashly.ca 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.
Keashly.ca Consulting is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Site Map Back to Top