There's really not an easier way to do this than what I proposed, creating a second form is much more involved and will take a more in depth understanding of php and cb as you'll have the hash security stuff to deal with and so on. I can try and give you a general step by step on how to do what I proposed though.
Step 1.
At the end of your first link to the registration form add ®title=title1
(it will look like index.php?option=com_comprofiler&task=registers®title=title1)
Step 2.
At the end of your second link to the registration form add ®title=title2
Step 3.
Find the following lines in /components/com_comprofiler/comprofiler.html.php (it's line 1607 in my file but may be different on yours):
Code:
// renders using template viewer
echo HTML_comprofiler::_cbTemplateRender( $cbTemplate, $user, 'RegisterForm', 'drawProfile', array( &$user, $tabcontent, $regFormTag, $introMessage, _LOGIN_REGISTER_TITLE, _REGISTER_TITLE, _UE_REGISTER, $moduleContent, $topIcons, $bottomIcons, $conclusionMessage ), $output );
And replace it with this:
Code:
$regtitle = $_GET['regtitle'];
if($regtitle == 'regtitle1') {
echo HTML_comprofiler::_cbTemplateRender( $cbTemplate, $user, 'RegisterForm', 'drawProfile', array( &$user, $tabcontent, $regFormTag, $introMessage, _LOGIN_REGISTER_TITLE, _REGISTER_TITLE1, _UE_REGISTER, $moduleContent, $topIcons, $bottomIcons, $conclusionMessage ), $output );
}
elseif($regtitle == 'regtitle2') {
echo HTML_comprofiler::_cbTemplateRender( $cbTemplate, $user, 'RegisterForm', 'drawProfile', array( &$user, $tabcontent, $regFormTag, $introMessage, _LOGIN_REGISTER_TITLE, _REGISTER_TITLE2, _UE_REGISTER, $moduleContent, $topIcons, $bottomIcons, $conclusionMessage ), $output );
}
else {
echo HTML_comprofiler::_cbTemplateRender( $cbTemplate, $user, 'RegisterForm', 'drawProfile', array( &$user, $tabcontent, $regFormTag, $introMessage, _LOGIN_REGISTER_TITLE, _REGISTER_TITLE, _UE_REGISTER, $moduleContent, $topIcons, $bottomIcons, $conclusionMessage ), $output );
}
Step 4.
Open file /components/com_comprofiler/plugin/language/default_language/default_language.php and find the following line (line 798 in my file):
Code:
if (!defined('_REGISTER_TITLE')) DEFINE('_REGISTER_TITLE','Registration');
And add 2 more line right below it like this:
Code:
if (!defined('_REGISTER_TITLE')) DEFINE('_REGISTER_TITLE1','New registration title for link 1');
if (!defined('_REGISTER_TITLE')) DEFINE('_REGISTER_TITLE2','New registration title for link 2');
This should do what you need, I haven't tested it so I can't guarantee it works but it should.
Basically what you're doing here is adding the end piece to your link to determine what link was used, the code looks at the piece at the end of the url and uses the if/else statement to determine which language variable to load according to what link was used, then finally the language variable gives you the actual title text you want.
Too easy right?