ZF-9794: Add support to load jQuery UI themes from google CDN

Issue Type: New Feature Created: 2010-05-03T07:41:11.000+0000 Last Updated: 2011-09-23T11:34:34.000+0000 Status: In Progress Fix version(s): Reporter: Philipp Feigl (pfeigl) Assignee: Benjamin Eberlei (beberlei) Tags: - ZendX_JQuery

Related issues: Attachments: - Container.php


Much like the ajax libraries are available via the google CDN, the CSS and image files for the jQuery UI themes are also available via google CDN. This is not documented as good as the library documentation itself, however there have been some good blog postings about this. Read the details here:…

This would be a very great enhancement in my opionen, as this enables the developer to use jQuery + UI without hosting any of the files himself, which made it a bummer for myself.

Currently I'm getting this done formyself via the following line of code in the layout script

<pre class="highlight">
<?php echo $this->jQuery()->addStyleSheet('<a href="">…</a>') ?>

If this feature will be added to one of the future releases, we need to make sure to tell the implementor of ZendX_Application_Resource_Jquery that support for the UI theme is added to the resource plugin.


Posted by Alex Frenkel (sirshurf) on 2011-01-10T05:44:52.000+0000

Since we now have options to fetch from GOOGLE CDN language for UI and the thems I am adding support for that.

The support would not affect back.

Posted by Alex Frenkel (sirshurf) on 2011-01-10T06:12:16.000+0000

Here is the fix to work with the Translation files from google CDN.

It uses the full translation file and selecting regional using reginal selection API for JQuery.

Looks like I dont have SVN access from this client, I will add Test case and normal submission later.

Posted by Alex Frenkel (sirshurf) on 2011-09-23T10:52:47.000+0000

This patch has support for language files...

Plus support for setting correct language in datepicker.

Posted by Alex Frenkel (sirshurf) on 2011-09-23T11:34:34.000+0000

Finished adding support for themes and for languages.

Plus switched all request from deprecated methods.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.