Re: xbootstrap - menu horizontal | Titre du sujet : Re: xbootstrap - menu horizontal par alain01 sur 22/01/2020 09:25:54
Une solution à ta demande serait d'inclure le contenu d'un bloc dans ton menu. Tu pourras ainsi modifier le bloc et le menu sera directement impacté. Comprends-tu comment faire ?
Citation :// Usage : just place <{block id=1}> inside any template or theme, replace '1' with the id of the block you want to show // // Other options: // display = 'title' -> shows just title // display = 'none' -> renders the block but does not display it // options = 'enter|block|options' -> overwrites block default options // groups = 'enter|allowed|groups' -> overwrites block default group view permissions // cache = 3600 -> overwrite cache time(in seconds) // // Examples: // <{block id=1 display="title"}> displays just the block title // <{block id=1}> displays just the block content // <{block id=7 display="none"}> does not display nothing but executes the block, this can go for online block or to trigger some cron block // <{block id=600 groups="0|1" cache=20}> display block just for this 2 groups and sets a cache of 20 seconds // <{block id=600 options="100|100|s_poweredby.gif|0"}> displays block with diferent options
Avec ceci, je pense que cela sera plus clair, non ?
|
|