Page 1 of 1

Kopfbanner - Headerlogo

Posted: 25. August 2009 12:35
by SchNaake
Deine Portal Version: 1.0.0RC2
Typ Deines phpBB Forums: Standard phpBB3
MODs installiert: Ja
Dein Wissensstand: Einsteiger
Link zu Deinem Forum: http://www.ofut-clan.de/

Was hast Du gemacht, bevor das Problem aufgetreten ist?


Was hast Du bereits versucht um das Problem zu lösen?


Fehlerbeschreibung und Nachricht
Hallo Leute
Ich hätte da mal ne Frage, ob man das so ändern kann wie ich mir das vorstelle.
Im Moment ist das ja so, das externe Links (wie zB Ultrastats) auf der gesamten Seite geöffnet werden.
Könnte man das vielleicht so ändern, das das Header Logo immer oben stehen bleibt und man so auch wieder aufs Portal zurück kommt?

thx Schnake :geek:

Re: Kopfbanner - Headerlogo

Posted: 25. August 2009 12:59
by Dr Nick^
open: styles/<your template>/template/overall_header.html

find (particial): <a href="index.php" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
Or something like that, just after: <div id="site-description">

replace with: <a href="./" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>




open: styles/<your template>/template/bbcode.html

find: <!-- BEGIN url -->

add to the <a> tag: target="_blank"

This will parse the messages with [ url ] to make a link on a new window. with just auto links, i didnt find it yet ;)

Re: Kopfbanner - Headerlogo

Posted: 25. August 2009 13:10
by Christian_N
Hm, sorry aber das hat mit dem Portal ja wirklich dirket nichts zu tun, deshalb verschoben in "General phpBB3 Support" bitte beachte auch unsere Forenregel.
--> viewtopic.php?f=21&t=1631

Re: Kopfbanner - Headerlogo

Posted: 25. August 2009 13:15
by Dr Nick^
Found it!

it took me some digging, but here's the auto parsing method (NOT TESTED YET!!!):


open: includes/functions_content.php

find:

Code: Select all

$html	= "$whitespace<!-- $tag --><a$class href=\"$url\">$text</a><!-- $tag -->$append";
replace with:

Code: Select all

$html	= "$whitespace<!-- $tag --><a$class href=\"$url\" target=\"_blank\">$text</a><!-- $tag -->$append";