slam4:php:phalcon:jquery

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
slam4:php:phalcon:jquery [2015/03/04 14:19] – [4.2- Exemple JQuery UI] jcheronslam4:php:phalcon:jquery [2019/08/31 14:21] (Version actuelle) – modification externe 127.0.0.1
Ligne 21: Ligne 21:
         'libraryDir'     => __DIR__ . '/../../app/library/',         'libraryDir'     => __DIR__ . '/../../app/library/',
         'cacheDir'       => __DIR__ . '/../../app/cache/',         'cacheDir'       => __DIR__ . '/../../app/cache/',
-        'baseUri'        => '/atp/', +        'baseUri'        => '/siteBaseURL/', 
-    ) +    );
-</config>+
 </sxh>  Vérifier également la présence de **libraryDir** dans le fichier **loader.php** :\\ <sxh php;app/config/loader.php;highlight:[10]> </sxh>  Vérifier également la présence de **libraryDir** dans le fichier **loader.php** :\\ <sxh php;app/config/loader.php;highlight:[10]>
 $loader = new \Phalcon\Loader(); $loader = new \Phalcon\Loader();
Ligne 157: Ligne 156:
 Résultat produit avec JQuery UI (Humanity template)+ Bootstrap activés : Résultat produit avec JQuery UI (Humanity template)+ Bootstrap activés :
  
-<sxh html>+<code>
 <head> <head>
 ... ...
Ligne 167: Ligne 166:
 ... ...
 </head> </head>
-</sxh>+</code>
 ===== -- Utilisation ===== ===== -- Utilisation =====
  
Ligne 228: Ligne 227:
 </sxh> </sxh>
  
 +Pour aller plus loin : [[slam4:php:phalcon:jquery:usage]]
 ==== -- Exemple JQuery UI ==== ==== -- Exemple JQuery UI ====
  
Ligne 272: Ligne 272:
 <sxh php;title:services.php> <sxh php;title:services.php>
 $di->set("jquery",function(){ $di->set("jquery",function(){
- $jquery= new JsUtils(array("driver"=>"Jquery")); + $jquery= new Ajax\JsUtils(array("driver"=>"Jquery")); 
- $jquery->bootstrap(new Bootstrap());//for Twitter Bootstrap+ $jquery->bootstrap(new Ajax\Bootstrap());//for Twitter Bootstrap
  return $jquery;  return $jquery;
 }); });
Ligne 301: Ligne 301:
  
 {{:slam4:php:phalcon:jquery:buttonbs.png?nolink|}} {{:slam4:php:phalcon:jquery:buttonbs.png?nolink|}}
 +
 +Pour aller plus loin : [[slam4:php:phalcon:jquery:bootstrap]]
  • slam4/php/phalcon/jquery.1425475160.txt.gz
  • Dernière modification : il y a 6 ans
  • (modification externe)