Chargement...
 
Forum: aide

Forum: aide


Menus: Rétablir les menus sur le côté de votre page

Conversation entre l'auteur et Gary Cuningham Lee

Pour remettre la page index avec les colonnes, enlever dans:

Look and Feel, onglet Divers tout ce qui est HTML.

Pour qu'au lieu d'avoir ça:


html#page_1 #c1c2 #wrapper #col1.marginleft: {margin-left: 0;}
html#page_1 #c1c2 #wrapper #col1.marginright: {margin-right: 0;}
html#page_1 #col1,
html#page_1 #col3 { width: 0; display: none;}
.twfooter .box {width: 106px; float:left; text-align: left;margin-left: 30px;}
.twfooter .box:first-child {margin-left: 0;}
.twfooter img.externallink {display:none;}


On ait ça:

+++++++++++++++++++++++++++++++++++++++++++++++++++++



.twfooter .box {width: 106px; float:left; text-align: left;margin-left: 30px;}
.twfooter .box:first-child {margin-left: 0;}
.twfooter img.externallink {display:none;}


Puis, pour remettre le menu du bas, aller toujours dans le Look and Feel, onglet: Option générale de mise en page et mettre ce code dans la boîte de champ: Bas de page du site sur mesure:

Creative Commons License.

{wiki}{literal}{DIV(class="clearfix twfooter")}{/literal}{/wiki}



++++++++++++++++++++++++++++++++++++++++++++++++



C'est presque tout.

Voici le email de Gary Cunnigham Lee:



Hi Daniel,

Sorry for the delay; I had to wait for the weekend to have any free time, it seems.

I assume what you mean about looking like www.ourwiki.net is to have no side columns, first of all. I see from looking at Marc's page that it uses the old HTML table method and maybe some custom code to lay out the contents. Using tables for layout is outmoded so I think it's better to describe how to this using just Tiki's admin configuration tools. Causing the side columns to not display is easy if you add custom CSS rules on your Admin Look and Feel page, under the Miscellaneous tab. The rules should be like:

html#page_1 #c1c2 #wrapper #col1.marginleft: {margin-left: 0;}
html#page_1 #c1c2 #wrapper #col1.marginright: {margin-right: 0;}
html#page_1 #col1,
html#page_1 #col3 { width: 0; display: none;}

In these rules, the "page_1" is based on the page Id variable for the particular page you want to take the side columns off of. You should verify the page Id by looking at the source code of the displaying page, in your browser (using a menu item that is something like "view: page source", in Firefox or whatever browser you are using). At or near the top of the page you'll see the tag. At the end of that tag you'll see id="page_1" or some other number. This is the number you use in your CSS rules.

Apart from that, the ourwiki.net page seems to be pretty straightforward wiki text, etc. I don't know what your site header looks like but I assume it would be left as is. If you want to simplify the site header, hide the display of certain things, and so on, let me know and I will suggest some other CSS rules to do that.

From Bernard Sfez:
Fix menus
0 A propos
1 Partenaires
1 Mission
1 Aide
1 Mission
1 2018
1 Archives
0 Inscription
1 Inscription
1 Info Lettre
1 Devenir membre
1 Nouveau
1 Questions
0 Calendrier
1 Aujourd'hui
1 A votre service
1 2018
1 2019
1 2024
1 Archives
0 Yoga
1 Styles connus
1 Hatha
1 Thérapeutique
1 Iyengar
1 Egypte
1 Viniyoga
1 Raja
1 Kripalu
1 Styles disparus
0 Divers Etc
1 In English
1 Enfants
1 Wisdom
1 Bhagavad-gita
1 Le stress
1 Boutique
1 Rango&Smoga
0 Voyages
1 Et vous
1 Info voyage
0 Aide
1 Contactez-nous
1 FAQ - Aide
1 Je construit ma page
1 Groupes - Accès
1 Imgs Bootstrap

If you want multilevel menu you should set the "old" CSS Suckerfish menu and disable bootstrap menu at : tiki- admin_modules.php?edit_assign=44&cookietab=2#content_admin_modules1-2
May require some testing (I had to search the information and never tested it).

See SF ticket: 00T1N00002ZdB23


 

S'inscrire à l'Info Lettre

Adresse de courriel: