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 pageshttps://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:
<?php
include("path/to/mainfile.php");
include(
XOOPS_ROOT_PATH."/header.php");
?>
 [color=FF00CC]HERE.Example[/color]: <br>
<img style="width: 48px; height: 48px;"
 alt="Lista de correo"
 src="../../modules/lista/MailSummary.png.........
.........................wherever you want in html code
<?php
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 orhttp://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

154 user(s) are online (107 user(s) are browsing Support Forums)


Members: 0


Guests: 154


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