[daisy] BUG(s)? two different links to edit navigation document
Karel Vervaeke
karel at outerthought.org
Mon Jun 23 09:41:31 CEST 2008
A site always uses the same variant for the navigation document, which
is in the default branch and language specified in the siteconf.xml.
When you visit [0], the edit link under the navigation always lets you
edit the navigation document for that site (i.e. the variant in the
default branch and language).
The 'Actions -> Edit' link lets you edit the document you are currently
viewing. This has nothing to do with the navigation document.
[0] http://daisy.riadealvor.org/riadealvor/3-DSY.html?branch=main&language=en
Perhaps you are getting confused because of site switching (or lack
thereof). Normally when you have two sites (say one English and one
Portuguese), site switching takes place: Daisy tries to show the
document in the site that is most suitable (see [1] for more info).
This means that when there is no suitable site, Daisy stays in the
current site (and hence the navigation document does not follow the site
of the active document).
[1] http://cocoondev.org/daisydocs-2_2/374-cd/116-cd.html
(§ site-search algorithm)
The most common reasons for site switching not to take place are
* there is only one site, or
* site switching has been disabled (in siteconf.xml)
I believe this explains both problems you are experiencing (If I
understand them correctly).
HTH,
Karel
On Fri, 2008-06-20 at 13:03 +0100, A Rocha Webmaster wrote:
> Hello all,
>
> The following has been driving me crazy...
>
> I have a site with default language: pt.
>
> I'm at the ENGLISH version of the navigation document -- NOT the default
> version:
> http://daisy.riadealvor.org/riadealvor/3-DSY.html?branch=main&language=en
>
> Now you'll have to trust me, because you can't edit my site, but I have
> TWO different links for editing the navdoc:
>
> * Below the navdoc, in "Navigation doc: view|edit", the link under edit
> is: /riadealvor/3-DSY/edit?returnTo=%2Friadealvor%2F3-DSY.html%3Fbranch%
> 3Dmain%26language%3Den -- so I am editing the DEFAULT language navdoc.
>
> * In the Daisy action bar, menu Actions, option Edit, the link
> is: /riadealvor/3-DSY/edit?branch=main&language=en -- so I am editing
> THIS navdoc, which is what I wanted in the first place.
>
> Am I missing something totally obvious -- or is this a bug? If I use
> "Navigation doc: view|edit" I view and edit the DEFAULT LANGUAGE navdoc,
> and not the navdoc for the language of the current page.
>
> * * *
>
> In fact... second bug? If I am at a page in English, I still get the
> DEFAULT language navigation, even when I have an English version of the
> navigation document. See
> http://daisy.riadealvor.org/riadealvor/index.html?branch=main&language=en
>
> English page, Portuguese navigation -- because pt is the default
> language. In case you're wondering if I have an English navigation, just
> click 'download' from:
> http://daisy.riadealvor.org/riadealvor/3-DSY?branch=main&language=en
>
> Help!...
>
> Júlio.
>
> _______________________________________________
> daisy community mailing list
> Professional Daisy support: http://outerthought.org/en/services/daisy/support.html
> mail to: daisy at lists.cocoondev.org
> list information: http://lists.cocoondev.org/mailman/listinfo/daisy
More information about the daisy
mailing list