backdrop-contrib / civicrm_blocks

Insert a CiviCRM Contribution page into a Backdrop Layout via a block.
GNU General Public License v2.0
0 stars 0 forks source link

Add a Configure link/button to the CiviCRM event/contribution page #2

Open laryn opened 5 years ago

laryn commented 5 years ago

Might be good to include an edit button for admins (or contextual link on the block) that jumps right to the CiviCRM contribution page edit screen. Notes:

laryn commented 4 years ago

I've added a contextual link in https://github.com/backdrop-contrib/civicrm_blocks/commit/0a796285a182098b99de865e7d5a5078fc43a907

Screen Shot 2020-02-26 at 11 17 36 AM

The destination parameter doesn't seem to have an effect and I'm not sure how to force it to open in a new window, given the redirecting I had to do to get a contextual link to work...

Another option is to scrap the contextual link and use a small edit icon as a direct link instead of a contextual link.

Anyone have opinions?

ericfg commented 4 years ago

I've been annoyed in the past that civi does not use the destination paramater like drupal/backdrop after a form is submitted.

Maybe that should be / could be a simple module that then could be used by this module and others for some consistency between civi and backdrop.

I'm going to look into this a bit more