1
TCwho
Custom Pages
  • 2004/11/17 11:25

  • TCwho

  • Just popping in

  • Posts: 6

  • Since: 2004/11/17


Hello Everyone! Well, I have installed xoops..and everything seems ok. I come from a FrontPage Environment...

Now the question I have, if I do not need the forum or the Download module, how can I remove the Forum and Download link from the main navigational bar...Now I would like to replace with an Audio Link...now Im pretty sure I can figure what I just asked..but I was wondering will...the page I create have the same 'look' as the rest of the site.... If I create a .html page...how can I make it look like the rest of the site...because I am assuming ...if I create this page as html using Frontpage...that it will not look like the rest of the site...

Any suggestions will be greatly appreciated.

2
TCwho
Re: Custom Pages
  • 2004/11/17 13:00

  • TCwho

  • Just popping in

  • Posts: 6

  • Since: 2004/11/17


by the way...where is the edit button....

Quote:
now Im pretty sure I can figure what I just asked


...meant..I could search within the code to look the the Download and Forum button and links....

but ...how do I make other pages..such as Audio Page...etc...and still have it keep site theme?

Hope I was clearer this time

3
JMorris
Re: Custom Pages
  • 2004/11/17 14:01

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


To create a custom page that mimmics the look and feel of the rest of your XOOPS site, you'll need to use a wrapper. The easiest approach I've found is using JackJ's Mypage.

Link: http://macambridge.com/mypage.zip

More info can be found in the excellent XOOPS primer he wrote at: http://www.macambridge.com/dummies/

Hope this helps.

4
TCwho
Re: Custom Pages
  • 2004/11/17 14:21

  • TCwho

  • Just popping in

  • Posts: 6

  • Since: 2004/11/17


Thank You So Much JMorris! Thank You.

...one of the reasons why I am trying XOOPS after 2 years of FrontPage...I heard you PHP guys, but specifically XOOPS people are very helpful

TY


....Im sure this will not be my last question...

5
noisia
Re: Custom Pages using mypage module
  • 2004/12/13 10:36

  • noisia

  • Not too shy to talk

  • Posts: 123

  • Since: 2004/8/24


Can I use an include command to call my html page into the mypage module?

In the place of: your html goes here ...

can I put:

include ("http://mysite.com/path/file.html");
?>

I have tried it, but there are two problems:

1. The pictures do not show up since the relative path becomes the path within the XOOPS directory

and

2. The japanese codation turns the japanese text into garbled text, since the original site uses a different Japanese codation.

6
JMorris
Re: Custom Pages using mypage module
  • 2004/12/13 11:50

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


Quote:

noisia wrote:
Can I use an include command to call my html page into the mypage module?

In the place of: your html goes here ...

can I put:

include ("http://mysite.com/path/file.html");
?>

I have tried it, but there are two problems:

1. The pictures do not show up since the relative path becomes the path within the XOOPS directory

and

2. The japanese codation turns the japanese text into garbled text, since the original site uses a different Japanese codation.


To get the images to display correctly, you'll need to alter the origianal html document to reflect the new path to your image directory. The easiest approach would be to reference the full url opposed to the relative.

EX: change "/images/mypic.gif" to "http://mydomain.com/images/mypic.gif"

As far as the Japanese characters go, I beleive this is due to the charset (character set) tag in XOOPS being different than the charset of the original html document. You will need to make sure the charset of both are the same. Unfortunately, I've only worked with english sites, so I don't know much about different charsets.

Hope this helps.

Login

Who's Online

264 user(s) are online (231 user(s) are browsing Support Forums)


Members: 0


Guests: 264


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