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) »
  • Custom Profile - Restrict Profile Listings / Disable "Back to Listings"
Pages: [1]

Author Topic: Custom Profile - Restrict Profile Listings / Disable "Back to Listings"  (Read 1561 times)

messy

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.05
  • CMS version: Drupal 7.7
  • MySQL version: 5.0.5
  • PHP version: 5.3.5
Custom Profile - Restrict Profile Listings / Disable "Back to Listings"
January 14, 2011, 10:49:13 am
Greetings,

I have created a custom profile for subscribers to edit their contact information and emailing preferences, which we include in a link in the bottom of all of our mailings:

http://<site root>/civicrm/profile/edit?reset=1&gid=N&id={contact.contact_id}&{contact.checksum}

It works beautifully, however, upon updating and saving their contact information, subscribers who click "Back to Listings" are presented with a listing of every contact in the database. I was under the impression that supplying the checksum would restrict access to a specific contact, but apparently that is not so.

Is there any way that I can craft a profile that does not allow "Back to Listings" functionality, or restricts it to the contact identified by the checksum?

Many thanks in advance.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Custom Profile - Restrict Profile Listings / Disable "Back to Listings"
January 14, 2011, 10:53:30 am
Quote
Is there any way that I can craft a profile that does not allow "Back to Listings" functionality, or restricts it to the contact identified by the checksum?

For now I would recommend using custom template feature and remove Back to Listing link.
http://wiki.civicrm.org/confluence/display/CRMDOC33/Customize+Built-in,+Profile,+Contribution+and+Event+Registration+Screens


HTh
Kurund
Found this reply helpful? Support 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: Custom Profile - Restrict Profile Listings / Disable "Back to Listings"
January 14, 2011, 11:18:41 am

also disable the permission:

profile listings and search

for auth users. (assuming this is drupal)

the auth user just needs: profile create/edit/view permissions

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 Profiles (Moderator: Dave Greenberg) »
  • Custom Profile - Restrict Profile Listings / Disable "Back to Listings"

This forum was archived on 2017-11-26.