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.104 seconds

  I found "cook" two days ago. Played around with it for a day and then within a day got rid of two legacy applications in IBM Lotus Domino Notes and replaced them with "cook". It was really easy. A piece of cake. Actually it was even easier than cooking. Cooking involves more work than developing with "cook". What can I say about "cook"? Great application great price for what it delivers great forum with a lot of information and fast responses active and friendly community fast forward moving development cycle So what should I say "Monsieur Le Cook"? Keep the good work going it will lead to success. Having become a paying member in the words of Edith Piaf may I say ..... non rien de rien ... je ne regrette rien. Vive La France.
FK (JED)
         

Get Started