Hi,

I have a third-party application which i intend to integrate into the Drupal. I want to put a link at the navigation menu, then when user click on it, the third-party application's main page will be display in the content area, as if it's a drupal module.
Please give some guides on how to achieve it.

Thanks.

- julius

Comments

julius3419’s picture

I'm still stucked with this.
What i could think of the moment is to hard-code the URL at the menu link area. But how to display the third-party content in the Content area? My third-party application is the Java-based application.

Any help would be much appreciated. Thanks.

vm’s picture

have you tried calling your java into a page content type ? using the php input format ?

julius3419’s picture

Hi VeryMisunderstood,

I'm newbie to PHP and Drupal.
I followed your suggestion to create a new content type. Then use php evaluator input format.
My Java application is hosted in the same server, but in tomcat. Therefore, i intend to use the URL to include the Java page in the content area.
I tried to use include and header. The header forward it to my page, which is not what i want. I guess include only works with directory.

<?php
#include ('http://hostname:8080/index.jsp'); 
?>

Any hint on what php syntax to use? thanks.

Thanks.

- julius

shija03’s picture

Here is a link that may answer your question (http://drupal.org/node/40756). If your application genereates XML, you may be able to just use XML and XSL to render new content into Drupal - that usually works for apps that are only content and not rich Web Apps (Helpdesk, CRMs,...)