1
Lance_
Integrating theme for another script
  • 2006/1/7 3:18

  • Lance_

  • Home away from home

  • Posts: 983

  • Since: 2004/1/12


I've got a scary question and since I can't search here, google hasn't satisfied me.


I would like to know if anyone has ever integrated another script to appear to be on xoops. I have tride the include mainfile, header and footer but it didn't work out.


Folder structure is:

public_html/proggy1
public_html/xoops

I would like to have the proggy1 seem to be integrated in the XOOPS theme. No bridge, separate DBs. Just the look.

Thanks.
GDL-Web.com :: Website development.
Xoopslance.com::Freelancing and Projects
thelionsden-arena.net:: Clan/League/Ladder Hosting

2
Lance_
Re: Integrating theme for another script
  • 2006/1/7 13:51

  • Lance_

  • Home away from home

  • Posts: 983

  • Since: 2004/1/12


::Bump for day crowd::
GDL-Web.com :: Website development.
Xoopslance.com::Freelancing and Projects
thelionsden-arena.net:: Clan/League/Ladder Hosting

3
Lance_
Re: Integrating theme for another script
  • 2006/1/8 2:07

  • Lance_

  • Home away from home

  • Posts: 983

  • Since: 2004/1/12


Answer is:

Well since I run this other software in a XOOPS iframe. In the theme.html of the other software add the following code just after the opening body tag

<SCRIPT LANGUAGE="JavaScript">
  if (
top.frames.length == 0) {
    
top.location "http://your.redirect.url";
    };
SCRIPT>


This checks if the other software is in an iframe, it automatically redirects to your link, which would be the iframe contening the other site. This prevents a user from calling the other software from outside your XOOPS iframe and makes it appear that the software runs on xoops.

It's all smoke and mirrors, but until all software are modulated in xoops, gotta make do.

Cheers.
GDL-Web.com :: Website development.
Xoopslance.com::Freelancing and Projects
thelionsden-arena.net:: Clan/League/Ladder Hosting

Login

Who's Online

198 user(s) are online (83 user(s) are browsing Support Forums)


Members: 0


Guests: 198


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits