wakalapi
11-09-2005, 11:16 PM
RE: replace an iframe that has a static reference with a php include that has a dynamic reference
I made a module that simply uses an iframe to display the Calendar. It is located at http://www.powwowtime.com/modules.php?name=Calendar. Viewers can manipulate the Calendar within its iframe, but I would rather like to replace the iframe with a PHP include that passes variables to the Calendar.
:banana:
In other words, I would like to have users view something like
"(powwowtime.com)/modules.php?name=Calendar&cat=2&mo=12&yr=2005"
and have
"?cat=2&mo=12&yr=2005"
be appended dynamically so that the included file results as
"(powwowtime.com)/calendar/demo.php?cat=2&mo=12&yr=2005"
And then, what about the nav buttons? If they are powered by the hidden source code, I suppose I could just turn off their display in the admin panel and write my own navigation into their place on the template.
I made a module that simply uses an iframe to display the Calendar. It is located at http://www.powwowtime.com/modules.php?name=Calendar. Viewers can manipulate the Calendar within its iframe, but I would rather like to replace the iframe with a PHP include that passes variables to the Calendar.
:banana:
In other words, I would like to have users view something like
"(powwowtime.com)/modules.php?name=Calendar&cat=2&mo=12&yr=2005"
and have
"?cat=2&mo=12&yr=2005"
be appended dynamically so that the included file results as
"(powwowtime.com)/calendar/demo.php?cat=2&mo=12&yr=2005"
And then, what about the nav buttons? If they are powered by the hidden source code, I suppose I could just turn off their display in the admin panel and write my own navigation into their place on the template.