1
deathilic
html pages
  • 2007/6/12 14:06

  • deathilic

  • Just popping in

  • Posts: 17

  • Since: 2007/4/27


I'm reading the faq about html pages https://xoops.org/modules/smartfaq/faq.php?faqid=253

But I don't understand some things about it, like where do I have to input the code in and where do I have to put the file in? In what map?


thnx in advanced

2
debianus
Re: html pages
  • 2007/6/12 15:42

  • debianus

  • Not too shy to talk

  • Posts: 179

  • Since: 2006/12/17


Quote:

I don't understand some things about it, like where do I have to input the code in and where do I have to put the file in? In what map?

The html code:
include("path/to/mainfile.php");
include(
XOOPS_ROOT_PATH."/header.php");
?>
 [color=FF00CC]HERE.Example[/color]: 

 alt="Lista de correo"
 src="../../modules/lista/MailSummary.png.........
.........................wherever you want in html code
include(XOOPS_ROOT_PATH."/footer.php");
?>

Place: wherever you want.
Quote:
save your file as filename.php and no longer filename.html! The extension is important! Now when you call filename.php it will be perfectly included into your XOOPS theme

Example: http://www.yoursite.php/filename.php or http://www.yousite/subfolder/filename.php; depending of where you save the file.
----
There are two modules to use html code; both impressives.
(They are not mentioned in xoopsfaq). You can try them

userpage (by Hervé)

Quick pages (by XOOPS Mexico)

3
deathilic
Re: html pages
  • 2007/6/13 13:52

  • deathilic

  • Just popping in

  • Posts: 17

  • Since: 2007/4/27


Thnx alot! it worked :)

I can now just easily add pages without any trouble thnx dude!

4
debianus
Re: html pages
  • 2007/6/13 14:17

  • debianus

  • Not too shy to talk

  • Posts: 179

  • Since: 2006/12/17


Do not mention it; I had the same question and I like to help others.

5
deathilic
Re: html pages
  • 2007/6/13 16:52

  • deathilic

  • Just popping in

  • Posts: 17

  • Since: 2007/4/27


Yeah same here

Login

Who's Online

255 user(s) are online (156 user(s) are browsing Support Forums)


Members: 0


Guests: 255


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