Tyler Frankenstein
Tyler Frankenstein
After successful login, remove call for new token, because token is now returned with login result
The Services module now includes the new token in the result of a login call, so we don't need to manually grab the token after logging in any more.
If you are using a [Bucket](http://docs.drupalgap.org/8/Widgets/Bucket_Widget), and then try to use a render element that contains a Bucket, the prefix and suffix will be rendered twice. ``` var bucketContent =...
Today I ran into the need (yet again) to refresh a View after a custom form is submitted, (i.e. the view was already on the page and the form is...
We want to support something like this: https://www.drupal.org/docs/8/creating-custom-modules/adding-stylesheets-css-and-javascript-js-to-a-drupal-8-module Proposed DG8 code usage: ``` my_module.js var element = {}; element.foo = { _markup: '', _attached: { dg_google: ['maps'] } }; return...
## Doesn't work ``` dg.modal({ _theme: 'form', _id: 'SearchControlsForm' }); ``` ## Works ``` var element = {}; element.controls = { _theme: 'form', _id: 'SearchControlsForm' }; dg.modal(element); ``` This *could*...
The thing to remember with hook_blocks_build_alter() is as it stands the alterations you make to the block are permanent, i.e. as you navigate to the next page, the alterations you...
``` form.display = { _title: dg.t('Search by'), _title_placeholder: true, _type: 'radios', _options: { relevance: dg.t('By relevance'), date: dg.t('By date') }, _default_value: 'relevance', // This does work. // This does NOT...
``` form.bundle = { _title: dg.t('Type'), _title_placeholder: true, _type: 'select', _options: { '': '-- ' + dg.t('All content') + ' --', article: dg.t('Articles'), page: dg.t('Pages') }, _default_value: 'pages', // This...
Let's keep DrupalGap 8 very lean and mean. So that means let's take out early efforts at handling routes like `user/%` and `node/%`, and the forms for adding/editing nodes, let's...