Displaying 8 results from an estimated 8 matches for "contact_typ".
Did you mean:
contact_type
2010 Jun 08
9
[Rails Heroku] Problem with saving object (on heroku hosting)
...es_presence_of :name
validates_uniqueness_of :name
end
migration:
create_table :contacts, :force => true do |t|
t.integer :user_id
t.integer :type_id
t.string :name
t.string :number
t.timestamps
end
add_index :contacts, :user_id
create_table :contact_types, :force => true do |t|
t.string :name
t.timestamps
end
end
And a simple form:
<% form_for(@contact) do |f| %>
<%= f.error_messages %>
<p>
<%= f.label :name %>
<%= f.text_field :name %>
</p>
<p>
<%= f.label...
2011 Oct 19
4
Using SQL "IN" with RJDBC or RMySQL
...home/davideps/Software/extlibs/mysql-connector-java-5.0.7-bin.jar",identifier.quote="`")
conn <- dbConnect(drv, "jdbc:mysql://localhost/civicrm",
"userid","pass")
org_table=dbGetQuery(conn,"SELECT id,organization_name FROM
civicrm_contact WHERE contact_type=?","organization")
dbGetQuery(conn,"SELECT id from civicrm_relationship WHERE contact_id_a
IN ? AND contact_id_b IN ?",org_table$id,org_table$id)
2007 Mar 01
0
Reshape data
...quot;,"Jul.04","Aug.04","Sep.04",
"Oct.04")),direction = "long")
The second dataset contains the variables
es(Ccalls)
[1] "TERRITORY" "REGION" "ACTIVITY_TYPE"
[4] "CONTACT_TYPE" "TARGETED_FLG" "CONTACT_GRADE"
[7] "CONTACT_PR_SPECIALITY" "UBM" "DEC02"
[10] "JAN03" "FEB03" "MAR03"
[...
2008 Jun 06
2
joining tables
Hi
I have 3 tables as
1) user_groups
id | contact_id | group_id | group_user_type_id
2) contact
id | name_first | name_last |
3)contact_email_addresses
contact_id | contact_email_address_type_id | emailaddress
Now I have group_id sa for example 68
What I want is from contact_email_addresses table get all the
emailaddress with contact_email_address_type_id=2 for the contacts
2006 Jun 26
2
n-way has_mant :through
...setup separate join tables for each association
(people_physical_addresses, people_phone_numbers, etc), or should I
have a ''contacts'' (for lack of a better name at the moment) table with
several columns for person_id, physical_address_id, phone_number_id,
email_address_id, & contact_type. Or should I do something else entirely?
Thanks!
2012 Dec 26
0
Presence Registration on the D40
...play. Is it possible to enable this
functionality without it? Is this status information only available on
higher-end Digium phones?
In the contacts XML data, I am supplying the appropriate parameters:
<contact first_name="John" last_name="Doe" organization="Acme" contact_type
="sip" account_id="123" subscribe_to="123">
but I am not seeing the icons shown in the video at all. On the Asterisk
CLI, I can run:
etc*CLI> core show hint 2003
2003 at default : SIP/charrington_desk
State:Idle Watche...
2006 Jul 27
1
response from ajax request
...name %>
<%= make_new_line user.children %>
</td>
<td><pre><%= user.address %></pre></td>
<td>
<% user.contacts.each do |contact| %>
<%=contact.description %>:
<% case contact.contact_type
when CONTACT_PHONE %>
<%= fmt_phone contact.phone %>
<% when CONTACT_EMAIL %>
<%= mail_to contact.email %>
<% end %>
<br />
<% end %>
</td>
<% if @user_is_admin %>...
2006 Jun 23
3
form_remote_tag is not passing form params
I''ve searched and searched and searched again, and I cannot find any
help with this problem. There''s an identical problem on this forum, but
it was never resolved. I''ll try to re-open the subject with a bit more
information.
Problem: The form_remote_tag() method in my "list" view is not passing
the params[] hash of the values stored within my form.