Top and Left Navigation Theme

Name Top and Left Navigation Theme
Vendor Christian Hansen
Authors Christian Hansen
Homepage http://confluence.atlassian.com/display/CONFEXT/Top+and+Left+Navigation+Theme
Issue Management n/a
Categories Themes
Version 1.1
Availability Confluence v2.2.5 to v2.10-m1
State Stable
Support Unsupported Plugins
License Freeware / Open Source (BSD)
Price Free
Release Docs http://confluence.atlassian.com/display/CONFEXT/Top+and+Left+Navigation+Theme
Java API Docs n/a
Download Source n/a
Download JAR themes-topandleftnavigation.jar
Download Source Download Source


Description/Features


Minor modificaton of the "Leftnavigation" theme. Has left navigation and page ops from leftnavigation and the top bar from the default theme.
This theme is just a minor modification of the standard Confluence "Leftnavigation" theme. It retains the left navigation capability together with the chance to integrate one page on the left hand side, but also adds the top navigation bar from the Default theme. Additionally the styles have been modified a bit, so that ordered and unordered lists in the navigation page, will be displayed as "navigation items" with mouseover-effects in the left navigation.
Only stylesheet and main.vmd, page.vmd and blog.vmd have been modified - in all other code parts only the theme name has been replaced.

Installation

Just install the theme as any other - put the .jar in the WEB-INF\lib directory. Alternatively you can clean/build/install from the source code via ant.
The jar is built with Java 1.5, for Java 1.4 installations the code has to be rebuilt from source as described here.

Screenshots

New Information for Confluence 2.7 (Feb 2008)

I cannot keep up with maintaining that theme, so newer and older versions will not follow Atlassians new confluence versions. Nevertheless I have provided a new version, which works for my 2.7 installation here. I cannot say, what it will do with older or newer versions, as it follows Atlassian's new concept for stylesheets it will definitly not work for pre-2.6 versions. (more information for that here: http://confluence.atlassian.com/display/DOC/Including+Cascading+Stylesheets+in+Themes+for+Confluence+2.6)

Any help for maintaining the theme or putting it into the repository is very welcomed.

I personally also wonder, if it is wise to use and develop that theme further, or if it is not better to switch to editing decorators directly in the confluence installation. Information for that can be found here http://blogs.atlassian.com/news/2007/11/spot_the_plugin.html or here http://confluence.atlassian.com/pages/viewpage.action?pageId=96076078. The Bamboo Space in confluence.atlassian.com is an example for such a method.

Download Version 2.2 for Confluence 2.7
Download


Labels

