Roundcube Community Forum

 

Add Link based on cid - contact list (more Options)

Started by chichi, December 01, 2010, 08:17:00 AM

Previous topic - Next topic

chichi

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:
//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: //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.

SKaero

Try creating a plugin to pass the link to the show contact page.


chichi

I am new to this and dont know yet how plugins are structured.