plone - What's the most straightforward way to move the globalnav to the footer, only on the front page -


I hid various elements normal Plone front page:

 . Section-front-page # portal-global nav {display: none; }   

Now, I want to add a global innovation at the bottom of the footer. I have considered a variety of ways:

  • to select a browser view / template through the display menu
  • Another Wulet
  • JavaScript ( Okay, what I have not because I did not understand it I Javascript not know very well, but it is possible.)

    the best way?

    The Plan 4 and above, you can register Drishylet global name as a global provider :

      & lt; adapter name = "globalnav" For = "* zope.publisher.interfaces.browser.idefaultBrowserLayer * provides" factory = "plone.app.layout.viewlets.common.GlobalSectionsViewlet" = "zope.contentprovider.interfaces.IContentProvider" / & Gt;   

    And then it involved your homepage template or main_template:

      & lt; Tal: block cadence: replacement = "structure provider: globalnav" />    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -