I am working on customizing the search results returned by the Backdrop search. Depending on the node type, I need to alter the URL that the given result points to….like not linking to the entry data for the node but rather the section the content is featured on. That being said, I am trying to determine if I can get the node ID and node type from the search results so that I can redirect where some of the results point to. Is there a way for me to get that info from the search_results?
Recent comments
Thanks, that was it exactly!
Admin bar doesn't work for other site admin
Hello, Thank you for your response ! We followed the steps of the documentation, so we copied the content and the themes on backdrop en then we went to the page domain/core/...
Page not found after migration
Does the Administrator role of your site have the permission "Access administration bar"? (I think, you wouldn't notice the missing permission if your own account is the so called User 1.)
Admin bar doesn't work for other site admin
I've figured it out: in hook_field_widget_form(): $html_name = array(); if (!empty($element['#field_parents'])) { $html_name[] = $element['#field_parents'][0]; foreach ($...
Using #states in custom field widget
Hi @allinappli and welcome! Just for clarity, did you already run the site updates portion of the upgrade to Backdrop? (e.g. at /core/update.php) Do you have command line access or...
Page not found after migration