You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Sergey Missan <ad...@javable.com> on 2003/12/12 00:38:59 UTC

problem with avalon-tigris

Hi,

I've just created another site for my project using modified
avalon-tigris skin:
http://cese.sourceforge.net/

For some reason, html/css compliance buttons are shown with borders. I
did not find a report on this in the bug database. Where to look?

Oh, and if you're interested, please add this site to the Live Sites
list, thanks.

-- Sergey



Re: Re[3]: problem with avalon-tigris

Posted by Dave Brondsema <da...@brondsema.net>.
Quoting Sergey Missan <ad...@javable.com>:

> Answering to myself
> I found compliancy-logos in the common- document2xhtml and set border
> to 0 there. Should probably be fixed in the Forrest too?
> 
> -- Sergey
> 

Done.

It was common/.../site2xhtml.xsl actually.


-- 
Dave Brondsema 
dave@brondsema.net 
http://www.brondsema.net - personal 
http://www.splike.com - programming 
http://csx.calvin.edu - student org 

Re[3]: problem with avalon-tigris

Posted by Sergey Missan <ad...@javable.com>.
Answering to myself
I found compliancy-logos in the common- document2xhtml and set border
to 0 there. Should probably be fixed in the Forrest too?

-- Sergey



Re[2]: problem with avalon-tigris

Posted by Sergey Missan <ad...@javable.com>.
Hi, David
DC> I gather that the compliance logos need to have an explicit border=0

I did not explain myself clearly -- yes I know that the border was not
setup explicitly to 0. And this is very strange, because for host
logo and credits logo (aka "Powered by Forrest") site2xhtml calls <xsl:call-template name="renderlogo">.

This renderlogo template (located in the common skin) sets border=0.

But for compliancy logos avalon-tigirs calls "compliancy-logos" template
which I can not find, neither in avalon-tigirs skin nor in the common
skin. Does anybody know where this template is?

-- Sergey



FYI: Project Logo cut-off resolution

Posted by Bryan <er...@yahoo.com>.
I noticed that the project logo was only 220 px wide, and when I tried to use a title of more than
a few characters, it was truncated. 

Poking around the skin files, I discovered that this problem can be resolved by editing
/src/documentation/resources/images/project.svg and setting the anteater logo to sufficient size
(500 seems to work well, ymmv):

<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     xmlns:for="http://xml.apache.org/forrest" width="500" height="65" >

Cheers,
Bryan

=====

Fools rush in -- and get the best seats in the house.


__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

Re: problem with avalon-tigris

Posted by David Crossley <cr...@indexgeo.com.au>.
Sergey Missan wrote:
> 
> I've just created another site for my project using modified
> avalon-tigris skin:
> http://cese.sourceforge.net/
> 
> For some reason, html/css compliance buttons are shown with borders. I
> did not find a report on this in the bug database. Where to look?

find src -name "*.xsl" | xargs grep compliance
= src/core/context/skins/common/xslt/html/site2xhtml.xsl
... no borders in there, so ...
find src -name "*.css" | xargs grep logoImage
= src/core/context/skins/avalon-tigris/css/mysite.css
... no borders in there

I gather that the compliance logos need to have an explicit border=0
attribute, just like the built-with-forrest logo. Not sure where that
needs to happen. Can you follow it from there? Yes please do add a
problem report to the issue tracker (and a patch).

> Oh, and if you're interested, please add this site to the Live Sites
> list, thanks.

Done.

--David