Place a link to profile upon successful registration

Permalink
Hi, so when a user creates an account on my website it says something to the effect of "Congradulations, your profile is now set up" (Or something like that) and then there is a line that says "Click here to go back to homepage"

I want there to be a link that points to the new profile, how can I do that? I have searched through the controls and php files but i can't seem to find it. Any advice?

by the way, I already tried this

if($success) { ?>
<div class="row">
<div class="span10 offset1">
<?php switch($success) {
case "registered":
?>
<p><strong><?php echo $successMsg ?></strong><br/><br/>
<a href="<?php echo $this->url('/profile')?>"><?php echo t('See Your Profile')?></a></p>
<?php

break;
.........

 
ronyDdeveloper replied on at Permalink Best Answer Reply
ronyDdeveloper
There are few things that you need to check.

1. Your public profile is enabled from dashboard System & Settings.
2. You have changed the code in a proper way like copy the single pages called register.php from ROOT/concrete/single_pages and put it into ROOT/single_pages
3. You have cleared your cache from dashboard.

If you follow there above mentioned options, I hope it will work. I've checked it here and it works fine.

Rony
jasonjb487 replied on at Permalink Reply
Yes it was the cache! Thank you so much! I really should have thought of that, but thanks so much for your help