[pmwiki-users] $ScriptURL not being found/honored?

Joshua J. Kugler joshua at eeinternet.com
Sat Oct 14 16:29:45 CDT 2006


I've run into a rather odd problem.

I'm using the Beeblebrox skin, and really like the looks.  But I've just run 
into a problem in its URL generation for the site title link.  

In my local/config.php, I have this:

$ScriptUrl = 'http://wiki.mysite.com';

Later, I have:

$Skin = 'beeblebrox';

And the skin works.

In skin.php, there is this line:
SDV($PageLogoFmt,"<a href='$ScriptUrl'>$html_title</a><br />
  <span id='tag'>$LogoTagline</span>");

And in gila.tmpl (the template file that came with the skin):
  <!-- Wiki header -->
  <div id="header">
    <h1 class="headerTitle">$PageLogoFmt</h1>
  </div>

But, the output I get is this:

<h1 class="headerTitle"><a href=''>Wiki Title Here</a><br />

The ScriptURL is defined before the Skin is defined, although that doesn't 
seem like it should matter.  Is there something really simple I've missed?  
The blank HREF really throws things off, especially when I'm under a 
different group and editing a page.

If I hard code something in place of '$ScriptURL in skin.php, so it is using 
that code, but it's not seeing the $ScriptURL defined in config.php.

Ideas?

j

-- 
Joshua Kugler                           
Lead System Admin -- Senior Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE
PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: 907-456-3111




More information about the pmwiki-users mailing list