1
keithschm
Full page no menu or header
  • 2006/8/12 13:19

  • keithschm

  • Just popping in

  • Posts: 7

  • Since: 2006/8/4 1


I am trying to make a mod that uses a full page with out residing inside the sites template. I would like to create a custom page that still pulls from the database.

SO how do you remove the other parts, or is there a way to hack files and refernceing them differently?

Thanks

2
davidl2
Re: Full page no menu or header
  • 2006/8/12 13:24

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


it's not possible to make a page that doesn't use theme.html

However, it is possible to make a theme.html that will miss out certain elements for a certain module.

Basically you need to put the logic in your theme to exclude the elements you don't want on a custom module, which is where you page will reside. Then create a dummy module (using the XOOPS for dummies guide) to put your custom page on.

Sorry I can't help with the logic, as I'm an idiot when it comes to this sort of thing.. but I have seen it done before - so I'm sure someone can help you further.

3
keithschm
Re: Full page no menu or header
  • 2006/8/12 13:28

  • keithschm

  • Just popping in

  • Posts: 7

  • Since: 2006/8/4 1


wow thank for the fast reply. I have looked through theme faq's and forums etc... where would be a good place to look for info on the themes and coding them to only have certin modules use them, as I have been unsuccessful in my search

Thanks

4
Will_H
Re: Full page no menu or header
  • 2006/8/12 13:35

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


Following David's suggestion, you could create a custom "theme" and use ThemeChanger to make custom pages use it.

Then you would create a new theme and eliminate the

header/lb/cc/cl/cr/bc/bcl/bcr/footer tables.

So basically you would have one large table.

Essentially you would have this
<body>
<
table width="100%">
<
td id=centercolumn>
<{include 
file="custom_theme/content.html">
<
td>
table>
body>


Then create a file called content.html that would look something like this

<div class= "contents">
<{
$xoops_contents}>
div>


Then you would just need to create a style.css and adjust propertise for .centercolumn and contents

Hope it makes sense.

5
davidl2
Re: Full page no menu or header
  • 2006/8/12 13:36

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


Good suggestion using themechanger Biteronboard

6
davidl2
Re: Full page no menu or header
  • 2006/8/12 13:43

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


Biteronboard - can you turn this into an FAQ please? It could be useful for someone else.

Thanks

7
keithschm
Re: Full page no menu or header
  • 2006/8/13 12:39

  • keithschm

  • Just popping in

  • Posts: 7

  • Since: 2006/8/4 1


you all rock thanks. worked perfectly

Login

Who's Online

337 user(s) are online (110 user(s) are browsing Support Forums)


Members: 0


Guests: 337


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits