Is there a way to make the Backdrop CMS menu systems accepting links like /downloads?fcat=all? I also tried a workaround using the redirect module, forcing /download to riderict to downloads?fcat=all... did anyone solve a similar problem lately?
I can't say if specifically that path works, because I don't have such a page to test it. That's why I tested admin/content/node?status=All&type=newsletter. Have you tested such a link on your site? To do so, go to the Manage content page, filter the view, copy the path from the address bar, and paste it in the path field of a menu item.
With your download link, what exactly isn't working? Do you get a error message when saving the menu item?
Have you tried uc_cart_add_item()? You need to provide the nid of the product. Then you can use backdrop_goto('cart/checkout'); to send the user to the checkout screen. uc_cart_add_item...
Posted5 days 15 hours ago by Alejandro Cremaschi (argiepiano) on:
No problem, let's see how it evolves.
I'd be happy to provide a suggested version if i could.
I will keep that in mind and try learn this hook chain hopefully very soon. I will...
Posted1 week 2 hours ago by RS Snyder (theflightrs) on:
I could request hashing support, but that's the lazy way
🤣
I would appreciate it if you as an active maintainer would 'officially' add a hashing support...
Hi, i understand the updating obstacle - not worth mentioning - hence it is a wacky (but working) patch until i know what to do. :-)
One of my biggest wishes is to understand the hook...
Posted1 week 2 hours ago by RS Snyder (theflightrs) on:
Comments
Such links should actually work. I've tested it with this path on a test site:
admin/content/node?status=All&type=newsletterAh, wait, your examples start with a slash. That might be the problem.
Mmmh, I just added the slash manually... for whatever reason;-)
Probably you're used to it from Drupal 8 or 9 :-) Does it work without?
Mmmh, so this works for your installation? Might be my custom menu script...:-(
I can't say if specifically that path works, because I don't have such a page to test it. That's why I tested
admin/content/node?status=All&type=newsletter. Have you tested such a link on your site? To do so, go to the Manage content page, filter the view, copy the path from the address bar, and paste it in the path field of a menu item.With your download link, what exactly isn't working? Do you get a error message when saving the menu item?
your link outputs as admin/content/node in frontend (cutting the
?status=All&type=newsletter)Maybe I better try with a base theme first...
This is really strange. Works perfectly on my site. Hope you find the reason!