Loading...
 
Development

Development


LEFT MENU FROM WIKI STRUCTURE

posts: 1

Hello everyone,

I didn't find anyway to build automatically a menu from a wiki structure so I will have to implement it.
For instance, My wiki looks like this:
1 General page
1.1 documentation
1.1.1 php
1.1.2 mysql
1.2 support
1.2 contacts

I want to build the exact menu in the left module with css like phplayermenu.
I never developped modules for tikiwiki,
Can you give me advise to develop this as fast as possible ?

Thank you very much,
Adrien

posts: 1092

You can look at the tpl templates/tiki-user_menu.tpl that is the tpl of a menu

To create a module, the best is to take an example ex: modules/mod-top_games.php and templates/modules/mod-top_games.tpl . In the php you have to assign a smarty var that contains your structure, and you use it in the tpl


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting