1
ralf57
How to show xoops content into a iframe?
  • 2003/10/19 13:37

  • ralf57

  • Quite a regular

  • Posts: 231

  • Since: 2003/2/3 1


Hi all,i wish to show XOOPS content (all content,downloads,links etc) into a center iframe.I searched the forum with no result,though i can't say that i've seen everywhere.
I tried this change in theme.html of default theme:

<!-- End display center blocks -->
<IFRAME TITLE="Photo Album" WIDTH=99% HEIGHT=450 FRAMEBORDER=0 SCROLLING="AUTO">

<div id="content">
<{$xoops_contents}>
</div>

</IFRAME>

and it returns me a blank page.
If i set the "src" attribute of the iframe it gives me always the same url,of course.
I'm sure that i miss something but i can't say what.
Can you help me with this?
regards,ralf


2
EyeKeeper
Re: How to show xoops content into a iframe?
  • 2003/10/19 16:57

  • EyeKeeper

  • Quite a regular

  • Posts: 209

  • Since: 2002/6/11


maybe this thread can help you further

3
ralf57
Re: How to show xoops content into a iframe?
  • 2003/10/19 22:02

  • ralf57

  • Quite a regular

  • Posts: 231

  • Since: 2003/2/3 1


Thank you RedEye,
but the the link you gave me didn't solved my problem.
As i said above i want to show XOOPS content in a iframe;
i may want to include external pages but this is not important for now.
I think the key would be in the theme.html file but i can't find it alone
I hope that you or someone else could help me further.
thanks again,ralf.

4
ralf57
Re: How to show xoops content into a iframe?
  • 2003/10/19 22:56

  • ralf57

  • Quite a regular

  • Posts: 231

  • Since: 2003/2/3 1


Ok,i solved.
It was only a css matter.
I just edited the content div in .css file :

div#content {text-align: left; padding: 8px;width:96%;height:450px;overflow:auto; margin:5px;}

and now it works good.
I thank ackbarr for this.

5
EyeKeeper
Re: How to show xoops content into a iframe?
  • 2003/10/19 23:56

  • EyeKeeper

  • Quite a regular

  • Posts: 209

  • Since: 2002/6/11


can you post how you solved?
'cause when others look for this solution maybe they'll find it under the search...

6
ralf57
Re: How to show xoops content into a iframe?
  • 2003/10/20 13:06

  • ralf57

  • Quite a regular

  • Posts: 231

  • Since: 2003/2/3 1


I posted the solution in my previous post but...
it isn't perfect.
In fact the iframe's horizontal scrollbar appears with some modules like newbb or xoopsmembers and this is not elegant.
i'll try to make it better and repost if i success.

Login

Who's Online

216 user(s) are online (143 user(s) are browsing Support Forums)


Members: 0


Guests: 216


more...

Donat-O-Meter

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

Latest GitHub Commits