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 CiviEvent (Moderator: Yashodha Chaku) »
  • CiviCRM Events: Text Link (Not linking)
Pages: [1]

Author Topic: CiviCRM Events: Text Link (Not linking)  (Read 662 times)

strayhand

  • Guest
CiviCRM Events: Text Link (Not linking)
August 07, 2010, 01:23:33 pm
I'm trying to create a drupal view the lists all of the events from the civicrm database. So far I'm having no trouble listing the events but I'm unble to get the "CiviCRM Events: Text Link" field to work properly. It shows the label but it doesn't provide the link. I'd really like to be able to provide a link to the event page, and the current participants. The wizard for this field seems to have both of those options, but the view output isn't working. Any insight that you have would be greatly appreciated.

Here are a few other details:

Acquia: Latest (Drupal 6.17)
Civicrm: Latest (3.2.0)
I have a separate DB for Drupal and Civicrm

This is what my settings file looks like for the db prefix. I'm showing you this because when I initially tried to use views it threw some errors. Adding these seemed to fix things but I'm not entirely sure that they're working properly.

settings.php

$db_prefix = array(
  'civicrm_acl'                              => 'civicrm.',
  'civicrm_acl_cache'                        => 'civicrm.',
  'civicrm_acl_contact_cache'                => 'civicrm.',
  'civicrm_acl_entity_role'                  => 'civicrm.',
  'civicrm_activity'                         => 'civicrm.',
  'civicrm_activity_assignment'              => 'civicrm.',
  'civicrm_activity_target'                  => 'civicrm.',
  'civicrm_address'                          => 'civicrm.',
  'civicrm_address_format'                   => 'civicrm.',
  'civicrm_cache'                            => 'civicrm.',
  'civicrm_case'                             => 'civicrm.',
  'civicrm_case_activity'                    => 'civicrm.',
  'civicrm_case_contact'                     => 'civicrm.',
  'civicrm_component'                        => 'civicrm.',
  'civicrm_contact'                          => 'civicrm.',
  'civicrm_contact_type'                     => 'civicrm.',
  'civicrm_contribution'                     => 'civicrm.',
  'civicrm_contribution_page'                => 'civicrm.',
  'civicrm_contribution_product'             => 'civicrm.',
  'civicrm_contribution_recur'               => 'civicrm.',
  'civicrm_contribution_soft'                => 'civicrm.',
  'civicrm_contribution_type'                => 'civicrm.',
  'civicrm_contribution_widget'              => 'civicrm.',
  'civicrm_country'                          => 'civicrm.',
  'civicrm_county'                           => 'civicrm.',
  'civicrm_currency'                         => 'civicrm.',
  'civicrm_custom_field'                     => 'civicrm.',
  'civicrm_custom_group'                     => 'civicrm.',
  'civicrm_dashboard'                        => 'civicrm.',
  'civicrm_dashboard_contact'                => 'civicrm.',
  'civicrm_dedupe_rule'                      => 'civicrm.',
  'civicrm_dedupe_rule_group'                => 'civicrm.',
  'civicrm_discount'                         => 'civicrm.',
  'civicrm_domain'                           => 'civicrm.',
  'civicrm_email'                            => 'civicrm.',
  'civicrm_entity_file'                      => 'civicrm.',
  'civicrm_entity_financial_trxn'            => 'civicrm.',
  'civicrm_entity_tag'                       => 'civicrm.',
  'civicrm_event'                            => 'civicrm.',
  'civicrm_file'                             => 'civicrm.',
  'civicrm_financial_account'                => 'civicrm.',
  'civicrm_financial_trxn'                   => 'civicrm.',
  'civicrm_grant'                            => 'civicrm.',
  'civicrm_group'                            => 'civicrm.',
  'civicrm_group_contact'                    => 'civicrm.',
  'civicrm_group_contact_cache'              => 'civicrm.',
  'civicrm_group_nesting'                    => 'civicrm.',
  'civicrm_group_organization'               => 'civicrm.',
  'civicrm_im'                               => 'civicrm.',
  'civicrm_import_job_3571a8b1583d6054b6484ae4cb39f340' => 'civicrm.',
  'civicrm_line_item'                        => 'civicrm.',
  'civicrm_loc_block'                        => 'civicrm.',
  'civicrm_location_type'                    => 'civicrm.',
  'civicrm_log'                              => 'civicrm.',
  'civicrm_mail_settings'                    => 'civicrm.',
  'civicrm_mailing'                          => 'civicrm.',
  'civicrm_mailing_bounce_pattern'           => 'civicrm.',
  'civicrm_mailing_bounce_type'              => 'civicrm.',
  'civicrm_mailing_component'                => 'civicrm.',
  'civicrm_mailing_event_bounce'             => 'civicrm.',
  'civicrm_mailing_event_confirm'            => 'civicrm.',
  'civicrm_mailing_event_delivered'          => 'civicrm.',
  'civicrm_mailing_event_forward'            => 'civicrm.',
  'civicrm_mailing_event_opened'             => 'civicrm.',
  'civicrm_mailing_event_queue'              => 'civicrm.',
  'civicrm_mailing_event_reply'              => 'civicrm.',
  'civicrm_mailing_event_subscribe'          => 'civicrm.',
  'civicrm_mailing_event_trackable_url_open' => 'civicrm.',
  'civicrm_mailing_event_unsubscribe'        => 'civicrm.',
  'civicrm_mailing_group'                    => 'civicrm.',
  'civicrm_mailing_job'                      => 'civicrm.',
  'civicrm_mailing_spool'                    => 'civicrm.',
  'civicrm_mailing_trackable_url'            => 'civicrm.',
  'civicrm_mapping'                          => 'civicrm.',
  'civicrm_mapping_field'                    => 'civicrm.',
  'civicrm_membership'                       => 'civicrm.',
  'civicrm_membership_block'                 => 'civicrm.',
  'civicrm_membership_log'                   => 'civicrm.',
  'civicrm_membership_payment'               => 'civicrm.',
  'civicrm_membership_status'                => 'civicrm.',
  'civicrm_membership_type'                  => 'civicrm.',
  'civicrm_menu'                             => 'civicrm.',
  'civicrm_msg_template'                     => 'civicrm.',
  'civicrm_navigation'                       => 'civicrm.',
  'civicrm_note'                             => 'civicrm.',
  'civicrm_openid'                           => 'civicrm.',
  'civicrm_openid_associations'              => 'civicrm.',
  'civicrm_openid_nonces'                    => 'civicrm.',
  'civicrm_option_group'                     => 'civicrm.',
  'civicrm_option_value'                     => 'civicrm.',
  'civicrm_participant'                      => 'civicrm.',
  'civicrm_participant_payment'              => 'civicrm.',
  'civicrm_participant_status_type'          => 'civicrm.',
  'civicrm_payment_processor'                => 'civicrm.',
  'civicrm_payment_processor_type'           => 'civicrm.',
  'civicrm_pcp'                              => 'civicrm.',
  'civicrm_pcp_block'                        => 'civicrm.',
  'civicrm_phone'                            => 'civicrm.',
  'civicrm_pledge'                           => 'civicrm.',
  'civicrm_pledge_block'                     => 'civicrm.',
  'civicrm_pledge_payment'                   => 'civicrm.',
  'civicrm_preferences'                      => 'civicrm.',
  'civicrm_preferences_date'                 => 'civicrm.',
  'civicrm_premiums'                         => 'civicrm.',
  'civicrm_premiums_product'                 => 'civicrm.',
  'civicrm_price_field'                      => 'civicrm.',
  'civicrm_price_set'                        => 'civicrm.',
  'civicrm_price_set_entity'                 => 'civicrm.',
  'civicrm_product'                          => 'civicrm.',
  'civicrm_project'                          => 'civicrm.',
  'civicrm_relationship'                     => 'civicrm.',
  'civicrm_relationship_type'                => 'civicrm.',
  'civicrm_report_instance'                  => 'civicrm.',
  'civicrm_saved_search'                     => 'civicrm.',
  'civicrm_state_province'                   => 'civicrm.',
  'civicrm_subscription_history'             => 'civicrm.',
  'civicrm_tag'                              => 'civicrm.',
  'civicrm_task'                             => 'civicrm.',
  'civicrm_task_status'                      => 'civicrm.',
  'civicrm_tell_friend'                      => 'civicrm.',
  'civicrm_timezone'                         => 'civicrm.',
  'civicrm_uf_field'                         => 'civicrm.',
  'civicrm_uf_group'                         => 'civicrm.',
  'civicrm_uf_join'                          => 'civicrm.',
  'civicrm_uf_match'                         => 'civicrm.',
  'civicrm_value_constituent_information_1'  => 'civicrm.',
  'civicrm_value_donor_information_3'        => 'civicrm.',
  'civicrm_value_food_preference_2'          => 'civicrm.',
  'civicrm_value_pipeline_test_5'            => 'civicrm.',
  'civicrm_value_site_information_4'         => 'civicrm.',
  'civicrm_website'                          => 'civicrm.',
  'civicrm_worldregion'                      => '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: CiviCRM Events: Text Link (Not linking)
August 07, 2010, 08:01:15 pm

if i had to guess, there is a bug in the civicrm <-> views integration and hence the text link is not shown as such

your best bet would be to investigate the code (drupal/modules/views/civicrm.views.inc,
search for: ['civicrm_event']['text_link']) and figure out whats happening and why

if you are not a php/civi/drupal/views programmer your best bet would be to hire someone from http://civicrm.org/professional/

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 CiviEvent (Moderator: Yashodha Chaku) »
  • CiviCRM Events: Text Link (Not linking)

This forum was archived on 2017-11-26.