How to skip code from overall header
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
How to skip code from overall header
Hi, I have advertisement code in overall header file and I would like it to be skipped on portal.php. Is there any easy way how to do it?
-
- Active Member
- Posts: 13
- Joined: 8. February 2008 17:16
Re: How to skip code from overall header
heres my solution.
copy the overall_header ...an rename to somethins like "portal_header"
quit the ad in that copy...
and modify the portal_body.html
<---- include overall_header jdahsndijnsa
to
<---- include portal_header sdnasoda
its a example.....just see the html files and rename.
copy the overall_header ...an rename to somethins like "portal_header"
quit the ad in that copy...
and modify the portal_body.html
<---- include overall_header jdahsndijnsa
to
<---- include portal_header sdnasoda
its a example.....just see the html files and rename.
-
- Site Admin
- Posts: 2989
- Joined: 7. January 2006 20:11
- phpBB.de User: Saint
- phpBB.com User: Saint_hh
- Location: Hamburg
- Contact:
Re: How to skip code from overall header
No need to define a new overall_header.
Simply wrap your ads code in the overall_header with:
--- your ads code ---
Greetz
Kevin
Simply wrap your ads code in the overall_header with:
Code: Select all
<!-- IF not $S_IN_PORTAL -->
Code: Select all
<!-- ENDIF -->
Kevin
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~
Kein Support per PN / No support via PM!
Kein Support per PN / No support via PM!
Re: How to skip code from overall header
Thanks Kevin. That's exactly what I was looking for.