Page 1 of 1

Howto get overall_header on the portal?

Posted: 17. May 2008 12:41
by frold
Hey,

How do I get the overall_header on my portal?

I found a german post about it - but I didnt understand it :S viewtopic.php?f=8&t=460

Re: Howto get overall_header on the portal?

Posted: 17. May 2008 13:26
by frold
Seems like it working

OPEN
overall_header.html

FIND

Code: Select all

<!-- DEFINE $S_IN_PORTAL = 1 -->
<!-- INCLUDE overall_header.html -->
REPLACE WITH

Code: Select all

<!-- INCLUDE overall_header.html -->

Re: Howto get overall_header on the portal?

Posted: 17. May 2008 14:15
by Christian_N

Code: Select all

<!-- DEFINE $S_IN_PORTAL = 1 -->
is required.
Go into the "ACP -> .MODS -> PORTAL -> General settings and disable the option "Main menu"

Greeting Chris

Re: Howto get overall_header on the portal?

Posted: 17. May 2008 18:46
by frold
Then I dont have the menu block that I use and have edited for my needs...

Re: Howto get overall_header on the portal?

Posted: 17. May 2008 22:39
by derkubi
frold wrote:Seems like it working

OPEN
overall_header.html

<!-- INCLUDE overall_header.html -->
??? open portal_body.html ???

Re: Howto get overall_header on the portal?

Posted: 18. May 2008 08:26
by frold
derkubi wrote:
frold wrote:Seems like it working

OPEN
overall_header.html

<!-- INCLUDE overall_header.html -->
??? open portal_body.html ???
This isent a mod - if you dont have basic phpBB skills dont do mess with the files.

Use the solution Christian_N gives....

Re: Howto get overall_header on the portal?

Posted: 13. June 2008 14:28
by spongeweb

Code: Select all

<!-- DEFINE $S_IN_PORTAL = 1 -->
Why is this needed? I deleted it, and it works fine without it?

Re: Howto get overall_header on the portal?

Posted: 13. June 2008 15:13
by Christian_N
Hello,
Now if now was in the overall_header.html / overall_footer.hmtl define do what only the portal or not the portal to be displayed it will not work anymore.


e.g.

Code: Select all

<!-- IF $S_IN_PORTAL -->
This text sees only portal
<!-- ENDIF -->

Code: Select all

<!-- IF not $S_IN_PORTAL -->
This text is not in the portal, but everywhere in the forum
<!-- ENDIF -->

So if you have this <!-- DEFINE $S_IN_PORTAL = 1 --> delete do, they do not work anymore.


Sorry for this English ... Did it with Google translated...

Greeting Chris