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) »
  • Delete Primary Location Block in New Contact Page
Pages: [1]

Author Topic: Delete Primary Location Block in New Contact Page  (Read 1388 times)

figover

  • Guest
Delete Primary Location Block in New Contact Page
November 02, 2008, 10:56:11 pm
I want to delete Primary Location Block in New Contact Page.

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Delete Primary Location Block in New Contact Page
November 03, 2008, 05:38:03 am
So you don't want to track mailing addresses in Civi? That's kind of the whole point, isn't it?
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

figover

  • Guest
Re: Delete Primary Location Block in New Contact Page
November 03, 2008, 08:40:26 pm
Actually i am using Custom Fields.
I want to delete the Default Block of Primary Location.

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Delete Primary Location Block in New Contact Page
November 03, 2008, 09:10:21 pm
Use template overrides to modify the appropriate view and edit templates:

CRM/Contact/Page/View/Basic.tpl
CRM/Contact/Form/Edit.tpl

Look for the "location block" in each. I think if you actually delete the blocks from template, it will break the script. I would just wrap them in a div with a style display:none to hide them.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Delete Primary Location Block in New Contact Page

This forum was archived on 2017-11-26.