Topic Closed
T-One
1 Posts

Hello,

is it possible to embed more than one site with the Simple_Frame plugin?

I use it to show a simple todo-list, and now i need a second site where i can embed another cgi script in an iframe but i didnt find any option to work with more than one site in an iframe.

9 years ago#2028

Stano
483 Posts
16.6K Downloads
1 Themes
1 Plugins

Hello T-One,

it's possible but only with this small hack. You can clone this plugin, but you must also edit some lines. Do this:

1. create new directory /addons/Simple_Frame2 and copy the original Addon.ini and SimpleFrame.php files inside it.

2. change the text in /addons/Simple_Frame2/Addon.ini file:

Addon_Name = 'Simple Frame 2'
Addon_Unique_ID = 1042
Addon_Version = 1.0.3
min_gpeasy_version = 1.6RC3
 
[Special_Link:Special_SimpleFrame2]
label = 'Simple Frame 2'
script = 'SimpleFrame.php'
class = 'SimpleFrame'
 

3. open the /addons/Simple_Frame2/SimpleFrame.php file and modify the line 96:

"<form action=\"".common::getUrl('Special_SimpleFrame2')."\" method=\"post\">\n".

And that's all. Now you can install this second SimpleFrame2 and have two functionally the same plugins in gpEasy, first one with official id=42 and second with unofficial id=1042. I hope this will work for you. Have a good time. :-)

Edited: 9 years ago#2055

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, Luzern (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Website * ...

Find out more about our Provider Spotlight

Log In

  Register