Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] jquery UI css question/problem

jquery UI css question/problem 29 Oct 2013 16:24 #11475

  • dyoungers
  • dyoungers's Avatar
  • Offline
  • Premium Member
  • Posts: 123
  • Thank you received: 16
  • Karma: 0
I couldn't find a reference to this anywhere but I'm getting a warning that the jquery-ui-1.9.1.min.css file is missing when using views on the front-end, i.e. the file exists in the admin/css folder but not in the site/css folder. For now, I've copied the file to the site/css folder but wondering if that was the intent or if it would make more sense to have the file loaded from the admin folder instead of the site folder (helper.php code shown below)

Thanks!
Dave

//CSS
		if ($app->isAdmin())
		{
			// Blue stork override
			$styles = "fieldset td.key label{display: block;}fieldset input, fieldset textarea, fieldset select, fieldset img, fieldset button{float: none;}fieldset label, fieldset span.faux-label{float: none;display: inline;min-width: inherit;}";
			$doc->addStyleDeclaration($styles);

			self::addStyleSheet($doc, $baseAdmin, 'css' .DS. 'teammanager.css');
			self::addStyleSheet($doc, $baseAdmin, 'css' .DS. 'toolbar.css');
			$doc->addStyleSheet($componentUrlAdmin . '/css/jquery-ui-1.9.1.min.css');
		}
		else if ($app->isSite())
		{
			self::addStyleSheet($doc, $baseSite, 'css' .DS. 'teammanager.css');
			self::addStyleSheet($doc, $baseSite, 'css' .DS. 'toolbar.css');
			$doc->addStyleSheet($componentUrl . '/css/jquery-ui-1.9.1.min.css');
		}
The administrator has disabled public write access.

jquery UI css question/problem 30 Oct 2013 12:02 #11489

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
This is old stuff isn't it ?
Cook evolves fast...

1. Download again.
2. Upgrade the 'framework' directory of JDom. + framework.php

then see in the fresh downloaded component how helper loads jQuery:
JDom::_('framework.jquery');
Coding is now a piece of cake
The administrator has disabled public write access.

jquery UI css question/problem 30 Oct 2013 12:04 #11490

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
EDIT : Sorry, I have just seen, jQuery UI is still called from the helper.
I will fix that...
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: dyoungers

jquery UI css question/problem 17 Nov 2013 01:11 #11653

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Fixed.

(Simply removed the calls from the helper)
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.063 seconds

Get Started