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) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Changing URL in "Back to 'xxx' event information"
Pages: [1]

Author Topic: Changing URL in "Back to 'xxx' event information"  (Read 1101 times)

martinb1

  • Guest
Changing URL in "Back to 'xxx' event information"
August 31, 2009, 03:02:08 pm
At the bottom of the Thank You screen is a URL to return to the event data. Is it possible I can control this link ? I'd like to return them to the page where I have set up with an event overview. It's just a standard Joomla page ?

I've attached a screenshot to show where the URL is coming up if that helps ?


Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Changing URL in "Back to 'xxx' event information"
August 31, 2009, 10:42:46 pm
Quote
Is it possible I can control this link ?

The link is set line no: 184 (approx) in templates/CRM/Event/Form/Registration/ThankYou.tpl with this piece of code :

Code: [Select]
<div class="action-link">
        <a href="{crmURL p='civicrm/event/info' q="reset=1&id=`$event.id`"}">&raquo; {ts 1=$event.event_title}Back to "%1" event information{/ts}</a>
    </div>

You could make changes to the link, I strongly recommend you use custom template to achieve this.
For more details, refer : http://wiki.civicrm.org/confluence/display/CRMDOC/Customize+Built-in,+Profile,+Contribution+and+Event+Registration+Screens

HTH
-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

martinb1

  • Guest
Re: Changing URL in "Back to 'xxx' event information"
September 02, 2009, 11:56:54 pm
Thanks Yashodha

If I were to "hack" this code (your recommendations noted) would the following work ?-

<div class="action-link">
        <a href="my-temp-url-here">&raquo; {ts 1=$event.event_title}Back to "%1" event information{/ts}</a>
    </div>

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Changing URL in "Back to 'xxx' event information"
September 03, 2009, 10:26:29 pm
yup
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

martinb1

  • Guest
Re: Changing URL in "Back to 'xxx' event information"
September 04, 2009, 01:30:08 am
Worked a treat !

Thanks  :D

martinb1

  • Guest
Re: Changing URL in "Back to 'xxx' event information"
March 08, 2010, 01:32:32 pm
Sorry for dragging up this old post however now that I've upgraded to 3.1.3 this "hack" no longer applies.

Any pointers on how to make the same changes only with the latest version ?

Thanks,

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Changing URL in "Back to 'xxx' event information"
March 08, 2010, 10:49:46 pm
martinb1 :
Did you try making the same changes in line no 270 (approx) in templates/CRM/Event/Form/Registration/ThankYou.tpl using custom templates in here?
 
Code: [Select]
<div class="action-link section event_info_link-section">
        <a href="{crmURL p='civicrm/event/info' q="reset=1&id=`$event.id`"}">&raquo; {ts 1=$event.event_title}Back to "%1" event information{/ts}</a>
    </div>

-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

martinb1

  • Guest
Re: Changing URL in "Back to 'xxx' event information"
March 09, 2010, 01:42:35 am
Thanks once again Yashodha !   :D

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Changing URL in "Back to 'xxx' event information"

This forum was archived on 2017-11-26.