You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "David Johnson (JIRA)" <ji...@apache.org> on 2010/07/19 03:48:50 UTC

[jira] Resolved: (ROL-941) Logo disappears. Only the front page shows the logo and the rest of the pages don't have the logo

     [ https://issues.apache.org/jira/browse/ROL-941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Johnson resolved ROL-941.
-------------------------------

    Resolution: Fixed

No longer relevant. Front page has been rewritten to use themes.

> Logo disappears.  Only the front page shows the logo and the rest of the pages don't have the logo
> --------------------------------------------------------------------------------------------------
>
>                 Key: ROL-941
>                 URL: https://issues.apache.org/jira/browse/ROL-941
>             Project: Roller
>          Issue Type: Bug
>          Components: User Interface - General
>    Affects Versions: 2.0
>         Environment: Tomcat 5.5, MySQL 4.0, JDK 1.4.2_05, Windows 
>            Reporter: Kin Leung
>            Assignee: Roller Unassigned
>            Priority: Trivial
>
> Only the front page shows the logo on the upper left corner.  The rest of the pages don't have the logo.  Looks like all pages tile up using banner.jsp.  I did a "view source" on the different pages.  The one with the logo, the page HTML looks like:
> <div id="logo">
>     <!-- Transparent PNG fix for IE, thanks to Kenneth M. Kolano -->
>     <div id="logoshadow" 
>         style="_background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://mandalay-server/simblog/theme/logo-shadow.png',sizingMethod='crop');">
>         <div id="logobackground">
>             <a href='http://mandalay-server/simblog/main.do' id="logoimage" 
>                 style="_background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://mandalay-server/simblog/theme/transparent-logo.png', sizingMethod='crop');">
>             </a>
>         </div>
>     </div>
> </div>
> and the one with no logo, it looks like
> <div id="logo">
>     <!-- Transparent PNG fix for IE, thanks to Kenneth M. Kolano -->
>     <div id="logoshadow" 
>         style="_background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/theme/logo-shadow.png',sizingMethod='crop');">
>         <div id="logobackground">
>             <a href='/main.do' id="logoimage" 
>                 style="_background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/theme/transparent-logo.png', sizingMethod='crop');">
>             </a>
>         </div>
>     </div>
> </div>
> notice the difference on the image src.
> Looked at the code in banner.jsp, I think for whatever reason some pages evaluates ${model.baseURL} to "" and that's causing the logo fails to show up.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.