Tweeki icon indicating copy to clipboard operation
Tweeki copied to clipboard

Improve documentation on navigation

Open gtbu opened this issue 7 years ago • 2 comments

As a beginner with tweeki (before i used cavendish skin ) but not with css or mediawiki i tried to create two sidebars with $wgTweekiSkinGridBoth = array(... , and with ../index.php/MediaWiki:Tweeki-sidebar-right But what can i insert there that does not appear as a blue button ? - in need some texts also . All my texts in the sidebars appears darkblue - how can i change that. Bootstrap dropdown-snippets dont function.

Could You please explain the http://tweeki.thai-land.at/wiki/Navigation a bit more detailled for newbies in Your site with code-examples.

...and specially also how to insert the dropdowns in the header (simple text is ok - but dropdowns). /index.php/MediaWiki:Tweeki-navbar etc. ...what must i insert there as example. Normal bootstrap-code creates a chaos!

[[:Kategorie:Test]] doesnt help either.

gtbu avatar Aug 22 '17 20:08 gtbu

Hi @gtbu . I'm trying my best with the documentation, but doing this right is quite challenging – so any help is really appreciated!

Most important clue maybe: in navigational sections (like navbar-left) you can use

  • navigational elements (like EDIT) or
  • standard button syntax (e.g. Some Page will create a link to a page of that name)

To get a dropdown see the documentation for buttons, it would be something like

Dropdown Heading,*First Link,*Second Link

If you want to add random non-button text to a navigational section you would have to use the (poorly documented) $wgTweekiSkinSpecialElements configuration option to define your own custom navigational element. See this comment for an example on how to do this.

I'll keep this issue open to remind me of amending the documentation in these regards as soon as I have more time on my hands...

thaider avatar Aug 27 '17 07:08 thaider

I think your documentation is pretty solid, my friend :) One easy thing that could be improved on your official website for this skin is to consolidate all the documentation, as bits and pieces are found in difference places and it takes sometimes a bit deeper search on the website to find all the things necessary

rebastion avatar Jul 18 '23 14:07 rebastion