rejetto forum
May 25, 2012, 01:29:17 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to use IFrame in HFS?  (Read 4853 times)
0 Members and 1 Guest are viewing this topic.
nadzri87
Occasional poster
*
Offline Offline

Malaysia Malaysia

Posts: 3


View Profile
« on: April 20, 2009, 03:56:16 AM »

Hello.. want to ask you, how to use the iframe code so that if i mask the front page with html page it can show an Iframe where the content of my HFS is in there..
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11830


View Profile
« Reply #1 on: April 20, 2009, 06:41:13 AM »

best solution coming to my mind
1. create your "front page" as index.html
with a content like
<iframe src ="/~nodefault">Your browser does not support iframes</iframe>
2. add it to hfs, in the root/home
3. right click on it, and hide it
4. Menu > other options > enable ~nodefault
Logged
BoneMan
Experienced poster
***
Offline Offline

Posts: 31



View Profile WWW
« Reply #2 on: April 27, 2009, 01:34:38 PM »

Can be done very easy take a look here.

http://www.rejetto.com/forum/index.php?topic=6011.msg1035678#msg1035678
Logged
CR1T1C4L
Experienced poster
***
Offline Offline

United States United States

Posts: 31


View Profile Email
« Reply #3 on: May 24, 2009, 09:16:46 AM »

Do you mean use iframe like this?

http://pspjunkies.it.cx
Logged
Funboss
Guest


Email
« Reply #4 on: June 06, 2009, 08:55:39 AM »

I've got an Iframe embedded in my HFS template. It includes a shoutbox, using html/php. I'd like to use %user% as default nickname. Is this possible?

Template includes: <iframe src="website.com/shoutbox/index.php" (...) /iframe>
Url HFS: website.com:8080/
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11830


View Profile
« Reply #5 on: June 06, 2009, 01:37:58 PM »

you should refer to the shoutbox's documentation,
it's up to its capabilities.
Logged
rejetto forum
« Reply #5 on: June 06, 2009, 01:37:58 PM »

Do you like this software? Consider even $2
 Logged
Funboss
Guest


Email
« Reply #6 on: June 14, 2009, 09:32:55 AM »

Thank you for the answer.

It's just a simple peace of php/html. Text input is saved in a text file. No documentation available at all.

Just a few lines (not for copy) attached.

HFS page: website:8080/
PHP Shoutbox: website/shoutbox.php

The shoutbox page is embedded in the HFS page using iframe tags. But i cannot use %user% in other pages than the HFS page. That's clear, I think? But is there another possibility to achieve it?

* archief_shoutbox.txt (2.22 KB - downloaded 222 times.)
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11830


View Profile
« Reply #7 on: June 19, 2009, 09:04:53 AM »

you can pass the username in the URL of the iframe,
so you'll read it by using $_GET in php
Logged
Funboss
Guest


Email
« Reply #8 on: June 20, 2009, 09:29:20 AM »

Rejetto, you just made my day! I'm very thankful for your solutions!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page Today at 10:54:07 AM
anything