Note that there are some explanatory texts on larger screens.

plurals
  1. POZendX date picker example not working
    primarykey
    data
    text
    <p>I am rather new to ZendX and I really wanted to get the simple JQuery example on Zend to get working.I have followed the example on the link below but all I get is a plain textbox without any datepicker functionality as I expected.</p> <p><a href="https://stackoverflow.com/questions/1616857/best-way-to-start-using-jquery-in-a-zend-framework-1-9-application">Best way to start using jQuery in a Zend Framework 1.9 application?</a></p> <p>In my bootstrap I have</p> <pre><code>protected function _initViewHelpers() { $this-&gt;bootstrap('layout'); $layout = $this-&gt;getResource('layout'); $view = $layout-&gt;getView(); $view-&gt;doctype('XHTML1_STRICT'); $view-&gt;headMeta()-&gt;appendHttpEquiv('Content-Type', 'text/html;charset=utf-8'); $view-&gt;headTitle()-&gt;setSeparator(' - '); $view-&gt;headTitle('JQUERY Test'); //assuming you already have this function in your bootstrap //jQuery (using the ui-lightness theme) $view-&gt;addHelperPath("ZendX/JQuery/View/Helper", "ZendX_JQuery_View_Helper"); $view-&gt;jQuery()-&gt;addStylesheet('/js/jquery/css/ui-lightness/jquery-ui-1.7.2.custom.css') -&gt;setLocalPath('/js/jquery/js/jquery-1.3.2.min.js') -&gt;setUiLocalPath('/js/jquery/js/jquery-ui-1.7.2.custom.min.js'); } </code></pre> <p>In my layout I have included</p> <pre><code>&lt;head&gt; &lt;?php echo $this-&gt;HeadMeta(); ?&gt; &lt;?php echo $this-&gt;headTitle(); ?&gt; &lt;?php echo $this-&gt;headLink(); ?&gt; &lt;?php echo $this-&gt;headScript(); ?&gt; &lt;?php echo $this-&gt;jQuery(); ?&gt; &lt;?php echo $this-&gt;headLink()-&gt;prependStylesheet($this-&gt;baseUrl().'/css/main.css'); ?&gt; &lt;?php echo $this-&gt;render('_javascript.phtml'); ?&gt; &lt;/head&gt; </code></pre> <p>What am I missing?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload