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 Profiles (Moderator: Dave Greenberg) »
  • Basic Profile Creation Question
Pages: [1]

Author Topic: Basic Profile Creation Question  (Read 1063 times)

TimBonnici

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 3.3.6
  • CMS version: Joomla 1.5
  • MySQL version: 5.0.67-0
  • PHP version: 5.2.17
Basic Profile Creation Question
April 08, 2011, 04:24:19 pm
I'm new to CiviCRM and so the answer to this may be very obvious but after reading the guides I can't really understand how to solve my problem. I have a Joomla website for my organisation and I'm trying to use CiviCRM to store details about all our members which we can then use for creating login accounts for the website which match our active membership (ie: ex-members have their Joomla accounts deactivated) and creating mailing lists.

I want to create a custom profile for entering information for new members - name, address, phone, email, payment details, membership type and member number. I also want to allow members who have logged into the site to be able to view and modify their contact details (but not membership type etc), though they should be able to view their membership type and number. If I create a profile with all the required fields then I run up against the problem that mixed field types are not allowed. How can I get round this?

All advice much appreciated.

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: Basic Profile Creation Question
April 09, 2011, 07:43:12 am

you will need to expose membership type and details via a hook and customized templates or via crmAPI or maybe even via jQuery (though this might run into permissioning issues)

U'll need to be familiar with php/crm api etc.

Check:

http://en.flossmanuals.net/civicrm/ch062_introduction

if you do this please share your code / learnings so others can benefit

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

TimBonnici

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 3.3.6
  • CMS version: Joomla 1.5
  • MySQL version: 5.0.67-0
  • PHP version: 5.2.17
Re: Basic Profile Creation Question
April 09, 2011, 01:02:08 pm
Thanks for your answer, Donald. Sadly as I'm not a programmer by background it would probably take me quite a while to achieve what I want via the route you suggested. So, I just cheated and created a whole bunch of custom fields which are essentially duplicates of the default CiviCRM Membership fields. However, when I created them I gave them the type of "individual" rather than "membership". That works fine. I just wanted to check, before going ahead, whether there might be a "proper" way to achieve what I'm trying to do which doesn't involve programming.

Tim

PS: From my brief reading about hooks it looks like it might be quite easy to auto-fill the CiviCRM membership fields based on my custom ones, though at this stage I can't quite see the advantage of doing that, at least for what I'm trying to do.

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Basic Profile Creation Question
April 09, 2011, 03:15:53 pm
So if you are just using your new Contact based fields then you are by passing civimember and therefore won't get renewal process or membership status updates happening (ie people moving from Grace to Expired etc) HTH
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Basic Profile Creation Question

This forum was archived on 2017-11-26.