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) »
  • Profile customization questions
Pages: [1]

Author Topic: Profile customization questions  (Read 1282 times)

phalseid

  • Guest
Profile customization questions
July 19, 2007, 02:20:18 pm
I have a similar question (or two)  1) i can seem to figure out how to set up a profile so that it has a unique URL...say i want  client1 to log in and see profile X, and i want client2 to login and see profile Y.  i assume this is 2 different URLs, but how?  2) can I add a custom field that is a URL?

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: Profile customization questions
July 19, 2007, 02:54:36 pm

In future please create a new topic rather than adding on to an existing question (i did this)

With regard to your query:

1. The profile url's can be distinguished by their gid parameter. Thus profile 1 will have gid=1, and profile 3 will have gid=3

2. You might need to code a small drupal module to expose different civicrm urls to different users based on your logic. We have done this in the past quite successfully. For an example check:

http://fisheye.civicrm.org/browse/Quest/trunk/modules/quest_locker.module?r=772

(the above module does a lot more than what u want, but gives u some idea on how to do it etc)

3. not sure what u mean by "can I add a custom field that is a URL?"

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

phalseid

  • Guest
Re: Profile customization questions
July 20, 2007, 08:03:02 am
Thanks for your answer. what i mean by add URL, when i add a custom field, the choices are all interger, text, etc. If I want to be ad a URL or Link, how would I do that.

Peder

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: Profile customization questions
July 20, 2007, 11:53:32 am

There is a choice for a data type of 'Link' which is a URL

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Profile customization questions

This forum was archived on 2017-11-26.