CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Setting the url after a postProcess
Pages: [1]

Author Topic: Setting the url after a postProcess  (Read 1383 times)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Setting the url after a postProcess
July 13, 2008, 12:41:42 am
Hi,

After having change a participant, I'd like to send an email (to replace the somehow limited existing send email system).

I don't know how to set the url after he modification on the participants have been saved (I quite didn't follow the context thing, if it's related)

Then, how is it possible after the email form to go back to the initial view  (before the participant modification, eg. the list of participant)?

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Setting the url after a postProcess
July 13, 2008, 01:43:30 am

hey xavier:

can u elaborate a bit more? Not sure i understand what you mean. Giving urls on drupal.demo might make things more clear

for a form or wizard, you can call pushUserContext to direct where the form should go on completion. In a multi-page form, this happens on successful completion of the last form. To add another form to the multi-page form, you'll need to modify the statemachine associated with the form

lobo


A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Setting the url after a postProcess
July 21, 2008, 01:46:06 am
Hi,

I was hacking the activity send mail page (to plug it on an event set status/view status). My goal is that I wanted to be able to view the detail of a registration, click on a send email, and come back to the participation view page.

I could create the link, but didn't find the way to telling it to go back to the participant page, instead of the list activities of the contact page.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Setting the url after a postProcess

This forum was archived on 2017-11-26.