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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • How to show campaigns which only owns to the contact created it
Pages: [1]

Author Topic: How to show campaigns which only owns to the contact created it  (Read 535 times)

rogical

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 1
  • CiviCRM version: 4.2
  • CMS version: Drupal
  • MySQL version: 5.1
  • PHP version: 5.3
How to show campaigns which only owns to the contact created it
November 16, 2012, 10:22:56 pm
I want the campaign dasboard only shows campaings which belongs to the current contact created.

How can I find a way or hack somewhere in the codes? Thanks.

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: How to show campaigns which only owns to the contact created it
November 17, 2012, 07:33:06 am

civi has not really been designed / developed from a "contact creates and views only stuff they created"

as such, i suspect you are going down a path that will make upgrades a lot harder. Might want to re-think your approach and/or choose something that better meets your needs

You might also want to read the developer book: http://book.civicrm.org/developer/ which shows you how/what pages deal with a url

lono
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

rogical

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 1
  • CiviCRM version: 4.2
  • CMS version: Drupal
  • MySQL version: 5.1
  • PHP version: 5.3
Re: How to show campaigns which only owns to the contact created it
November 18, 2012, 05:23:50 am
Yes, But our clients need a self-owned multi users crm,  contacts needs self owned, I've made that, with some hack.

The campaign also has an created_id, so we can filter campaigns for self owned, just haven't found the place.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • How to show campaigns which only owns to the contact created it

This forum was archived on 2017-11-26.