#1420 Wiki pages who a part of >=2 structures are strange

v1.8.1
open
nobody
5
2012-12-08
2004-04-05
Andreas Sexauer
No

Sometimes you get a pulldown list on wiki pages (e.g
theme akwa or bluegreen) on right top called structeres
with a list to wich structures a wiki page belongs. You
get this only if a wikipage belongs to more than 1
structure. If you look closer to that feature you mention
that this pulldown list is not shown always. For the same
page (into 2 or 3 structures) I sometimes see that list
and sometimes not. It seems that it depends at least
from where you come. It never shows up if you go to a
page from a toc. But even If you came to the page from
a wiki link it is not always there.
I looked into the tpl-File (templates/tiki-show_page.tpl)
there is an if sequence to show the pull-down menu only
if $structures >1, it seems that $structures is sometimes
undefined for a page and sometimes not.
In my opinion this list should be visible always if a page
is in one or more structures, at least if the page is in
more than one structure. If you tell me why $structure
is sometimes empty and sometimes not, i can fix the
template myself to show the pull-down list if needed.

Discussion

  • Chris Holman
    Chris Holman
    2004-08-12

    Logged In: YES
    user_id=205628

    I only made the structure pulldown visible when the page is
    displayed as a standard wiki page (Use the page title link to
    display) because I though it would be otherwise distracting.

    The implementation only shows the structure pulldown if you
    are viewing a page as a native wiki page (use page title link
    to view native wiki page) and the page is a member of one or
    more structures.

    Hope this is helpful.
    I'm not too bothered if this mechanism was removed.

    Chris

     
  • Matthias Rose
    Matthias Rose
    2006-03-20

    Logged In: YES
    user_id=786649

    Andreas Sexauer wrote in 2004 for version 1.8.1:
    "...You get this [structure box] only if a wikipage belongs
    to more than 1 structure..."

    Unfortunately, this seems to be no longer the case in
    version 1.9.2. I tried to build a site with multilinual
    content and always after I have switched the language of a
    wiki page I see the structure box with just one structure
    available for selection. This does not make sense and the
    consequence is that the correct title (alias
    defined/translated in the structure) is not visible before
    this structure is manually selected.

    Andreas Sexauer wrote:
    "...In my opinion this list should be visible always if a
    page is in one or more structures, at least if the page is
    in more than one structure..."

    In my opinion the box should only be visible if the page is
    in more than one structure. If it is only in one structure
    this should be used automatically without displaying the
    box. In other words, the structures box should behave like
    the language box which you can use to choose a page from a
    set of translations; this box only shows up if there are
    different translations available; otherwise the language, if
    set, is just displayed as text.

    I can't see how one can use structures in a multilingual
    site properly before this bug is fixed. As a workaround, I
    tried to use the same structure for all pages (in a
    translation set) but this did not help either.

     
  • Matthias Rose
    Matthias Rose
    2006-04-03

    Logged In: YES
    user_id=786649

    To my former comment from 2006-03-20 I have to add that
    meanwhile I found an option named "Open page as structure"
    (in the admin wiki section) which seems to solve the problem
    that I had.