1
Tr0nc3k
Static Page & HTML Title
  • 2004/7/11 9:01

  • Tr0nc3k

  • Just popping in

  • Posts: 13

  • Since: 2004/6/21


I created a classic static .php page with the include method. This .php page displays some info from the database (ok, so it's not exactly static).

It's all working well; the only problem I've got is that I can't set the HTML title without messing up the whole theme.

The main title of the page is displayed and then -. So Page Title - - instead of Page Title - Page Subtitle.

If I put html <title> in front of the header include the whole theme gets messed up, if I put it behind its not working.

Any ideas how I could do this?

2
Tr0nc3k
Re: Static Page & HTML Title
  • 2004/7/12 10:44

  • Tr0nc3k

  • Just popping in

  • Posts: 13

  • Since: 2004/6/21


No ideas? :)

3
Tr0nc3k
Re: Static Page & HTML Title
  • 2004/7/17 7:10

  • Tr0nc3k

  • Just popping in

  • Posts: 13

  • Since: 2004/6/21


Really no ideas? :)

4
tjnemez
Re: Static Page & HTML Title
  • 2004/7/17 8:48

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


a link might help so one could see what is happening.

5
Tr0nc3k
Re: Static Page & HTML Title
  • 2004/7/18 5:41

  • Tr0nc3k

  • Just popping in

  • Posts: 13

  • Since: 2004/6/21


http://gw.tr0n.org/poklici/skill/skill.php?random=1

I would like the title to say Guild Wars - Skills but if I add <title> into the static skill.php file the left menu get's mixed up.

6
Tr0nc3k
Re: Static Page & HTML Title
  • 2004/7/27 9:17

  • Tr0nc3k

  • Just popping in

  • Posts: 13

  • Since: 2004/6/21


Any1? :)

7
JMorris
Re: Static Page & HTML Title
  • 2004/7/27 12:15

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


First, please be patient. Sometimes it takes a little bit before people can reply.

Second, did you wrap your page using the following wrapper?
Courtesy of JackJ - XOOPS For Dummies:

<?php
include("mainfile.php");
include(
"header.php");
$xoopsOption['show_rblock'] = 1//0 for no right block
?>

Your HTML Code here (Note: Do not include head and body tags)

<?php
include("footer.php");

?>


(Note: Do not include head and body tags)

8
Anonymous
Re: Static Page & HTML Title
  • 2004/7/27 13:09

  • Anonymous

  • Posts: 0

  • Since:


Thank you JMorris,,
but how can i add a block to this page?? i dont want to have this block on my other pages!

9
JMorris
Re: Static Page & HTML Title
  • 2004/7/27 14:16

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


If you are manually creating a static page, it may be a little difficult to manage displaying a block only on that page if you don't set it up as a module.

There is a module called MyPage [courtesy of JackJ] that creates a single static page module that can be renamed and linked through the Main Menu.

I find this to be the best method of adding static pages to my site because it enables me to define sublinks in the Main Menu and add blocks that are only displayed on that page.

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

JackJ has provided a comprehensive quick start guide on managing XOOPS called XOOPS For Dummies. You can find everything you need regarding basic management of your site.

Link:
http://www.macambridge.com/dummies/


10
Anonymous
Re: Static Page & HTML Title
  • 2004/7/28 8:11

  • Anonymous

  • Posts: 0

  • Since:


Wow...
mypage is realy what i wanted,thanx a lot!

Login

Who's Online

175 user(s) are online (115 user(s) are browsing Support Forums)


Members: 0


Guests: 175


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