plugin plugin Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Aug 31, 2006

    Dan Hardiker says:

    I expect this should be also be uploadable? If so it would make a nice addition ...

    I expect this should be also be uploadable? If so it would make a nice addition to the plugin repository. If you need help with adding it, please email support@adaptavist.com where we will be happy to help you.

  2. Sep 15, 2006

    Peter Brandström says:

    It doesn't work with 2.1.4...  there's no top menu

    It doesn't work with 2.1.4...  there's no top menu

  3. Oct 02, 2006

    Joachim F. Kainz says:

    I get the following error when trying to install this on 2.2.8: Expected plugin...

    I get the following error when trying to install this on 2.2.8:

    Expected plugin key [at.hansen.confluence.topleftnav] and got [com.atlassian.confluence.themes.topandleftnavigation] from: http://svn.atlassian.com/svn/public/contrib/confluence/TopLeftNav-Theme-Plugin/TopLeftNav-Theme.jar

    1. Oct 04, 2006

      Christian Hansen says:

      I fixed a problem with the plugin keys. Now it should be installable via the plu...

      I fixed a problem with the plugin keys. Now it should be installable via the plugin repository client !

  4. Oct 21, 2006

    liuxy says:

    My confluence version is 2.0 and JDK version is 1.5.0. The plusin is installed a...

    My confluence version is 2.0 and JDK version is 1.5.0. The plusin is installed and the theme is applied, but nothing happens.

  5. Nov 07, 2006

    Brian Esmail says:

    Is there something with this theme that won't allow me to remove children from b...

    Is there something with this theme that won't allow me to remove children from being viewed?  The LeftNav Theme will display children despite commenting out render children.  Interestingly enough, this only occurs on any pages that can be reached via the left navigational menu.  If a page can be clicked on from that menu, it will always open up with children being viewable.

  6. Dec 20, 2006

    Andrew Miller says:

    This theme is working quite well for us.....but does throw tons of errors in the...

    This theme is working quite well for us.....but does throw tons of errors in the logs. Basically stuff like this over and over again.... (stack trace trimmed).

    Thoughts?

    ~~~~~~~~~~~

    2006-12-20 11:34:00,045 ERROR [confluence.setup.bandana.ConfluenceBandanaPersister] loadBandanaMap Error loading stream for context : [com.atlassian.confluence.setup.bandana.ConfluenceBandanaContext@18799, spaceKey='ecw']
    com.thoughtworks.xstream.converters.ConversionException: com.atlassian.confluence.extra.leftnavigationwithtabs.LeftNavSettings : com.atlassian.confluence.extra.leftnavigationwithtabs.LeftNavSettings
    ---- Debugging information ----
    required-type : java.util.HashMap
    cause-message : com.atlassian.confluence.extra.leftnavigationwithtabs.LeftNavSettings : com.atlassian.confluence.extra.leftnavigationwithtabs.LeftNavSettings
    class : com.atlassian.confluence.setup.bandana.ConfluenceBandanaConfigMap
    message : com.atlassian.confluence.extra.leftnavigationwithtabs.LeftNavSettings : com.atlassian.confluence.extra.leftnavigationwithtabs.LeftNavSettings
    line number : 23
    path : /confluence-config-map/values/entry[3]/com.atlassian.confluence.extra.leftnavigationwithtabs.LeftNavSettings
    cause-exception : com.thoughtworks.xstream.alias.CannotResolveClassException
    -------------------------------
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:45)
    at com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(ReferenceByXPathUnmarshaller.java:39)
    at com.thoughtworks.xstream.converters.reflection.ReflectionConverter.unmarshal(ReflectionConverter.java:100)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:38)
    at com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(ReferenceByXPathUnmarshaller.java:39)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:99)
    at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:12)
    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:549)
    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:537)
    at com.thoughtworks.xstream.XStream.fromXML(XStream.java:505)
    at com.atlassian.confluence.setup.bandana.ConfluenceBandanaPersister.loadBandanaMap(ConfluenceBandanaPersister.java:73)
    at com.atlassian.confluence.setup.bandana.ConfluenceBandanaPersister.retrieve(ConfluenceBandanaPersister.java:37)
    at com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaPersister.retrieve(ConfluenceCachingBandanaPersister.java:48)
    at com.atlassian.bandana.DefaultBandanaManager.getValue(DefaultBandanaManager.java:34)
    at com.atlassian.confluence.mail.DefaultMailAccountManager.getMailAccounts(DefaultMailAccountManager.java:157)
    at com.atlassian.confluence.mail.DefaultMailAccountManager.poll(DefaultMailAccountManager.java:49)
    at com.atlassian.confluence.mail.DefaultMailAccountManager.pollAllSpaces(DefaultMailAccountManager.java:239)
    at sun.reflect.GeneratedMethodAccessor413.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149)

  7. Jan 29, 2007

    Peter Brandström says:

    This is my favourite theme, I just miss one feature from JSPWiki. It has a link ...

    This is my favourite theme, I just miss one feature from JSPWiki. It has a link called "Edit this menu" which gives you direct access to the left hand side menu and unfortunately it is really difficult to create such a link from within the theme, you basically have to know the pageId of the Navigation page of the space.

    Here is a JSPWiki screenshot. On the left hand side, in the menu, there is an option "Edit this menu". It's a single click away.

    http://jspwiki.org/attach/MRGTemplate/screenshot-mrg.png

    Here is how I ended up solving it:

    http://forums.atlassian.com/thread.jspa?messageID=257241378&#257241378

    1. Jan 29, 2007

      Andrew Miller says:

      Hmm....a slightly easier alternative (and what we did is just to add a link to ...

      Hmm....a slightly easier alternative (and what we did is just to add a link to edit the Navigation page to the bottom of the Navigation page itself. Something like.....

      http://<ourwiki>/pages/editpage.action?pageId=325

      Thanks.

  8. Jan 30, 2007

    Andrew Miller says:

    Is anyone using this them with Gliffy installed? All the other themes I'm using...

    Is anyone using this them with Gliffy installed?

    All the other themes I'm using show the "Add Diagram" link whereas this one doesn't (the previous version did but not the 1.1 version).

    1. Feb 02, 2007

      Mei Yan Chan says:

      Hi Andrew, I was able to replicate this problem you are encountering. Perhaps, ...

      Hi Andrew,

      I was able to replicate this problem you are encountering. Perhaps, you would like to notify the author regarding this issue.

      Regards,
      Mei

      1. Feb 02, 2007

        Andrew Miller says:

        Doing so now. I also noticed that the "Add Diagram" link and icon does show up...

        Doing so now.

        I also noticed that the "Add Diagram" link and icon does show up correctly on the sidebar drop-down links but not not on the top left links (in case that helps in tracking it down).

        1. Dec 19, 2007

          Chris Kohlhardt says:

          Sorry to chime in so late on this one. We've documented this issue, and believe...

          Sorry to chime in so late on this one.

          We've documented this issue, and believe the cause is related to the way this theme presents web items. In summary, I believe this theme hard codes the 'Add Page', 'Add News', etc links when is should iterate programatically over all available web items. More info here:

          http://jira.gliffy.com/browse/GLIFFY-37

          If we here a lot of people asking for help with the top and left theme, we would be willing to spend some time trying to fix this.

          Chris K
          Gliffy

  9. Feb 08, 2007

    Christian Hansen says:

    Just a note from the "author": I am following the posted comments, but I cannot ...

    Just a note from the "author": I am following the posted comments, but I cannot spend much time into debugging and working on the theme. I would invite everybody to continue working on it - I have made the source public as well - and the modifications I have done are really minor, basically just putting some lines of code from the "basic" theme into the "left navigation" theme, actually there are just modifications in the space.vmd, blog.vmd and page.vmd files and those modification are more or less on a "copy HTML + variables" niveau.

    What I already found out is that the codebase of the basic and left navigation theme have changed from 2.2.x to 2.3.x but I have no idea what really was done. Maybe that has something to do with the gliffy plugin. The last modifications I have done are just modifying so far, that it works again in my 2.3.1 environment.

  10. Jun 26, 2007

    Prasanna Anjaneyulu says:

    Could you please help me how to customize the header and footer for the spa...

    Could you please help me how to customize the header and footer for the space when the themes-topandleftnavigation is selected as a theme for space level..
    Thanks and Warm regards,

    Prasanna.

  11. Nov 21, 2007

    Mark says:

    Upgraded from 258 to 261 Theme still works but the gallery function now breaks ...

    Upgraded from 258 to 261

    Theme still works but the gallery function now breaks the layout.
    The flash gallery appears 10 page scrolls down and below the content, it no longer floats on top of page content.

    Can someone help me? 

    1. Nov 22, 2007

      Choy Li Tham says:

      Hi Mark, Please raise a support ticket in our support system: https://support.a...

      Hi Mark,

      Please raise a support ticket in our support system: https://support.atlassian.com so that we can further investigating from there. Thanks.

      Regards,
      Choy Li

  12. Dec 08, 2007

    Roberto Dominguez says:

    Fixed a bug on this theme that was causing the Approvals Workflow Plugin's page ...

    Fixed a bug on this theme that was causing the Approvals Workflow Plugin's page approvals not to show (APRV-39)

    I've created a new jar topleftnavigation-1.2.jar and tested in on 2.6.2 and looked ok.

    I also created a pom.xml so it can be built with maven.

    I am way to busy as to try other versions... If somebody could give it try, that'd be great

    1. Jan 24, 2008

      Mark says:

      Roberto, thanks for the update. How exactly do I install this? I tried removing...

      Roberto, thanks for the update.

      How exactly do I install this? I tried removing the existing topleft them from Plugins repository and it won't uninstall.

      Then I manually installed your .jar via the admin web interface, and it seems to have uploaded, but the info on the theme is still showing 1.1. Do I need to drop this file onto server manually?

      Now that I've done this procedure all my spaces look like there's no css loading, so look very rough. This is in 2.7. Will continue to report what I find. 

      Thanks

      1. Jan 24, 2008

        Roberto Dominguez says:

        It seems like you had installed the previous version manually... Look for the ja...

        It seems like you had installed the previous version manually... Look for the jar file (themes-topandleftnavigation.jar) in your data directory, and remove it. Then Restart and try again.

        1. Jan 31, 2008

          Mark says:

          where exactly? /data/bundled-plugins/ does not have themes /data/plugin-cache/ ...

          where exactly?

          /data/bundled-plugins/ does not have themes
          /data/plugin-cache/ has downloadedPlugin.xxxxxxxxxxxxxx.xxxxxtheme.jar

          I have removed that, and copied in your file, and renamed it to themes-topandleftnavigation.jar in /data/plugin-cache/

          When I restart after this I still get errors in the plugin list:
          Velocity Helper
          *Error:*There was a problem loading the descriptor for module 'velocity-context-item' in plugin 'Top and Left Navigation Theme'. Class version is incompatible with current JVM: com.atlassian.confluence.extra.topandleftnavigation.LeftNavVelocityHelper

          Java Version 1.4.2_16
          JVM Version 1.0
          JVM Implementation Version 1.4.2_16-b05
          Java Runtime Java(TM) 2 Runtime Environment, Standard Edition
          Java VM Java HotSpot(TM) Server VM


  13. Feb 04, 2008

    Mark says:

    Is anyone making progress on getting this to work with 2.7.x ? I've lost all lef...

    Is anyone making progress on getting this to work with 2.7.x ?
    I've lost all left navigation on wiki spaces, and it's sort of crippling to go w/out it.

    The T&L modified theme has weird css issues, and this one won't work at all for me.

    1. Feb 05, 2008

      Christian Hansen says:

      Hi Roberto and Mark, I am sorry, that I cannot provide any sort of maintai...

      Hi Roberto and Mark,

      I am sorry, that I cannot provide any sort of maintainance of that theme, but I have made some modifications on my theme here, and I uploaded that to that page. I did not work from Roberto's version, but from my original one, so please check, if any of your improvements need to be re-implemented.

      What I did was:

      • Include most of the original 2.7 decorator code
      • Include the original site_css.vm for 2.7 from Atlassian

      So it should work and look just like a 2.7 installation with the left nav, most css issues should be gone. But I guess it only works with 2.7 (or maybe 2.6+)

      I have not looked at any possible Gliffy issues, since I do not use that here.

      In my environment here it worked without problems in 2.7. BTW, I have not put it in the repository ....

      Yours,
      CHris

  14. Mar 05, 2008

    Peter Brandström says:

    I'm trying to upgrade from Confluence 2.5.8 to 2.7.1, seems I am out of luck!...

    I'm trying to upgrade from Confluence 2.5.8 to 2.7.1, seems I am out of luck!

    I tried v2.0 of the plugin with 2.7.1, but for some reason I don't see the Page and Space operation menus in the left pane. I also get this error:

    -\- url: /display/X/Main | userName: pebr | action: viewpage | page: 1873
    org.apache.velocity.exception.ParseErrorException: Encountered "\n" at line 53, column 124.
    Was expecting one of:
         "," ...
         ")" ...
          ...
          ...
    

    Any ideas?

    If I try older versions I run into CSS trouble such as http://jira.atlassian.com/browse/CONF-10424

    I also find the versions confusing and spread out, it would help if there was a version compatibility table.

    I still think this is the best theme, we use it for almost all our spaces!

    1. Mar 05, 2008

      Peter Brandström says:

      I noticed that some of lines in page.vmd were split and had to be joined togethe...

      I noticed that some of lines in page.vmd were split and had to be joined together again, then the menus reappeared.

      Unfortunately I found that the Edit page looks really weird, some CSS problem I guess. The View, Edit, Attachments etc menu is vertical and to the right. I don't think I will be able to fix this.

      I also have the problem that I cannot uninstall the plugin using the Administration interface, I get a stack trace. I have to delete the plugin from the plugin-cache and restart Confluence.

      1. Mar 05, 2008

        Choy Li Tham says:

        Hi Peter, It would be appreciated that if you could raise a support request at ...

        Hi Peter,

        It would be appreciated that if you could raise a support request at here pertaining to the problem that you are having, as we could further investigate the problem and follow up the issue from there.

        Regards,
        Choy Li

        1. Mar 06, 2008

          Christian Hansen says:

          HI Choy, my dream scenario would be that Atlassian would adopt that theme and i...

          HI Choy,

          my dream scenario would be that Atlassian would adopt that theme and incorporate into the standard theme the option to include a page in the left pane (I'm not too fond of the buttons links in the left menu, so that's not necessary)

          Do you think, that would be possible somehow ? 

          Yours,
          Christian

      2. Mar 06, 2008

        Christian Hansen says:

        Hi Peter,  sorry for the buggy version, I have now uploaded a jar-file whi...

        Hi Peter,

         sorry for the buggy version, I have now uploaded a jar-file which has no broken lines in it. With that version, everything works fine for my 2.7.1 installation, also the edit window. Could you post a screenshot for the weird appearance ?

        Yours,
        Christian

        1. Mar 06, 2008

          Peter Brandström says:

          I haven't got the time right now to test your latest upload, but here is a scree...

          I haven't got the time right now to test your latest upload, but here is a screen shot of the previous version:

        2. Mar 11, 2008

          Peter Brandström says:

          Hello Christian, With Confluence 2.7.2 and theme v 2.1 I have two problems: 1)...

          Hello Christian,

          With Confluence 2.7.2 and theme v 2.1 I have two problems:

          1) The Edit view is garbled in Firefox 2.0.0.12 but not in IE7. I think this can be fixed by adding a </table> tag

          2)  Most of the space menu options have a misrendered tab bar, see screenshot:

          I get this error in both IE7 and Firefox 2.0.0.12

          I guess it has to say <li class="tabs"> instead of just <li>, but even with that I get some funny formatting in Firefox (not IE7), the tab bar floats on top of the text (obscures it) in e.g. Space Bookmarks.

          1. Mar 13, 2008

            Christian Hansen says:

            Hi Peter, thanks for all your testing. I have now made a major overhaul of the ...

            Hi Peter, thanks for all your testing.

            I have now made a major overhaul of the page.vmd and space.vmd - they are now nearly identical to the original decorators.

            I have uploaded a plugin version 2.2. 

            Now both editing and space options work without problems for me, also in FF 2.0.0.12

            Yours,

            Christian

            1. Mar 13, 2008

              Peter Brandström says:

              Hi Christian, Great work, all the problems are gone, only one more problem: I ...

              Hi Christian,

              Great work, all the problems are gone, only one more problem:

              I don't get a style sheet for the Dashboard in Firefox 2.0.0.12, but it works perfectly with IE7. The style link returns an empty document in Firefox, no matter how I try to Reload.

              If I use wget on the style sheet url I get the expected result, ditto IE7, but not in Firefox. So it must be a Firefox problem. 

              Cheers,

              Peter 

              1. Mar 13, 2008

                Peter Brandström says:

                And this problem went away after I restarted Firefox. Must be a Microsoft design...

                And this problem went away after I restarted Firefox. Must be a Microsoft design.

                Thanks for a great theme!

  15. Mar 06, 2008

    Peter Brandström says:

    I tried Top and Left Navigation v1.1 with Confluence 2.7.2, and for some reason ...

    I tried Top and Left Navigation v1.1 with Confluence 2.7.2, and for some reason it looks good.

    I don't have time right now to look further, will try next week.