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.

two different calendars on same web page ???

Discussion in 'General Support' started by Cappiels, Jan 3, 2005.

Thread Status:
Not open for further replies.
  1. Cappiels

    Cappiels New Member

    I am running two copies of the calendar.. each with a different mySQL database.

    I'd like to display the data from BOTH calendars on one web page.

    Could someone share with me how to do that.. (because the code on my web page currently would have no way of determining which calendar it was looking at.

    Code:
    <?php $OL=1; require ("showCalendar.php"); ?>
              </p>
            </div>
            <table align="center">
              <tr>
                <td><?php require ("showCalendar.php"); ?>
                </td>
                <td width="0" align="left" valign="top"><a name="escOL">&nbsp;</a> </td>
              </tr>
            </table>
            <div align="center"></div>
            <p align="center"><span class="style4">&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="http://mskweb3.mskcc.org/eday/index.cfm?CalendarID=3"><br>
              </a></p>
          </div></td>
          <td width="256" valign="top"><div align="right">
              <p><span class="style4"><a href="http://rta.mskcc.org/rta/escal_rec/body.php">SKI Recruitment Calendar</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://mskweb3.mskcc.org/eday/index.cfm?CalendarID=3"><br>
          RTA Vacation calendar</a>&nbsp;&nbsp;&nbsp;&nbsp; <br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="FMP7://140.163.188.196/RTDB.fp7">RTA Database System</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="http://mskweb3.mskcc.org/eday/index.cfm?CalendarID=3"><br>
        </a></p>
          </div></td>
        </tr>
      </table>
      <div align="center">
        <p align="center"><span class="style3 style1"><span class="style4">Upcoming week:</span><br>
              <br>
          </span>
            <?php
    $LIST=1;
    $listWeeks = 1;
    $DF = "D - M d"; 
    $template="monthly.php"; 
    require ("showCalendar.php"); 
    ?>
     
  2. Brian

    Brian EPC Developer Staff Member

    The current version is not designed to do this and would not work without major modifications. :crybaby:

    <adding to wish list...>
     
  3. Cappiels

    Cappiels New Member

    Ah.... ever grows the wishlist..one question

    I suppose I could achieve something close to this by creating a web page with a left and a right frame... and then calling each page separately from it's current (working) location..

    ya think ???
     
  4. Brian

    Brian EPC Developer Staff Member

    I believe that would work for this particular application. :)
     
Thread Status:
Not open for further replies.

Share This Page