help adding a custom logo for a custom page

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

help adding a custom logo for a custom page

Post by neuropass »

Hey Stoker,

I want to add a specific html code/logo in a custom phpbb page I made. I can't find really anything about it.

is this possible?

help adding a custom logo for a custom page

Post by Stoker »

You can do it with ah if statement: viewtopic.php?f=10&t=341

help adding a custom logo for a custom page

Post by neuropass »

would that be "if script name.."? I am already using that one on the overall header to change the background. What I want to do now is to change the logo as well...

help adding a custom logo for a custom page

Post by Stoker »

Yes, if script name will do the trick

help adding a custom logo for a custom page

Post by neuropass »

it's working partially for some reason. This is what Im using:

Code: Select all

<div id="board-description">
				<!-- IF SCRIPT_NAME == "rog" -->

<!-- START TITLE 1 / MY CODE -->
<div id="comingsoon">
    
	
</div>
<!-- FINISH // TITLE 2 / MY CODE-->

	<!-- ELSE --><a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a><!-- ENDIF -->
				
				<p class="skiplink"><a href="#start_here">{L_SKIP}</a></p>
it only displays some css content. any suggestion? (my code require jquery and google font to be working. for some reason it's not loading those when im using that code)

help adding a custom logo for a custom page

Post by Stoker »

This code is the logo {SITE_LOGO_IMG}
So you would have to do something like this:

Code: Select all

<a href="{U_INDEX}" title="{L_INDEX}" id="logo"><!-- IF SCRIPT_NAME == "rog" -->img logo code here<!-- ELSE -->{SITE_LOGO_IMG}<!-- ENDIF --></a>

help adding a custom logo for a custom page

Post by neuropass »

ok gotcha. Thanks for that. it works with a simple image but it doesn't work when that image requires a jquery script to work. it only displays the css part. do you know what I mean by that? any suggestion? should the jquery script included in a different way?

help adding a custom logo for a custom page

Post by Stoker »

perhaps :?

help adding a custom logo for a custom page

Post by neuropass »

OK I found the issue. it was just the board description class giving me problems. I replaced that too.
Fixed it. Thanks so much Stoker for pointing me in the right direction.