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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Customize the registration page - help
Pages: [1]

Author Topic: Customize the registration page - help  (Read 963 times)

kevinman777

  • Guest
Customize the registration page - help
September 03, 2008, 11:24:07 pm
Hi there. I'm trying to change the current default registration page to the following:

->Remove the tabs which can show and hide fields ( I cannot find the file to edit this)
->Remove the javasccript on the registration page ( I cannot find the file to edit this):

Code: [Select]
<script type="text/javascript">
 
 if ( document.getElementsByName("cms_create_account")[0].checked ) {
     show('details');
  } else {
     hide('details');
  }
 function showMessage( frm )
 {
   var cId = '';
   if ( cId ) {
     alert("You are logged-in user");
     frm.checked = false;
   } else {
     var siteName = 'http://xxx.xxx.xxx.xx/mysite';
     alert("Please login if you have an account on this site with the link " + siteName  );
   }
 }
 
</script>

If somebody could show me the .tpl or the file which this code is located that would be great.

-Kevin.

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Customize the registration page - help
September 03, 2008, 11:32:58 pm
You should find the code in "templates/CRM/common/CMSUser.tpl"

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

kevinman777

  • Guest
Re: Customize the registration page - help
September 03, 2008, 11:51:30 pm
Thank you very much. Its what i wanted.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Customize the registration page - help

This forum was archived on 2017-11-26.