Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

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');
		}

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

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
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

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

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
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 following user(s) said Thank You: dyoungers

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

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

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

(Simply removed the calls from the helper)
Coding is now a piece of cake

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

  • Page:
  • 1
Time to create page: 0.079 seconds

Let me first state that this is an amazing and fascinating product exactly what I was looking for. In just a few hours (listening to the very well made and clearly understandable videos learning doing) I completed and installed my first component. I am now in the second refining phase. I will make a recommenation in JED. Thanks for the effort in creating such a great product. Incidentally some of the best Joomla extension I use are of French origin !
Giori (Forum)

Get Started