Tree view: Difference between revisions

From Objectif Client Inc
Jump to navigation Jump to search
No edit summary
Line 7: Line 7:
Copy file into extensions folder
Copy file into extensions folder
Add the following code at the end of LocalSettings.php
Add the following code at the end of LocalSettings.php
<pre>require_once( "$IP/extensions/TreeAndMenu/TreeAndMenu.php" ); </pre>
<pre>wfLoadExtension( 'TreeAndMenu' ); </pre>


Sample code <pre>
Sample code <pre>
Line 14: Line 14:


** Registraire
** Registraire
***[[http://gandi.net gandi]]
***[[http://gandi.net gandi]]


** All in one
** All in one
*** [[http://www.hostpapa.ca hostpapa]]
*** [[http://www.hostpapa.ca hostpapa]]


** Social Media **
** Social Media  
*** Google +
*** Google +
Must create a page
Must create a page
Line 35: Line 33:
{{#tree:root=Step by Step web site Creation|
{{#tree:root=Step by Step web site Creation|
* Enregistrement
* Enregistrement
** Registraire
** Registraire
***[[http://gandi.net gandi]]
***[[http://gandi.net gandi]]


** All in one
** All in one

Revision as of 01:41, 3 August 2022

Module

Download module at [TreeAndMenu]

Setup

Copy file into extensions folder Add the following code at the end of LocalSettings.php

wfLoadExtension( 'TreeAndMenu' ); 

Sample code

{{#tree:root=Step by Step web site Creation|
* Enregistrement

** Registraire
***[[http://gandi.net gandi]]

** All in one
*** [[http://www.hostpapa.ca hostpapa]]

** Social Media 
*** Google +
Must create a page
[[https://plus.google.com Google +]]

*** [[http://facebook.com Facebook]]
*** [[http://linkedin.com Linkedin ]]
Etc ...
}}

Result

SideBarre Menu