User autocomplete using routes
Similar to #1801356: Taxonomy autocomplete using routes it might be the time now to implement routing for certain pieces of core. User autocomplete is certainly a good place to start.
View ArticleMake Toolbar offsets target selector to be optional setting
Drupal.toolbar.setHeight = function () {.........$('body').css('padding-top', height);Sometimes, styling background image or special designs, we attach the padding to "HTML" tag. Also, body tag is...
View Articledrupal_lookup_path() breaks when called from within a simpletest.
While trying to write a simpletest to check some path aliasing issues, I discovered that drupal_lookup_path() breaks when called in a test. Namely, it always returns NULL. I've tracked down the culprit...
View ArticleReplace the views grid table template with one using divs
Nowadays I think that providing a grid using tables doesn't seem to be really modern.There are probably thousands of techniques out there to provide a grid using css, let's discuss which one to use,...
View ArticleConvert menu_link hooks to use Type-Hinting
Follow-up of #916388-161: Convert menu links into entitiesAll the different kind of hooks like hook_menu_link_presave should use type hinting, so<?phpfunction user_menu_link_presave($link) {}?>...
View ArticleMake TreeOutputTest::testMenuTreeData() easier to read
Follow up from #916388-161: Convert menu links into entitieshttp://api.drupal.org/api/drupal/core%21modules%21system%21lib%21Drupal%... has some really hard to read parts, so maybe improve the...
View ArticleReplace entity_load_multiple_by_properties() uses in menu module/menu tests...
The patch in #916388-161: Convert menu links into entities added a lot of different kind of entity_load_multiple_by_properties() uses.In general they should be better converted to use entity_query, as...
View ArticleMove serialization to own module
Problem/MotivationCurrently Serialization is registered as part of CoreBundle. We originally decided to switch from a Serialization module to using CoreBundle because we only needed to register the...
View Articledrupal_get_complete_schema is dangerous because it hide recursions.
Hello. I have fould out that drupal_get_complete_schema function hides recursions and also break schema.Looks how it works<?phpfunction drupal_get_complete_schema($rebuild = FALSE) { static $schema...
View ArticleCan't install in British English
Problem/MotivationAfter selecting British English during core installation, the installation is halted and an error is reported:The English, British translation is not availableThe English, British...
View ArticleI have created a view and enabled the contextual filters for Full Name...
I have created a view and enabled the contextual filters for Full Name ,Business Name etc it is not showing the result? It is displaying only for username.
View ArticlePHP list() function in drupal_http_request() should deal with empty header...
When a HTTP request returns an empty header value drupal_http_request() throws the following notice: Notice: Undefined offset: 1 in drupal_http_request() (line 986 of ...\includes\common.inc).The...
View ArticleUpdate EntitySerializationTest to reflect actual Serializer setup
Problem/MotivationCurrently, the EntitySerializationTest test does not register all Normalizers with its mock Serializer. This means we aren't testing it as it would work in a full install.Proposed...
View ArticleConvert JSON-LD tests to DrupalUnitTestBase
Problem/MotivationThe JSON-LD tests were created before DrupalUnitTestBase was widely understood, so they use WebTestBase. This makes them slow to run.Proposed resolutionSwitch to DrupalUnitTestBase.
View ArticleLanguage switcher (User interface text) Block generates invalid XHTML + RDFa!
I have a simple bilingual weblog with Drupal 7.19, i18n and a modified Bartik sub-theme.Each page on weblog is available in two languages. I placed Language switcher (User interface text) Block on top...
View ArticleCannot disable the "Generator" meta tag anymore through mytheme_html_head_alter
This used to work fine for as long as I can remember:<?phpfunction mytheme_html_head_alter(&$elements) { unset($elements['system_meta_generator']);}?>I've tried the above code (minus the...
View ArticleRefactor theme_item_list to separate functions for ordered lists, unordered...
We use separate HTML elements to define ordered lists and unordered lists. Ordered lists and unordered lists are semantically different things.During discussions about Twig conversion in the Autumn of...
View ArticleGoogle federated login
So, I've been looking at this for some time now and I can't work out what's going wrong.I have a Google Apps domain name with federated (OpenID) login enabled. I'm using this string...
View ArticleConvert Views UI to routes
We have new Symfony-based routes, and Views UI has a lot of routes. Some of them, it turns out, are redundant.The first step will be to just convert them, with as little changes as possible. This means...
View Article