Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: PHP Includes in NOF

  1. #11

    Default

    Hi Chuck

    It is no longer on the Home page where the change in quotes worked. I put the include on the Properties page and it doesn't work.

    The Test page has the iFrame which has always worked.

    Ritch
    NOF 2013: (AU1)......Windows 7 Ultimate Version 6.1 (Build 7601:SP1)
    Mac OSX 10.8.3.....Parallels Desktop 8 (8.0.18483)
    iMac 27" 2.7 GHz Intel Core 2 i5.....12Gb 1333 Mhz DDR3

  2. #12
    Senior Member chuckj's Avatar
    Join Date
    Jan 2010
    Location
    www.beyondfusion.com - Florida
    Posts
    1,302

    Default

    <?php include ('../search_.php'); ?> should work, assuming you have the script search_.php in the root directory (where your index page is)

    I generally make an includes directory where I place scripts inside the html directory. But you can put them anywhere.

    If you're only using the script on the Properties page, you can just put it in the html directory with the properties.php page.
    Chuck Joslin
    www.BeyondFusion.com
    PHP & MySQL development with Fusion
    Fusion support for AllWebMenus (Likno) Contact me for custom AWM menus for your sites.
    Tutorials and Forums

  3. #13

    Default

    Thanks Chuck.

    I'll take your advice and maybe look at where I put the scripts.

    Strange thing is all of this worked a few years back on another site even with the double quotes.

    I'll mess around with it tomorrow.

    Many thanks

    Ritch
    NOF 2013: (AU1)......Windows 7 Ultimate Version 6.1 (Build 7601:SP1)
    Mac OSX 10.8.3.....Parallels Desktop 8 (8.0.18483)
    iMac 27" 2.7 GHz Intel Core 2 i5.....12Gb 1333 Mhz DDR3

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •