Realmac Software

Welcome to the RapidWeaver Community Forums, where you can chat with RapidWeaver users from around the world!

PHP Include

David DelMonteDavid DelMonte Washington DC and Skopelos, Greece.Posts: 349Members
edited 3:55AM in Feature Requests
Forgive me if this has already been covered. It would be great to have the ability in a RW page to include a non RW piece of code. For example, I'm developing a PHP-based web app, and I like the development process in CODA. However, I really like the page typing/menuing/styling in RW.

I need to find a way to integrate, so once I can refer to my code base, without having to copy and paste from a php file into a RW/HTML page.

Thanks

David
<a href="http://www.bluehost.com/track/eclecktk5">I really enjoy using Bluehost,</a> and they will give me money if you sign up through this link!

Comments

  • MarketingGuyMarketingGuy Atlanta, Georgia - USAPosts: 184Members
    edited 3:55AM
    on 1285425242:
    I need to find a way to integrate, so once I can refer to my code base, without having to copy and paste from a php file into a RW/HTML page.

    Hi David -

    Easy to do...assuming you are using hosting that supports php.

    1. Set the page type to ".php"

    2. Paste this code in your page where you want to insert the php code
    &lt;?php include 'filename'; ?&gt;
    

    If you're doing this on a styled text page...highlight and select Format/Ignore Formatting.

    On a Stacks page, just use an HTML stack and you're good to go.
    ~ Richard

    Not even close to RW Expert...but peeling the onion

    Principal Marketing Evangelist
    TouchPoint Marketing Solutions, Inc.

    Have you walked around your brand lately?
  • David DelMonteDavid DelMonte Washington DC and Skopelos, Greece.Posts: 349Members
    edited 3:55AM
    THANK YOU.. I will try this asap.. This would be huge!
    <a href="http://www.bluehost.com/track/eclecktk5">I really enjoy using Bluehost,</a> and they will give me money if you sign up through this link!
  • David DelMonteDavid DelMonte Washington DC and Skopelos, Greece.Posts: 349Members
    edited 3:55AM
    That is brilliant. I should have realized how to do this, given some of the php plug-ins, but I really appreciate the tip..

    Many thanks.

    David
    <a href="http://www.bluehost.com/track/eclecktk5">I really enjoy using Bluehost,</a> and they will give me money if you sign up through this link!
Sign In or Register to comment.