Announcement

Collapse
No announcement yet.

PHP include in perl scripts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    PHP include in perl scripts

    Hi

    We're developing a new site (if you're interested, the test URL is http://inkware.hazelhost.co.uk ) that is using a PHP include in the templates.

    By setting all of the Actinic page names with a .htm extension (as opposed to .html) and configuring the server to parse .htm as a PHP file, we are able to include a PHP menu in all of the pages.

    However, this method falls down when it comes to the checkout or cart pages as these are, of course, perl generated. When going to the cart or checkout pages we get an "object expected" error at the point where the page should be including the php menu file.

    This is a bummer as we may have to rethink the site design if we can't get the perl scripts to include the php menu.

    Are there any gurus out there with some clever ideas?


    Many thanks

    Nick
    Hazelnet Web Solutions
    www.hazelnet.co.uk
    Actinic & Worldpay Partners
    Specialising in ecommerce and
    online promotion.

    Workwear and Promotional Clothing
    www.workwearhouse.co.uk
    Logo Your Polo!

    #2
    There was a similar question asked a little while ago here: http://community.actinic.com/showthr...highlight=PHP.

    That may give you a couple of pointers.

    Comment


      #3
      Hi Chris

      Thanks for your reply. The post you mentioned confirmed what I thought - we can't do it. - so we'll have to put the menu into the template for the checkout rather than using a php include.

      Regards

      Nick
      Hazelnet Web Solutions
      www.hazelnet.co.uk
      Actinic & Worldpay Partners
      Specialising in ecommerce and
      online promotion.

      Workwear and Promotional Clothing
      www.workwearhouse.co.uk
      Logo Your Polo!

      Comment

      Working...
      X