Topic Closed

I nedded to send the query string to the frame, so I modified the Simpleframe.php in the data/_addoncode/  folder:

Original:

function frame()
  {echo "<iframe src=\"http://".$_SERVER['SERVER_NAME']."/".$this->config['link']."\" id=\"simpleframe\" scrolling=\"no\" frameborder=\"0\" onLoad=\"autoResize('simpleframe');\"></iframe>";}

IMPROVED:

  function frame()
  {
    if ($_SERVER['QUERY_STRING']) {
        echo "<iframe src=\"http://".$_SERVER['SERVER_NAME']."/".$this->config['link']."?".$_SERVER['QUERY_STRING']."\" id=\"simpleframe\" scrolling=\"no\" frameborder=\"0\" onLoad=\"autoResize('simpleframe');\"></iframe>";
        } else {
        echo "<iframe src=\"http://".$_SERVER['SERVER_NAME']."/".$this->config['link']."\" id=\"simpleframe\" scrolling=\"no\" frameborder=\"0\" onLoad=\"autoResize('simpleframe');\"></iframe>";
        }
  }

You can see the results in using serching box on the right in http://www.rometec.it/gpEasy/index.php/  (type "cpi" for example).

Can someone notice this post to cybermax ?

11 years ago#2518

Stano
483 Posts
16.6K Downloads
1 Themes
1 Plugins

Hi, maybe you could try to contact him on his page http://gpeasy.de/index.php/Special_Contact

Edited: 11 years ago#2519

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Ennetb├╝rgen (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Websi...

Find out more about our Provider Spotlight

Log In

  Register