Hello,

I have a problem with logo customization. I followed this instructions 
(http://wiki.bestpractical.com/view/ChangeLogo) and paid much attention to the 
latest mails about logos (after each & every changes I use a cleanmason.sh that 
makes a apache stop / clean cache / apache start)

But when access the login page I get this :

********************************************************************************
error:  Error during compilation of /opt/rt3/local/html/Elements/Logo:
Bareword "RT::LogoLinkURL" not allowed while "strict subs" in use at 
/opt/rt3/local/html/Elements/Logo line 49.

 
context:  ...   
45:  %# those contributions and any derivatives thereof. 
46:  %#  
47:  %# END BPS TAGGED BLOCK }}} 
48:  <div id="logo"> 
49:  <a href="<%RT::LogoLinkURL%>"><img src="<%$RT::WebImagesURL%>/bplogo.gif" 
alt="<%loc("Best Practical Solutions, LLC corporate logo")%>" width="177" 
height="33" /></a> 
50:  % if ($show_name) { 
51:  <div class="rtname"><% loc("RT for [_1]", $RT::rtname) %></div> 
52:  % } 
53:  </div> 
...  
********************************************************************************
The problem seems to be onlyfor RT::variables in the href=
If I put plain text in there, it's ok
If I put any other RT variables (just a copy & paste of the following 
<%$RT::WebImagesURL%> or any other properly defined and substituted variables 
for instance) I get an error.
But all other RT variables are properly substituted in the line. I only have a 
problem with the href.

I tried to google around for "bareword" and "strict subs" but did not grasp 
where to look for or what would be the effect of remove such a "strict subs" 
command wherever it may be.

I don't mind coding the URL in plain text in my local Logo file but it would be 
better if this variable could work properly.

Any idea ?

David
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
    Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to