Glad you got things working. If you decide to try Login Destination again, please post an issue in the issue queue with details if you have any trouble. With the latest release I'm not seeing any problems on the sites that I'm using it on.
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...
Posted4 days 18 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
@barney are you using Login Destination? If so, are you on the latest version? (What you describe sounds like an issue I fixed within the last month or so after I took over maintainership).
Thanks for coming back to me. I have tried Login Destination but whenever I try to set a new rule I get this error
Notice: Undefined index: destination in /home/tredegar/public_html/core/includes/bootstrap.inc on line 3214
That's why I switched to Rules, but it fails there also
Hi...just spotted that despite the undefined index error when creating a new rule, the rule does work.
Phew!
Glad you got things working. If you decide to try Login Destination again, please post an issue in the issue queue with details if you have any trouble. With the latest release I'm not seeing any problems on the sites that I'm using it on.