Integrate/Expose Drupal HTML generated content with other php apps

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Integrate/Expose Drupal HTML generated content with other php apps - Presentation Transcript

    1. Christopher Calip
      Whoast (recently acquired by Straight North straightnorth.com)
      Thanks To:Matt Butcher of palantir.netDave Ross of csixty4.comTodd Wolaver at todd.be
    2. The idea is to expose Drupal's commonly generated html output to other php application's template. So it's possible that your users coming from your drupal app going to your other php applications like (magento, sugarcrm, digishop..)will see the similar menus, etc..Specific Abilities and Limitations.This workaround will only exposed :1. Node 2. View3. Region4. Menu
    3. Requirement's to make this Possible1. You dont have to hack Drupal Core and kill kittens! But you do have to update commonly edited.htaccess and settings.php
      2. Install the custom page modulehttp://drupal.org/project/custompage
      3. Make use of the functions available in custompage to output your desired Drupal HTML.http://drupal.org/node/286219
      4. Inside the (other) 3rd party PHP application's template file, do a Drupal Full Bootstrap and callthe custompage helper function to retrieve Drupal HTML
    4. Benefits of this approach.1. To the best of my knowledge (with one exemption) this makes it possible to expose DrupalHTML Generated content to other php application.
      2. The exemption being using the Services module but using this approach is freaking time consumingand too many customizations involved.
    5. Caveat Emptor1. if the location of the third part application script is different from Drupal's index.php then youneed to change the working directory and base url to Drupal's. The code available for this work-aroundis still manually based :( I need help to figure out to make this a plug and play script.
      2. This workaround is make's use of Drupal Full Bootstrap, still need to figure out how to minimize resource call to put this workaround to play.
    6. Project Available at :http://code.google.com/p/drupal-intergration-with-other-php-apps/
    SlideShare Zeitgeist 2009

    + chriscalipchriscalip Nominate

    custom

    270 views, 0 favs, 0 embeds more stats



    The idea is to expose Drupal's commonly generat more

    More info about this document

    CC Attribution-ShareAlike LicenseCC Attribution-ShareAlike License

    Go to text version

    • Total Views 270
      • 270 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 4
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories