Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Cufon Bug - ZGF/ZGBlank

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

In the latest version of the Zen Grid Framework and Zen Blank Template, there is a bug that causes Cufon to not work in Opera when there is no extra css loaded.

/templates/zengridframework/index.php, line 69:
if ($extraThemeCSS !="") { echo $extraThemeCSS; }

Removing that code will fix the issue. When no extra CSS is used, it will try to load this:
/templates/jbzenblank/css/.css
  • Atomic Design and Consulting's Avatar
  • Atomic Design and Consulting
  • 3 Month Basic
  • 43 posts
  • 1 Thanks
  • Karma: 2
The administrator has disabled public write access.
Thanks for bringing our attention to this. Ill check it out tomorrow and create a fix or at least some more flexibility around this.

Thanks again,

Anthony
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
Sorry for the delay on this. But Ive just gone through and I think the fix should look like this int he includes/templateVariables.php file:
	// These are the css files that get called if css compression is disabled
	if (!($hilite)) {
	$extraThemeCSS .= '<link href="'. $this->baseurl.'/templates/'.$this->template.'/css/'.$hilite.'.css" rel="stylesheet" type="text/css" media="screen" />';
	}

Implementing that ensures that the extracss is still null by the time we get to the index and if the hilite hasnt been set.

Is there any chance you can confirm that on your end?

Thanks Anthony
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
Actually sorry that should say:
// These are the css files that get called if css compression is disabled
	if (!($hilite)) {
	$extraThemeCSS .= '<link href="'. $this->baseurl.'/templates/'.$this->template.'/css/'.$hilite.'.css" rel="stylesheet" type="text/css" media="screen" />';
	}

Anthony
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
Actually scratch that - I just found a way to put a safety in the framework itself. That will be a part of the v1.1.10 release.

Anthony
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers