Drupal version 4.7.5
I am almost there ! Just a little more help needed.
It it possible to have the PHP Results open in an IFRAME?
I tried to use the PHP code shown below for use with the aggregator RSS feeds. This code was from the Reference Topic: "How to include pages in each other?" at (http://drupal.org/node/83349)
I placed the PHP code in the body of a new page (?q=node/35) and set the input format to PHP.
It works fine but the aggregator uses pagination, ie. 1 2 3 4 5 6 7 8 9…next ›last » at the bottom of the page. When you click on any of these pagination links, the resulting page is the aggregator page itself (?q=aggregator&page=1).
Is there any way to modify the PHP code so that the aggregator results display in a IFRAME so that the pagination works correctly keeping the user on the original page (?q=node/35) ?
Original Code
This is the leading text before the calendar
<?php
// We save and restore the real path for the page
$q = $_GET['q'];
// Change event to the path you want, this is the part after q= (or after the base path if you have clean URLs enabled)
$_GET['q'] = 'event';
// Get and print the output for just the content associated with the path
// If you see the complete page within a page it means the path callback is probably calling theme('page', ....)
print menu_execute_active_handler();