using dynamic logo with namespace

Use this forum to ask questions about how to do things in GuMax skin.
Post Reply
User avatar
zzzztz
Rank 1
Rank 1
Posts: 5
Joined: June 13th, 2008, 10:19 am

using dynamic logo with namespace

Post by zzzztz »

Hi, im using 3.2.1, and i have trouble figuring out how to use the dynamic logo when the page has a namespace, for example
namespace:pagename

i tried the following and nothing worked
namespace:pagename.jpg (edited the name in ftp)
pagename.jpg
namespace.pagename.jpg
namespace pagename.jpg
namespacepagename.jpg

i couldnt figure it out just by looking at the script, not sure if this is even possible, maybe you know the answer :P
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: using dynamic logo with namespace

Post by Paul »

Easy way to do this, after load the page, view the source code, then find the real name of the jpg logo file... :D
User avatar
zzzztz
Rank 1
Rank 1
Posts: 5
Joined: June 13th, 2008, 10:19 am

Re: using dynamic logo with namespace

Post by zzzztz »

that doesnt seem to work, its always

Code: Select all

<div id="gumax-site-logo">
<a style="background-image: url(/wiki/skins/gumax/images/header/default.jpg);" href="/wiki/index.php?title=Main_Page" title="Main Page"></a>
    </div>
unless the script detects $pagename, but it doesnt seem to be able to do that when its "namespace:pagename"... just the word after namespace alone doesnt do it, works when its just "wiki/pagename" :?: did this change in any of the newer versions? maybe i'll look for the codes there
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: using dynamic logo with namespace

Post by Paul »

It should work, see my page http://paulgu.com/wiki/PaulGuWiki:Site_support, this works fine.
User avatar
zzzztz
Rank 1
Rank 1
Posts: 5
Joined: June 13th, 2008, 10:19 am

Re: using dynamic logo with namespace

Post by zzzztz »

thanks, figured it out, it works when the file name is all case letters :P
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: using dynamic logo with namespace

Post by Paul »

Great! :D
User avatar
Kitsufox
Rank 1
Rank 1
Posts: 5
Joined: November 2nd, 2009, 6:16 pm

Re: using dynamic logo with namespace

Post by Kitsufox »

I'm having this same issue and don't exactly understand the solution...

I've tried all sorts of things and just can't figure out exactly what I'm being pointed at for the solution. Would someone be able to clarify please?
User avatar
leejane30
Rank 0
Rank 0
Posts: 1
Joined: November 13th, 2009, 10:04 pm

Re: using dynamic logo with namespace

Post by leejane30 »

good to know this one is fixed! mine is now working perfectly... :D
Post Reply