You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Howard Lewis Ship <hl...@gmail.com> on 2010/12/01 02:59:54 UTC
Cwiki Template issues
It would be nice if the publish date for the page was part of the generated
content, perhaps part of the footer. Eventually, that will be useful for
eliminating "deadwood" HTML pages, such as after renaming a Confluence page.
A couple of pages of the tutorial are formatted poorly in the exported site,
such as
http://people.apache.org/~uli/tapestry-site/loading-the-project-into-eclipse.html
I think it is wide {code} and {noformat} blocks causing a problem; can we
perhaps add autoscrolling to them in CSS?
--
Howard M. Lewis Ship
Creator of Apache Tapestry
The source for Tapestry training, mentoring and support. Contact me to learn
how I can get you up and productive in Tapestry fast!
(971) 678-5210
http://howardlewisship.com
Re: Cwiki Template issues
Posted by Howard Lewis Ship <hl...@gmail.com>.
Thanks; I made that macro (isn't it strange that you can't hav per-space
Macros?) and used the built-in capabilities of Confluence ... which, as you
saw, are kind of drain bramaged.
I'd like to change that macro into a reusable plugin; I was thinking one
that could generate a proper index for the containing page or any children,
and highlight the current page as well.
On Wed, Dec 1, 2010 at 5:08 AM, Ulrich Stärk <ul...@spielviel.de> wrote:
> I found out that the tutorial navigation was generated from a user macro
> one of us created. To that person: Never use tables to layout websites! ;)
>
> Divs respect the width of the surrounding elements (i.e. in our case the
> fixed-width layout) while tables don't.
>
> I changed it to use divs instead of a table and changed our stylesheet
> accordingly. Looks good now. I made the content float around the nav which
> is in the upper left corner. Feel free to change that if you don't like it.
>
> Uli
>
>
> On 01.12.2010 10:22, Ulrich Stärk wrote:
>
>> What do you mean by publish date? The date the site was created, last
>> changed or exported? AFAICT we
>> can have either of those.
>>
>> As for the overflow: Confluence is using a table to layout the left hand
>> menu and the right hand
>> content. This requires more hacking then adding overflow:auto to the
>> respective divs. I'll look into
>> it.
>>
>> Uli
>>
>> On 01.12.2010 02:59, Howard Lewis Ship wrote:
>>
>>> It would be nice if the publish date for the page was part of the
>>> generated
>>> content, perhaps part of the footer. Eventually, that will be useful for
>>> eliminating "deadwood" HTML pages, such as after renaming a Confluence
>>> page.
>>>
>>> A couple of pages of the tutorial are formatted poorly in the exported
>>> site,
>>> such as
>>>
>>> http://people.apache.org/~uli/tapestry-site/loading-the-project-into-eclipse.html
>>>
>>> I think it is wide {code} and {noformat} blocks causing a problem; can we
>>> perhaps add autoscrolling to them in CSS?
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: dev-help@tapestry.apache.org
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>
--
Howard M. Lewis Ship
Creator of Apache Tapestry
The source for Tapestry training, mentoring and support. Contact me to learn
how I can get you up and productive in Tapestry fast!
(971) 678-5210
http://howardlewisship.com
Re: Cwiki Template issues
Posted by Ulrich Stärk <ul...@spielviel.de>.
I found out that the tutorial navigation was generated from a user macro one of us created. To that
person: Never use tables to layout websites! ;)
Divs respect the width of the surrounding elements (i.e. in our case the fixed-width layout) while
tables don't.
I changed it to use divs instead of a table and changed our stylesheet accordingly. Looks good now.
I made the content float around the nav which is in the upper left corner. Feel free to change that
if you don't like it.
Uli
On 01.12.2010 10:22, Ulrich Stärk wrote:
> What do you mean by publish date? The date the site was created, last changed or exported? AFAICT we
> can have either of those.
>
> As for the overflow: Confluence is using a table to layout the left hand menu and the right hand
> content. This requires more hacking then adding overflow:auto to the respective divs. I'll look into
> it.
>
> Uli
>
> On 01.12.2010 02:59, Howard Lewis Ship wrote:
>> It would be nice if the publish date for the page was part of the generated
>> content, perhaps part of the footer. Eventually, that will be useful for
>> eliminating "deadwood" HTML pages, such as after renaming a Confluence page.
>>
>> A couple of pages of the tutorial are formatted poorly in the exported site,
>> such as
>> http://people.apache.org/~uli/tapestry-site/loading-the-project-into-eclipse.html
>>
>> I think it is wide {code} and {noformat} blocks causing a problem; can we
>> perhaps add autoscrolling to them in CSS?
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
Re: Cwiki Template issues
Posted by Ulrich Stärk <ul...@spielviel.de>.
What do you mean by publish date? The date the site was created, last changed or exported? AFAICT we
can have either of those.
As for the overflow: Confluence is using a table to layout the left hand menu and the right hand
content. This requires more hacking then adding overflow:auto to the respective divs. I'll look into it.
Uli
On 01.12.2010 02:59, Howard Lewis Ship wrote:
> It would be nice if the publish date for the page was part of the generated
> content, perhaps part of the footer. Eventually, that will be useful for
> eliminating "deadwood" HTML pages, such as after renaming a Confluence page.
>
> A couple of pages of the tutorial are formatted poorly in the exported site,
> such as
> http://people.apache.org/~uli/tapestry-site/loading-the-project-into-eclipse.html
>
> I think it is wide {code} and {noformat} blocks causing a problem; can we
> perhaps add autoscrolling to them in CSS?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org