1
helman
Site "Wrapping" Module
  • 2006/3/3 2:49

  • helman

  • Just popping in

  • Posts: 15

  • Since: 2005/9/30


Hi

I am running a Guild website for Warcraft and I would like to find a module that will enable me to "wrap" a utility that has not been ported for xoops.

Is this possible? I don't necesarily want it to look pretty, just functional. A few modules talk about wrapping content, however none of them can deliver what i want, which is essentially wrapping a PHP-driven program called eqdkp. see http://www.eqdkp.com for reference.

Any thoughts?

hel

2
Lance_
Re: Site "Wrapping" Module
  • 2006/3/3 2:58

  • Lance_

  • Home away from home

  • Posts: 983

  • Since: 2004/1/12


look for the "myiframe" module.
GDL-Web.com :: Website development.
Xoopslance.com::Freelancing and Projects
thelionsden-arena.net:: Clan/League/Ladder Hosting

3
helman
Re: Site "Wrapping" Module
  • 2006/3/3 3:55

  • helman

  • Just popping in

  • Posts: 15

  • Since: 2005/9/30


Kinda works, however I got more joy out of adding an IFRAME to a custom block.

However, both ways suffer from the fact that if I follow a link within the iframe, the XOOPS site disappears and I am left with the content of the iframe only.

Keen to get a solution here.

Any ideas?

4
helman
Re: Site "Wrapping" Module
  • 2006/3/4 0:10

  • helman

  • Just popping in

  • Posts: 15

  • Since: 2005/9/30


Any ideas or is this a pipedream?

helman

5
Lance_
Re: Site "Wrapping" Module
  • 2006/3/4 0:57

  • Lance_

  • Home away from home

  • Posts: 983

  • Since: 2004/1/12


Not a pipedream, there are a couple of hacks to integrate in the myiframe for different needs.

1. from dynamicdrive.com a hack to have the iframe size automatically resize to the size of the page it is opening. This only works within your own domain.

2. this javascript, when placed in the top of the body of the script you are opening within the iframe will ensure that if you try to open the script directly it will redirect to your iframe within xoops.
<SCRIPT LANGUAGE="JavaScript">
  if (
top.frames.length == 0) {
    
top.location "http://www.yoursiteurl.com/modules/myiframe/index.php?iframeid=1";
    }; 
SCRIPT>

For example check the Ladder portion of The Lion's Den link in the sig. you can try accessing the ladder directly thorugh ladders.thelionsden-arena.com and it will redirect to the iframe in xoops.

You'll need to play around a bit with it.
Cheers.
GDL-Web.com :: Website development.
Xoopslance.com::Freelancing and Projects
thelionsden-arena.net:: Clan/League/Ladder Hosting

Login

Who's Online

243 user(s) are online (171 user(s) are browsing Support Forums)


Members: 0


Guests: 243


more...

Donat-O-Meter

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

Latest GitHub Commits