Hello,
We had a slight customisation to the standard Documentation scheme on our Confluence site, which seems to have been lost during an upgrade to v3.5.
Our site logo is quite wide, and the change was to move the page title down to the line below (rather than the space next to the logo) so that there's more room for it, and longer titles don't wrap around.
I think - according to some information left by the previous administrator - that this was done using the change below. But we've reapplied this after the upgrade and it's not worked.
Can anybody tell me how to do this? Thanks.
-----
The previous change seems to have been:
With the help of Atlassian support this was achieved by getting the following file from (the server):
/usr/local/confluence-data/bundled-plugins/doctheme-1.0.7.jar
Within this file we simply modified the main.vmd file, which is in:
doctheme-1.0.7\doctheme\decorators
Change this:
< h1 id = "title-heading" class = "pagetitle" > #if ($sitemeshPage.getProperty("page.username")) #set ($tildeUsername = "~$username") #logoBlock($tildeUsername) #else #logoBlock($spaceKey) #end < span id = "title-text" > #if ($sitemeshPage.getProperty("page.title-text-span")) $sitemeshPage.getProperty("page.title-text-span") #else #pageTitleLink() #end </ span > </ h1 > |
to:
#if ($sitemeshPage.getProperty("page.username")) #set ($tildeUsername = "~$username") #logoBlock($tildeUsername) #else #logoBlock($spaceKey) #end < h1 id = "title-heading" class = "pagetitle" > < span id = "title-text" > #if ($sitemeshPage.getProperty("page.title-text-span")) $sitemeshPage.getProperty("page.title-text-span") #else #pageTitleLink() #end </ span > </ h1 > |
Then we just upload the customised doctheme-1.0.7.jar file via _Confluence Admin >> plugins_
No, I never got it to work despite trying the suggestions... Eventually we just got used to the title wrapping around, but it would still be nice to fix.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Restarting Confluence to pick up a a plugin change shouldn't be necessary - Confluence has a built-in system that reloads changed plugins. :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Random guess: try blowing away the temporary plugin directories in your Confluence home directory and re-starting Confluence. Perhaps a combination of the fact that the doc theme is (a) a bundled plugin, and (b) the version of your jar file is unchanged. The following directories are safe to delete:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We did restart Confluence, although not sure about removing the temporary plugins first (our IT guys applied the change itself).
I just tried the stylesheet suggestion, but the global stylesheet doesn't apply to spaces using themes, and we're using the Documentation Theme.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
(After a delay) I've asked IT to try the suggestion of deleting these directories. To clarify, it's just the transformed-plugins directory that should be deleted, not the whole plugins-osgi-cache, right?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm facing exactly the same situation:
* logo size too large.
* I would like to add a line break after the logo so the page title starts always in a new line.
Richard / Joseph did you find a solution?
Like Richard we are using the "Documentation Theme" as default for all Spaces (like probably 99% of all Confluence customer who are not working with Adaptavist add-ons).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Becasue I have been working in windows recently...did you restart Confluence after you made the change? It might be worth a try.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.