# Render a PHP menu in rails template

**URL:** <https://www.ruby-forum.com/t/render-a-php-menu-in-rails-template/157851>\
**Category:** Rails\
**Created:** [January 16, 2009, 12:44am UTC](https://www.ruby-forum.com/t/render-a-php-menu-in-rails-template/157851 "2009-01-16T00:44:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/9f8e36/32.png) [@kim](https://www.ruby-forum.com/u/kim)\
**Post date:** [January 16, 2009, 12:44am UTC](https://www.ruby-forum.com/t/render-a-php-menu-in-rails-template/157851/1 "2009-01-16T00:44:01Z")

</div>

I need to integrate some RoR generated pages into a Drupal website. My  
idea is to re-use the PHP files that make up the layout of the Drupal  
site in the Rails template files. So instead of rendering the menu in  
a partial, I want it to use the menu PHP file. I want to do this so  
changes to the menu only needs to happen in one spot. Any ideas?

Thanks in advance,  
K
