[pmwiki-users] $FarmPubDirUrl not being set

Hans design5 at softflow.co.uk
Wed Nov 1 12:41:22 CST 2006


Wednesday, November 1, 2006, 6:33:03 PM, marc wrote:

>> There
>> probably needs to be a backslash in front of the dollar sign:
>> 
>>   # load commentbox.css for styling
>>   SDV($HTMLHeaderFmt['cbplus'], "
>>     <link href='\$FarmPubDirUrl/css/commentboxplus.css' rel='stylesheet'
>>       type='text/css' />");
>> 
>> This way $FarmPubDirUrl will be evaluated (by FmtPageName)
>> when the heading is being output, as opposed to the current
>> version that does the substitution when commentboxplus.php
>> is loaded (which occurs before skin loading).

> Gotcha. Thanks. It's working now and I double checked that this was the
> cause.

Thanks Marc for checking this out! And thanks Pm for providing the
fix! I updated commentboxplus.zip on pmwiki.org


Hans





More information about the pmwiki-users mailing list