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) »
  • Editing registration Form for New organisation
Pages: [1]

Author Topic: Editing registration Form for New organisation  (Read 5642 times)

Africangeek

  • Guest
Editing registration Form for New organisation
March 27, 2008, 10:59:14 am
Hi all,
I am using Drupal 5 and Civicrm 2 module.
Am trying to edit the form for new organisation but cant figure out how. Basically I dont want some of the fields like like Legal Name ,SIC Code,Source ctc. Am thinking more of something like http://www.kabissa.org/civicrm/kabissa/signup?reset=1&action=add.
What do.
It is my first time to use Civicrm


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: Editing registration Form for New organisation
March 27, 2008, 11:17:24 am

The kabissa signup form was custom code developed for kabissa. It is not part of the civicrm distribution (though the code is available under the same terms and license as rest of CiviCRM. We however do not support it extensively)

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

Africangeek

  • Guest
Re: Editing registration Form for New organisation
March 27, 2008, 11:29:42 am
Thanks Lobo.
well how can acess that code.
More importantly what I would like to find out is how to change the default fields in civicrm. i have some idea of how i can develop the code but implement it safely is the problem

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: Editing registration Form for New organisation
March 27, 2008, 11:47:12 am

the kabissa code is at:

http://svn.civicrm.org/civicrm/branches/kabissa/
http://svn.civicrm.org/kabissa/

Note that the kabissa stuff is a layer above civicrm and hence we could implement tobias's spec on the civicrm data model (for the most part)

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

Africangeek

  • Guest
Re: Editing registration Form for New organisation
March 27, 2008, 01:28:38 pm
Thanks,
Will this will not create any problems when one upgrades to a higher version expecially Drupal 5 to 6?

I would rather edit the STANDARD DATA FIELDS in CiviCRM but I cant fing the New Organization input forms.
How do I do this. I believe I can easily figure outm a different way of implimenting this using profiles and views if i can get a way to edit  the STANDARD DATA FIELDS
« Last Edit: March 27, 2008, 01:38:45 pm by Africangeek »

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Editing registration Form for New organisation
March 28, 2008, 09:39:20 am
You can try using the "custom template" method to hide fields on the built-in (standard) New Organization / Edit Organization form. Using this approach, you will create your own copy of the file which formats that screen - and save it in a separate path. This is a generally "upgrade safe" approach - although your custom version of the form may need some tweaks if there are major changes to the built-in version.

General directions for doing this are here:
http://wiki.civicrm.org/confluence/display/CRMDOC/Customize+Built-in+and+Profile+Screens

You can try just removing the fields you don't want from the template and see if Save works ok. If you hit some problems with that, you can figure out the actual HTML field names by looking at the built-in screen (view source from your browser) - and then add those back in to your custom version of the template as hidden fields with the same field name.

Hope that helps.
Protect your investment in CiviCRM by  becoming a Member!

Africangeek

  • Guest
Re: Editing registration Form for New organisation
March 29, 2008, 12:10:13 pm
Thanks Dave I guess I will do that. I guess am lazy but I was wondering is there any particular reason why the standard forms are not availed for editing. if one go a way of editing them directly would it break the application.  ;D

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Editing registration Form for New organisation
March 29, 2008, 06:44:48 pm
You're free to edit the "standard" forms (within your main installation codebase) - but then you'll need to save off your changes etc. so they don't get over-written when you upgrade to a new release. Hence, we recommend using the custom templates approach.
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Editing registration Form for New organisation

This forum was archived on 2017-11-26.