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) »
  • WordPress edit contact via profile
Pages: [1]

Author Topic: WordPress edit contact via profile  (Read 426 times)

vakeesan26

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.3,4.4,4.5
  • CMS version: Drupal 7.x
  • MySQL version: 5.6.1
  • PHP version: 5.4.12
WordPress edit contact via profile
February 19, 2015, 01:10:18 am
I have created a profile for organisation in word press and drupal
when I access profile edit with an organisation id, in drupal its working as expected but in word press it is redirected to home page

http://<site root>/civicrm/profile/edit?gid=N&id={organisation_contact_id}&reset=1    working

http://<site root>/?page=CiviCRM&q=civicrm/profile/edit&gid=N&id={organisation_contact_id}&reset=1 redirected to home page

any help please ?
« Last Edit: February 21, 2015, 03:11:15 pm by vakeesan26 »

haystack

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 2
  • CiviCRM version: 4.n
  • CMS version: WordPress 4.n
  • MySQL version: 5.n
  • PHP version: 5.n
Re: WordPress edit contact via profile
February 25, 2015, 08:24:41 am
Quote from: vakeesan26 on February 19, 2015, 01:10:18 am
http://<site root>/?page=CiviCRM&q=civicrm/profile/edit&gid=N&id={organisation_contact_id}&reset=1

If you want Civi to point elsewhere by default, then create a page in WordPress and set "WordPress Base Page" in Administer -> System Settings -> CMS Database Integration to the page's slug.

vakeesan26

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.3,4.4,4.5
  • CMS version: Drupal 7.x
  • MySQL version: 5.6.1
  • PHP version: 5.4.12
Re: WordPress edit contact via profile
February 25, 2015, 08:44:16 am
hi

the thing is I am unable to edit that contact {organisation_contact_id} data using profile edit in word press.
in Drupal I am able to edit
in both site I am logged-in as administrator

haystack

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 2
  • CiviCRM version: 4.n
  • CMS version: WordPress 4.n
  • MySQL version: 5.n
  • PHP version: 5.n
Re: WordPress edit contact via profile
February 25, 2015, 08:46:33 am
Did you try my suggestion? I assume your homepage isn't showing the profile because (like many home pages) it doesn't have the function 'the_content()' in it.

vakeesan26

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.3,4.4,4.5
  • CMS version: Drupal 7.x
  • MySQL version: 5.6.1
  • PHP version: 5.4.12
Re: WordPress edit contact via profile
February 25, 2015, 09:28:46 am
thank you,but now I got the message "You do not have permission to edit this contact record. Contact the site administrator if you need assistance"
but I am logged-in as administrator

sorry I am new for the WordPress

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • WordPress edit contact via profile

This forum was archived on 2017-11-26.