Sorry I got out of sync on the last input.
Benno, I assume you are using the xhtml plugin, correct?

I need to find a way to see what you are trying to do. Are any of your pages
available on a public web site, or are they limited to a local intranet?

If they are on a public site please send me the URL's to replicate the
issue. Otherwise can you create copies of the topics on my wiki at
ods.dyndns.org? You would have to send me the js and css files (which I
would delete later), so that it can be setup. I have a namespace 'TestWiki'
that can be used.

John Davidson

On Jan 23, 2008 1:19 PM, Derek Lakin <[EMAIL PROTECTED]> wrote:

> OK, this sounds like a bug related to the JavaScript required for handling
> alternate stylesheets. It would be great if you could raise a bug on the
> tracker for this. I think the implementation was one of the many
> contributions from John?
>
> Thanks,
>
> Derek.
>
> --------------------------------------------------
> From: <[EMAIL PROTECTED]>
> Sent: Wednesday, January 23, 2008 6:15 PM
> To: <flexwiki-users@lists.sourceforge.net>
> Subject: Re: [Flexwiki-users] Separate stylesheets for admin and content?
>
> > Well... I found the cause but not the cure...
> >
> > The <link /> is generated, but WikiDefault.js loads a stylesheet
> specified
> > in a cookie that gets set on page unload. So, when I surf to a topic A
> > with Stylesheet property from a topic B without, WikiDefault.js loads
> the
> > stylesheet used by topic B when entering page A.
> >
> > Benno.
> >
> >> Looking at the generated HTML, there's no reason why putting the
> >> topic-specific CSS in the same location as the rest of your CSS files
> >> (the
> >> root folder) shouldn't work. What have you put in the topic-specific
> CSS?
> >> Have you checked the generated HTML to ensure that the additional <link
> >> />
> >> tag has been generated?
> >>
> >> Derek.
> >>
> >> --------------------------------------------------
> >> From: <[EMAIL PROTECTED]>
> >> Sent: Wednesday, January 23, 2008 5:52 PM
> >> To: <flexwiki-users@lists.sourceforge.net>
> >> Subject: Re: [Flexwiki-users] Separate stylesheets for admin and
> content?
> >>
> >>> Stylesheet: MyStylesheet.css
> >>>
> >>> with MyStylesheet.css in the FlexWiki root folder (where all other
> such
> >>> as
> >>> wiki.css reside) doesn't work. Do I have to specify a path? Which
> path?
> >>> /FlexWiki/MyStylesheet.css doesn't work either. By the way, I'm using
> >>> FlexWiki 2.0.0.179...
> >>>
> >>> Benno.
> >>>
> >>>> If you want the content from the left on the right and vice versa,
> >>>> can't
> >>>> you
> >>>> just switch the definitions in _NormalBorders, rather than doing the
> >>>> switch
> >>>> in CSS?
> >>>>
> >>>> The Stylesheet page property defines an additional CSS file for that
> >>>> topic.
> >>>> E.g.
> >>>>
> >>>> Stylsheet: myNewStyleSheet.css
> >>>>
> >>>> Derek.
> >>>>
> >>>> --------------------------------------------------
> >>>> From: <[EMAIL PROTECTED]>
> >>>> Sent: Wednesday, January 23, 2008 4:34 PM
> >>>> To: <flexwiki-users@lists.sourceforge.net>
> >>>> Subject: Re: [Flexwiki-users] Separate stylesheets for admin and
> >>>> content?
> >>>>
> >>>>> Hi Derek,
> >>>>>
> >>>>> thanks a lot for your answer.
> >>>>>
> >>>>>> Admin.css is a hangover from before we updated the stylesheet. As
> you
> >>>>>> point
> >>>>>> out, I don't think it actually gets used by anything. At this
> stage,
> >>>>>> I
> >>>>>> don't
> >>>>>> think it's possible to explicitly specify a different stylesheet
> for
> >>>>>> the
> >>>>>> admin pages without making some code changes. That said, the admin
> >>>>>> pages
> >>>>>> are
> >>>>>> quite simple from a CSS point of view, so it shouldn't be too
> >>>>>> difficult
> >>>>>> to
> >>>>>> handle them in your override CSS file.
> >>>>>
> >>>>> Unfortunately, it is... For example, I exchange LeftBorder and
> >>>>> RightBorder
> >>>>> so that LeftBorder is on the right side and RightBorder on the left.
> >>>>> Sounds weird, but I do lots of javascript manipulations to nested
> >>>>> lists
> >>>>> in
> >>>>> the left
> >>>>> sidebar (building up a tree control). This takes some time during
> >>>>> which
> >>>>> IE
> >>>>> stops rendering the rest of the page (regardless wether I start this
> >>>>> window.onload or earlier). To enable the user to look at the topic
> >>>>> content
> >>>>> while the tree is generated, I placed the lists in the RightBorder
> >>>>> which
> >>>>> comes after TopicBody in the pages' html. Long story, but in short
> it
> >>>>> messes up my admin pages.
> >>>>>
> >>>>>> You can apply a specific stylesheet (in addition to any overrides
> or
> >>>>>> alternates) to a topic by using the Stylesheet page property.
> >>>>>> However,
> >>>>>> there
> >>>>>> doesn't seem to be a way to apply a stylesheet across a namespace,
> >>>>>> although
> >>>>>> it shouldn't be too onerous to use the Stylesheet page property
> from
> >>>>>> the
> >>>>>> _ContentBaseDefinition topic for the namespace if you want to raise
> a
> >>>>>> feature request on the bug tracker [1]
> >>>>>
> >>>>> How do I use this Stylesheet page property? I wrote
> >>>>>
> >>>>> Stylesheet: MyStylesheet
> >>>>>
> >>>>> to a page, but it doesn't have any effect.
> >>>>>
> >>>>>> --------------------------------------------------
> >>>>>> From: <[EMAIL PROTECTED]>
> >>>>>> Sent: Wednesday, January 23, 2008 2:16 PM
> >>>>>> To: <flexwiki-users@lists.sourceforge.net>
> >>>>>> Subject: [Flexwiki-users] Separate stylesheets for admin and
> content?
> >>>>>>
> >>>>>>> Hi all,
> >>>>>>>
> >>>>>>> for my project, I've highly customised stylesheets for a
> namespace.
> >>>>>>> If
> >>>>>>> I
> >>>>>>> include it using OverrideStylesheet in flexwiki.config, it gets
> >>>>>>> applied
> >>>>>>> to
> >>>>>>> all pages, including the admin section. Unfortunately, my
> >>>>>>> customisations
> >>>>>>> mess up the latter considerably so I'm looking for a possibility
> to
> >>>>>>> specify separate stylesheets for single namespaces and for the
> admin
> >>>>>>> pages.
> >>>>>>>
> >>>>>>> I can define my stylesheet as an alternate stylesheet in
> >>>>>>> flexwiki.config,
> >>>>>>> but this way the user would have to select my stylesheet in the
> drop
> >>>>>>> down
> >>>>>>> box, which is not an option for me.
> >>>>>>>
> >>>>>>> How can I specify a default stylesheet for a namespace and a
> >>>>>>> separate
> >>>>>>> on
> >>>>>>> for the admin section?
> >>>>>>>
> >>>>>>> There is a admin.css in the admin directory, but it doesn't seem
> to
> >>>>>>> be
> >>>>>>> used anywhere... The admin pages just include wiki.css... What's
> the
> >>>>>>> purpose of this  admin.css?
> >>>>>>>
> >>>>>>> Additional question: Is it possible to specify stylesheets per
> >>>>>>> namespace?
> >>>>>>> Different namespace, different stylesheet?
> >>>>>>>
> >>>>>>> Cheers,
> >>>>>>>
> >>>>>>> Benno.
> >>>>>>>
> >>>>>>>
> >>>>>>>
> -------------------------------------------------------------------------
> >>>>>>> This SF.net email is sponsored by: Microsoft
> >>>>>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
> >>>>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >>>>>>> _______________________________________________
> >>>>>>> Flexwiki-users mailing list
> >>>>>>> Flexwiki-users@lists.sourceforge.net
> >>>>>>> https://lists.sourceforge.net/lists/listinfo/flexwiki-users
> >>>>>>
> >>>>>>
> >>>>>>
> -------------------------------------------------------------------------
> >>>>>> This SF.net email is sponsored by: Microsoft
> >>>>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
> >>>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >>>>>> _______________________________________________
> >>>>>> Flexwiki-users mailing list
> >>>>>> Flexwiki-users@lists.sourceforge.net
> >>>>>> https://lists.sourceforge.net/lists/listinfo/flexwiki-users
> >>>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> -------------------------------------------------------------------------
> >>>>> This SF.net email is sponsored by: Microsoft
> >>>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
> >>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >>>>> _______________________________________________
> >>>>> Flexwiki-users mailing list
> >>>>> Flexwiki-users@lists.sourceforge.net
> >>>>> https://lists.sourceforge.net/lists/listinfo/flexwiki-users
> >>>>>
> >>>>
> >>>>
> -------------------------------------------------------------------------
> >>>> This SF.net email is sponsored by: Microsoft
> >>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
> >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >>>> _______________________________________________
> >>>> Flexwiki-users mailing list
> >>>> Flexwiki-users@lists.sourceforge.net
> >>>> https://lists.sourceforge.net/lists/listinfo/flexwiki-users
> >>>>
> >>>
> >>>
> >>>
> >>>
> -------------------------------------------------------------------------
> >>> This SF.net email is sponsored by: Microsoft
> >>> Defy all challenges. Microsoft(R) Visual Studio 2008.
> >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >>> _______________________________________________
> >>> Flexwiki-users mailing list
> >>> Flexwiki-users@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/flexwiki-users
> >>
> >>
> >>
> -------------------------------------------------------------------------
> >> This SF.net email is sponsored by: Microsoft
> >> Defy all challenges. Microsoft(R) Visual Studio 2008.
> >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >> _______________________________________________
> >> Flexwiki-users mailing list
> >> Flexwiki-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/flexwiki-users
> >>
> >
> >
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Flexwiki-users mailing list
> > Flexwiki-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/flexwiki-users
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Flexwiki-users mailing list
> Flexwiki-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flexwiki-users
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users

Reply via email to