cleanly separate dis-allowed menu options
Forum » Wikidot version 1 / Requests and Ideas » cleanly separate dis-allowed menu options
started by: Matt WilkieMatt Wilkie
on: 1202112647|%e %b %Y, %H:%M %Z|agohover
number of posts: 6
rss icon RSS: new posts
summary:
please don't show, or show together in a different place, menu items which users don't have permissions to use
cleanly separate dis-allowed menu options
Matt WilkieMatt Wilkie 1202112647|%e %b %Y, %H:%M %Z|agohover

Please don't show, or show together in a different place, menu items which users don't have permissions to use. For example I don't mind if anonymous visitors view page history or want to discuss the page, but currently those two actions are mixed in with things they can't do, like edit or add tags for example, and there is no visual distinction between them.

thanks.

update: it would be sufficient to just display them differently, grayed out if they can't be used for example. They wouldn't have to be in a different place.

last edited on 1202256232|%e %b %Y, %H:%M %Z|agohover by Matt Wilkie + show more
unfold cleanly separate dis-allowed menu options by Matt WilkieMatt Wilkie, 1202112647|%e %b %Y, %H:%M %Z|agohover
Re: cleanly separate dis-allowed menu options
michal frackowiakmichal frackowiak 1202119172|%e %b %Y, %H:%M %Z|agohover

You can use a [[button]] to show individual page options. Moreover, you could add several buttons into your side-bar, or add them manually at the bottom of a page.

http://www.wikidot.org/doc:wiki-syntax#toc45

Ups. There is no option to add a "discuss" button. Something that could be added indeed — and it should be done by adding options to the lib/Text_Wiki/Wiki/Render/Xhtml/Button.php file. But other buttons should work fine.

And yes, I am trying to invite everyone to dev.wikidot.org :-D Improving Wikidot is not that difficult.


Michał Frąckowiak @ Wikidot Inc.
Visit my blog at michalfrackowiak.com

last edited on 1202119279|%e %b %Y, %H:%M %Z|agohover by michal frackowiak + show more
unfold Re: cleanly separate dis-allowed menu options by michal frackowiakmichal frackowiak, 1202119172|%e %b %Y, %H:%M %Z|agohover
Re: cleanly separate dis-allowed menu options
Matt WilkieMatt Wilkie 1202256149|%e %b %Y, %H:%M %Z|agohover

Thank you Michal, the buttons will help.

Re: dev.wikidot.org, what is the (intended) difference between that wiki and this one? I was under the impression that dev was for v2 and this one is for v1. Am I mistaken?

unfold Re: cleanly separate dis-allowed menu options by Matt WilkieMatt Wilkie, 1202256149|%e %b %Y, %H:%M %Z|agohover
Re: cleanly separate dis-allowed menu options
GabrysGabrys 1203620095|%e %b %Y, %H:%M %Z|agohover

I believe Wikidot.org is about the software and DEV.wikidot.com is about the team (developers). And it may seem that is more about v2 than v1.


Piotr Gabryjeluk
visit my Dev blog

unfold Re: cleanly separate dis-allowed menu options by GabrysGabrys, 1203620095|%e %b %Y, %H:%M %Z|agohover
Re: cleanly separate dis-allowed menu options
spirspir 1219675901|%e %b %Y, %H:%M %Z|agohover

Michal :

I don't really understand your answer.

  • The link you provide [http://www.wikidot.org/doc:wiki-syntax#toc45] leads to the "include" feature paragraph.
  • "You can use a [[button]] to show individual page options" ? I used the [[button]] for changing the edit menu, but this for all users. How does it allow to adapt a menu or anything to individual users' permissions ?

Matt :

wikidot.org is dedicated to the open-source delivering of wikidot software — which also allows you to install it on a personal server
dev.wikidot.org is a section on which is talket about the (open) developement of wikidot

denis

unfold Re: cleanly separate dis-allowed menu options by spirspir, 1219675901|%e %b %Y, %H:%M %Z|agohover
Re: cleanly separate dis-allowed menu options -- and more -- and 'if'
spirspir 1219676605|%e %b %Y, %H:%M %Z|agohover

Can we think at an overall separation or hiding for things that that user aren't allowed to see / follow / use. Such as nav entries, edit+ buttons, links to page. I would be happy if all of this would be grayed, rather than hidden, so that people would

  1. get familiar to it and
  2. be 'pulled' to join.

To do it simply, this may lead to a conditional statement, that is an if. This would be used to test system variables such as :
[[if %user.status="member"]]
organisation
[[/if]]
[[if %user.status<>"member"]]
[grey]
organisation
[/grey]
[[/if]]
(the meta-pages about the wiki's organisation are opened only to members)
No matter if greyed links look more or less like unexisting links.

denis

new post
Unless stated otherwise Content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License