CiviCRM Forums
News
:
You can learn more about CiviCRM from our new free book:
Understanding CiviCRM
. Also Check the
CiviCRM Blog
for updated information on
CiviCRM
Home
Help
Search
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
September 02, 2010, 08:49:31 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
CiviCRM Forums
>
CiviCRM Community
>
Developer Discussion
>
APIs and Hooks
(Moderator:
Donald Lobo
) >
Add button on custom data tab with contact?
Pages: [
1
]
« previous
next »
Print
Author
Topic: Add button on custom data tab with contact? (Read 310 times)
Erik Hommel
I post frequently
Karma: 21
Offline
CiviCRM: 3.2.alpha5
CMS: Drupal-6.16
MySQL: 5.1.30
PHP: 5.2.8
Posts: 277
Add button on custom data tab with contact?
«
on:
March 11, 2010, 03:54:28 am »
Hi all,
a little help to get me on my way. I have added a custom data group, which show up as a tab on my contact summary. Fine! Now I want to add a button or link to the specific tab so I can jump to an external URL. I have tried to establish this with the civicrm_links hook, but that adds a link to the main summary page, and I can not yet get my head around the structure that is used to build up the tabs.
I thought I could use the civicrm_tabs hook, but that does not seem to do the required stuff either?
Can you give me a little push?
Logged
Erik Hommel (EE-atWork,
http://www.ee-atwork.nl
)
Erik Hommel
I post frequently
Karma: 21
Offline
CiviCRM: 3.2.alpha5
CMS: Drupal-6.16
MySQL: 5.1.30
PHP: 5.2.8
Posts: 277
Re: Add button on custom data tab with contact?
«
Reply #1 on:
March 11, 2010, 04:25:27 am »
Managed to get there in the end, using the civicrm_tabs hook......!!! can I now applaud for myself
Logged
Erik Hommel (EE-atWork,
http://www.ee-atwork.nl
)
xavier
Forum Godess / God
I live on this forum
Karma: 58
Offline
Posts: 1272
Re: Add button on custom data tab with contact?
«
Reply #2 on:
March 11, 2010, 05:27:56 am »
You could also have modified the template...
X+
Logged
Erik Hommel
I post frequently
Karma: 21
Offline
CiviCRM: 3.2.alpha5
CMS: Drupal-6.16
MySQL: 5.1.30
PHP: 5.2.8
Posts: 277
Re: Add button on custom data tab with contact?
«
Reply #3 on:
March 11, 2010, 05:42:38 am »
I know.....but I probably want to do much more once I understand the engine. So I thought I'll give it a try in this way. Once you show me stuff in Brussels I want to use it
Logged
Erik Hommel (EE-atWork,
http://www.ee-atwork.nl
)
Erik Hommel
I post frequently
Karma: 21
Offline
CiviCRM: 3.2.alpha5
CMS: Drupal-6.16
MySQL: 5.1.30
PHP: 5.2.8
Posts: 277
Re: Add button on custom data tab with contact?
«
Reply #4 on:
March 11, 2010, 06:27:54 am »
And also....I have a hard time finding the right template
Logged
Erik Hommel (EE-atWork,
http://www.ee-atwork.nl
)
xavier
Forum Godess / God
I live on this forum
Karma: 58
Offline
Posts: 1272
Re: Add button on custom data tab with contact?
«
Reply #5 on:
March 11, 2010, 06:59:12 am »
The usual trick: view source and search for ".tpl"
For an ajaxified bit, open firebug, you'll see what "page" it opens. You have the option to open it in a new tab, so you can do the view source.
X+
Logged
Erik Hommel
I post frequently
Karma: 21
Offline
CiviCRM: 3.2.alpha5
CMS: Drupal-6.16
MySQL: 5.1.30
PHP: 5.2.8
Posts: 277
Re: Add button on custom data tab with contact?
«
Reply #6 on:
March 11, 2010, 09:18:00 am »
Thanks Xavier, I was aware of the tpl-trick, but that did not help me in the case of the Contact Summary, and then getting to one of the tabs. I'll have a go with firebug!
Logged
Erik Hommel (EE-atWork,
http://www.ee-atwork.nl
)
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
News and Announcements
-----------------------------
=> News and Announcements
-----------------------------
Support
-----------------------------
=> Pre-installation Questions
=> Installing CiviCRM
===> Drupal Installations
===> Joomla! Installations
===> Standalone Installations
===> CiviMail installation and configuration
===> Windows and IIS installations
=> Upgrading CiviCRM
=> Using CiviCRM
===> Post-installation Setup and Configuration
===> Using Core CiviCRM Functions
===> Using Profiles
===> Using Import
===> Using CiviCase
===> Using CiviContribute
=====> Community Contributed Payment Processors
===> Using CiviEvent
===> Using CiviMail
=====> Using CiviSMTP
=====> Using IMAP2SOAP
===> Using CiviMember
===> Using CiviReport
===> Using Drupal Modules
=====> Using CiviSchool
===> Using Joomla Extensions
===> Using Multi-Site functionality
=> Documentation and Book
=> Internationalization and Localization
=> Feature Requests and Suggestions
===> Usability Improvements
===> Community Sponsored Improvements
===> CiviContribute Suggestions
===> CiviEvent Suggestions
=> Alpha and Beta Release Testing
===> 3.2 Release Testing
===> 3.1 Release Testing
===> 3.0 Release Testing
===> 2.2 Release Testing
===> 2.1 Release Testing
===> 2.0 Alphas and Betas
-----------------------------
CiviCRM Community
-----------------------------
=> General Discussion (please no support requests here!)
===> CiviCRM Hosting Providers
===> Civic engagement tools
=> CiviCRM Showcase
=> UK Users Group
=> Developer Discussion
===> APIs and Hooks
===> Scalability
===> Unit Testing
===> Code Sprints
=> Professional CiviCRM Services
=> CiviCRM Jobs
=> Mozilla Service Week proposals
===> Quick Assists
===> Project Consulting
Loading...