Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've got a website where a certain page is a 'dashboard', giving statistics on another page (selling items). Sellers can access the dashboard board page which summarizes the actual product page. It'd be great if we could use embed block and pass the page/path parameter into the page (As I don't want the stats for the actual page on the page itself, and instead somewhere else)
Comments
Comment #1
grendzy CreditAttribution: grendzy commentedComment #3
grendzy CreditAttribution: grendzy commentedI don't foresee this feature being added to the UI anytime soon - the natural place for a "path" configuration option would be the block settings, but since Drupal core doesn't allow blocks to be cloned this is kind of a dead-end.
The good news is that since the blocks are loaded now via AJAX, you could easily create a new block with some javascript that loads the report you want. Take a look at google_analytics_reports.js for the mechanics of how this works.