1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. To combat forum spam, new accounts will need to make at least one (valid) post.
    Otherwise, we will periodically purge all users without posts or that haven't confirmed their account.

Nav for calendar display using PHP include

Discussion in 'General Support' started by bcald, Dec 24, 2006.

Thread Status:
Not open for further replies.
  1. Where can I modify the calendar nav so that it knows where to look for the calendar? I have placed it in a different path using an include function.

    Example

    Calendar installed here
    www.ahgonline.org/calahg

    Actual Calendar viewing is
    www.ahgonline.org/ahg/news/calahg.php


    Everything works fine but the nav for the calendar of course goes to the relative folder which is incorrect. I have been unable to locate where to modify this.

    Thanks,

    Bryant
    Last edited: Dec 24, 2006
  2. Brian

    Brian EPC Developer Staff Member

    Did you include the demo.php file or follow the integration instructions?
  3. Yes, I did the demo.php include like such

    <?php (include "http://www.ahgonline.org/calahg/demo.php");
    ?>

    But no don't recall seeing instructions on Integration, so I will look for that and see where I go from there.

    Thanks, Bryant
  4. Brian,

    Found the integration instructions (kinda buried on the site, but it's there) I do see how you accomplish this without using the include.

    My page is not perfect yet but the Integration instructions is what I was lacking to get through this next piece.

    Appreciate the help on this Christmas Eve.

    Have a good one.

    Bryant
  5. Brian

    Brian EPC Developer Staff Member

    Including the demo.php page directly will result in the initial problem you were having.

    Not sure how the instructions were buried? They're linked to about everywhere and event in the docs directory of the calendar install on your server. :)
Thread Status:
Not open for further replies.

Share This Page