Author Topic: Add Link based on cid - contact list (more Options)  (Read 4112 times)

Offline chichi

  • Jr. Member
  • **
  • Posts: 33
Add Link based on cid - contact list (more Options)
« on: December 01, 2010, 08:17:00 AM »
Hello, I have an existing contact-list-database. I connected it with the roundcube contact list. In roundcube I can show all my contacts and edit them. Now I want to add an link to an extern program for showing id-based images (portraits). Therefore I want to use the cid=224 (primary key) of the Link. The Link should be placed on top of showcontact.html.

show the contact in Roundcube:
http://www.***.com/roundcube/?_task=addressbook&_action=show&_source=0&_cid=224&_framed=1

New: placing a link on top:
On the top of the contact infos I want to add now an Link to an external php-program: http://www.***.com/myapp/showimage.php?cid=224

I found out how to place an Link in the Template "showcontact.html" but I cant add a dynamic ID to the Link.

I need some help on this.
« Last Edit: December 01, 2010, 08:22:34 AM by chichi »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Add Link based on cid - contact list (more Options)
« Reply #1 on: December 02, 2010, 10:39:59 AM »
Try creating a plugin to pass the link to the show contact page.

betip

  • Guest
Add Link based on cid - contact list (more Options)
« Reply #2 on: December 03, 2010, 01:11:38 AM »
thank you post

Offline chichi

  • Jr. Member
  • **
  • Posts: 33
Add Link based on cid - contact list (more Options)
« Reply #3 on: December 03, 2010, 08:22:11 AM »
I am new to this and dont know yet how plugins are structured.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development