display and allow sort by post date on forum listings
minor request: at the moment, forum posts are only sortable by the last comment, it would be useful to also see/be able to sort on the date the post was submitted.
The block system and API in Backdrop is very different from Drupal's. In Backdrop, as in Drupal, modules can define blocks in code (in fact some of the API at this level is the same, with...
Posted5 days 3 hours ago by Alejandro Cremaschi (argiepiano) on:
This was from examining line 2463- of the webform.module, where
// Attach necessary JavaScript and CSS.
$form['#attached'] = array(
'css' => array(backdrop_get_path('module', 'webform...
d'oh. Because of course it is reassigning. Don't mind me...
the correct syntax is
$form['#attached']['js'][] =
backdrop_get_path('module', 'mymodule') . '/mymodule.js';
Comments
I agree -- and have posted this in the forum queue on Github so it doesn't get lost: