The default "displaytype" parameter is the name of the piece of information you wish to see displayed, this may be one of the following:
created-user - displays the user who created the page
created-date - displays the date the page was created
modified-user - displays the user who last modified the page
modified-users - displays a comma separated list of all the users who have modified the page
modified-date - displays the date the page was last modified
participants - displays a comma separated list of the users who have modified or commented on the page
commenters - displays a comma separated list of the users who have commented on the page
current-version - displays the most recent version number for the page
versions - displays a comma separated list of version numbers, clickable to take you to view that version
diffs - displays a comma separated list of version numbers, clickable to take you to view the differences between that version and the next version
labels - displays a comma separated list of labels, clickable to allow you to view other pages which posess that label
tinyurl - displays a tinyurl link to the specified page
title - displays the title of the specified page
pageId - displays the Id of the current page
page
current page
The name of the page whose information you wish to display, if none is given then the current page is assumed. You can also use @self to refer to the current page and @parent to use the parent page.
dateFormat
Default Date Format
Allows setting the display format for the date and time displayed, when do dat is to be displayed this parameter has no effect. Details of the pattern syntax may be found Date Formats.
type
flat
For those display types that produce a list of information, you can specify:
flat - display a comma separeated list (default)
list - display a bullet list
prefix
When displaying a version numbers you may use this parameter to insert a prefix before the version number. Has no effect with those display types which do not display a version number.
reverse
false
When displaying a list of items, you can set this parameter to true to reverse the order of those items.
count
show all
If you want to limit the number of items shown in a list (eg. versions and diffs) define the number of items to be shown with this parameter.
Displaying the date that the current page was last modified
{page-info:modified-date}
Which looks like:
Nov 25, 2010 09:02
Displaying last modifier and modification date
This page was modified by {page-info:modified-user} on {page-info:modified-date}
Which looks like:
This page was modified by Robin Crorie on Nov 25, 2010 09:02
Formatting dates
By default, dates and times are shown using the format defined in Confluence's General Configuration. However, you can alter this format by using the Date Formats syntax as shown in some of the examples below:
It may at some time be useful to be able to display a list of all of the labels present on the page, this may be achieved using the labels display type
This page parameter may be set to @parent which refers to the parent of the current page. For example, you can display a link to the parent page with the "tinyurl" setting like this:
After installing Builder 2.0.1 I am getting joda errors similar to one described...
After installing Builder 2.0.1 I am getting joda errors similar to one described for scaffolding plugin (using c.2.2.9 with utilities plugin 2.1.3): page-info: java.lang.NoSuchMethodError: org.joda.time.format.DateTimeFormat.getInstance()Lorg/joda/time/format/DateTimeFormat;
You should not need joda time AT ALL ... its usage in confluence was deprecated ...
You should not need joda time AT ALL ... its usage in confluence was deprecated somewhere around 2.5, it is quite a while ago now so I dont remember for sure ... you can find out more precisely by looking at the page-info subversion change log, around the same time as joda time was removed from confluence you will find a comment in page info relating to removing the dependancy on joda time.
Your best bet is to start with a fresh copy of your original install .. uninstall ALL third party plugins ... upgrade confluence ... then reinstall third party plugins using the repository, since this should leave you with the most stable install possible.
Thanks Alain - just to clarify, what "original install" - of Confluence or Theme...
Thanks Alain - just to clarify, what "original install" - of Confluence or Theme Builder? When you say "ALL third party plugins", did you mean all plugins that did not come with Confluence "out-of-the-box"?
Original Install = a duplicate of your live system, ie: the confluence instance ...
Original Install = a duplicate of your live system, ie: the confluence instance that you are upgrading.
All third party plugins = yes, that's exactly what I mean: confluence knows what to do with its own plugins when upgrading, however it cant be expected to know what to do with third party plugins. So to avoid any issues when upgrading over several versions it's usually best to remove anything that might cause a problem before you start the upgrade.
Is there a parameter that allows me to view restrictions in a page. If a page i...
Is there a parameter that allows me to view restrictions in a page. If a page is restricted and I view Page Information from the menu bar, then I get to see if a page has been restricted. Can I use the same info but place it on normal pages?
Hi,
I display an excel file on a page by attaching it to the page and using the ...
Hi,
I display an excel file on a page by attaching it to the page and using the excel macro.
Is there a way to show on the page the last uploaded date of the excel file?
Hi,
a small problem with this macro:
I use this macro to display a link in the ...
Hi,
a small problem with this macro:
I use this macro to display a link in the footnotes, for showing the diffs between the current version and the one before. So I define:
In the version I use (Confluence 2.10.3, Plugin version 1.2.9), version x is compared with version x-1 - just the opposite way it should be.
Via Page information, it is shown (correctly, I think) as 'Version x-1 is compared with current'.
Hi! I'd like to second this question. The comparison seems to be reversed by def...
Hi! I'd like to second this question. The comparison seems to be reversed by default, and enabling reverse=true simply shows the first edit instead of the last. Is there a way to reverse the comparison order?
We use confluence here at JPL/NASA as a sort of internal Wikipedia. If someone ...
We use confluence here at JPL/NASA as a sort of internal Wikipedia. If someone spends a lot of time contributing to article we want them to get credit for it on the main page. Therefore instead of "ADDED BY: Jane Smith" displaying at the top of the page we would like to display "MAIN CONTRIBUTOR: John Smith". Many times the person to start and article and the last one to edit it isn't the one who has spent 20 hours adding all the meat. Seems like you could do some sort of listing of all the editor for each version and then just picking the name that appears most (not a perfect solution but seems like the most feasible). Any suggestions? We have funds if this needs to be custom coded.
Hi Mark,
If it was done merely on time spent, what if the phone rings just afte...
Hi Mark,
If it was done merely on time spent, what if the phone rings just after they go in to edit mode to fix a typo, making it seem like they've spent an hour editing when the actual change is tiny?
Because Confluence retains page versions, and we can determine the difference between the versions, it would be more accurate to identify the percentage of content contributed by each user.
It should be fairly straightforward for us to code a macro which would determine the main contributor. If you're interested, please create a ticket on https://tracker.adaptavist.com in the General & Sales Enquiries project (yeah, I know, using JIRA for sales enquiries is FAIL - we're working on a better approach but not ready yet)
Hi guys. First of all, thank you for this awesome plugin. This is one of my most...
Hi guys. First of all, thank you for this awesome plugin. This is one of my most-used plugins in Confluence UI design.
I'm missing two features however, or I don't know how to implement them:
1. I'd like to include the excerpt of the page just below the title. I figured I'd put in a
{excerpt-include:%page%} or {page-info:excerpt}
but neither of those works. Is there any way to implement this that you know of? Is it possible to get the excerpt displaytype for this macro?
2. When moving to Theme Builder and a custom Confluence theme, I'd like to retain the "View change" and "Show comment" parts from the default theme. I managed to implement this in part... but how do you check whether a comment has been entered for the last change? As it is, I can only always display the "Comment:" text whether or not a comment was actually added in the last edit. Any ideas? I suppose the original theme has some if-clause in the velocity code...
i has same problem. confluence version is 3.1
here is detail error stack info:
...
i has same problem. confluence version is 3.1
here is detail error stack info:
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getOpenSearchTitle' in class com.adaptavist.confluence.builder.BuilderVelocityHelper threw exception java.lang.NoSuchMethodError: com.atlassian.confluence.core.ContentEntityObject.getRealTitle()Ljava/lang/String; at templates/builder/theme/main.vmd[line 102, column 89]
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:351)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.Template.merge(Template.java:328)
at org.apache.velocity.Template.merge(Template.java:235)
at com.atlassian.confluence.util.velocity.VelocityUtils.renderTemplateWithoutSwallowingErrors(VelocityUtils.java:62)
at com.atlassian.confluence.util.velocity.VelocityUtils.renderTemplateWithoutSwallowingErrors(VelocityUtils.java:68)
at com.atlassian.confluence.util.profiling.ConfluenceSitemeshDecorator$StreamingResponseWritingStrategy.renderToResponse(ConfluenceSitemeshDecorator.java:141)
at com.atlassian.confluence.util.profiling.ConfluenceSitemeshDecorator.applyDecoratorUsingVelocity(ConfluenceSitemeshDecorator.java:107)
at com.atlassian.confluence.util.profiling.ConfluenceSitemeshDecorator.applyDecorator(ConfluenceSitemeshDecorator.java:49)
at com.atlassian.confluence.util.profiling.ProfilingPageFilter.applyDecorator(ProfilingPageFilter.java:65)
at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55)
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:41)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.confluence.jmx.JmxFilter.doFilter(JmxFilter.java:106)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:19)
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:47)
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.confluence.web.filter.ThreadLocalCacheFilter.doFilter(ThreadLocalCacheFilter.java:22)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:44)
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:206)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:98)
at com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:30)
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:131)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55)
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:41)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170)
at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.confluence.util.ConfluenceErrorFilter.doFilter(ConfluenceErrorFilter.java:22)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:99)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.confluence.core.datetime.RequestTimeThreadLocalFilter.doFilter(RequestTimeThreadLocalFilter.java:34)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.gzipfilter.GzipFilter.doFilterInternal(GzipFilter.java:81)
at com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.core.filters.cache.AbstractCachingFilter.doFilter(AbstractCachingFilter.java:33)
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)
at com.atlassian.confluence.extra.webdav.servlet.filter.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:43)
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55)
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:41)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.core.filters.encoding.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:41)
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NoSuchMethodError: com.atlassian.confluence.core.ContentEntityObject.getRealTitle()Ljava/lang/String;
at com.adaptavist.confluence.builder.BuilderVelocityHelper.getOpenSearchTitle(BuilderVelocityHelper.java:730)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at com.atlassian.confluence.velocity.introspection.UnboxingMethod.invoke(UnboxingMethod.java:31)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
... 114 more
Thanks for that suggestion, it did not occur to me yet. I will do that.
In this...
Thanks for that suggestion, it did not occur to me yet. I will do that.
In this case I actually did get the results I needed late yesterday by creating a macro for this content (which I wanted to broadly distribute) and using the builder-pagetitle macro. I was surprised this panel macro worked in my custom user macro since it's intended for panels. Should I expect a problem with this in some browsers (I've not tested widely yet) - and is this true for all panel macros? That they can be used in macros(or widgets)?
{builder-pagetitle} should work OK in pages, however if you attempt to use it in...
{builder-pagetitle} should work OK in pages, however if you attempt to use it in a theme other than builder the titles of actions other than pages/blogposts will not get picked up.
Hi,
I want to use this plug-in to show parent page as a default page header, wh...
Hi,
I want to use this plug-in to show parent page as a default page header, which works fine. If there is no parent page it displays an error message which I like to avoid, because I know that there is non.
the current version option displays the version number as a link to the current ...
the current version option displays the version number as a link to the current version. Makes sense in many contexts. However, we're using it to display the version number on the page itself. It would be useful to be able to display either the version number without a link or being able to direct the link to the version history of the page.
Comments (47)
Mar 23, 2006
Alain Moran says:
This is a comment ... Guy, would you care to comment?This is a comment ... Guy, would you care to comment?
Mar 23, 2006
Guy Fraser says:
Yes, I would The macros above will surely pick up on the fact...Yes, I would
The macros above will surely pick up on the fact...
Mar 23, 2006
Anonymous says:
And here is an anonymous comment (actually made by Guy)And here is an anonymous comment (actually made by Guy)
Dec 07, 2006
demo1 says:
After installing Builder 2.0.1 I am getting joda errors similar to one described...After installing Builder 2.0.1 I am getting joda errors similar to one described for scaffolding plugin (using c.2.2.9 with utilities plugin 2.1.3): page-info: java.lang.NoSuchMethodError: org.joda.time.format.DateTimeFormat.getInstance()Lorg/joda/time/format/DateTimeFormat;
Apr 20, 2009
Doods Perea says:
Hi Alain/Guy - I have the same problem as demo1, although my installation info i...Hi Alain/Guy - I have the same problem as demo1, although my installation info is different:
Confluence version: 2.10.3
Theme Builder version: 3.3.4-M2-conf210
The error in the page-info is:
Error formatting macro: page-info: java.lang.NoSuchMethodError: org.joda.time.format.DateTimeFormat.getInstance()Lorg/joda/time/format/DateTimeFormat;
Any thoughts on this please?
Apr 22, 2009
Guy Fraser says:
It's likely that you've got an old version of jodatime floating around somewhere...It's likely that you've got an old version of jodatime floating around somewhere - possibly in WEB-INF/lib
Apr 28, 2009
Doods Perea says:
Hi Guy - I replaced the "joda-time-1.4.jar" with "joda-time-1.6.jar" but the err...Hi Guy - I replaced the "joda-time-1.4.jar" with "joda-time-1.6.jar" but the error won't disappear.
I downloaded the jar file here: http://joda-time.sourceforge.net/
Any thoughts, please?
Apr 28, 2009
Alain Moran says:
You should not need joda time AT ALL ... its usage in confluence was deprecated ...You should not need joda time AT ALL ... its usage in confluence was deprecated somewhere around 2.5, it is quite a while ago now so I dont remember for sure ... you can find out more precisely by looking at the page-info subversion change log, around the same time as joda time was removed from confluence you will find a comment in page info relating to removing the dependancy on joda time.
Your best bet is to start with a fresh copy of your original install .. uninstall ALL third party plugins ... upgrade confluence ... then reinstall third party plugins using the repository, since this should leave you with the most stable install possible.
Apr 29, 2009
Doods Perea says:
Thanks Alain - just to clarify, what "original install" - of Confluence or Theme...Thanks Alain - just to clarify, what "original install" - of Confluence or Theme Builder? When you say "ALL third party plugins", did you mean all plugins that did not come with Confluence "out-of-the-box"?
Apr 29, 2009
Alain Moran says:
Original Install = a duplicate of your live system, ie: the confluence instance ...Original Install = a duplicate of your live system, ie: the confluence instance that you are upgrading.
All third party plugins = yes, that's exactly what I mean: confluence knows what to do with its own plugins when upgrading, however it cant be expected to know what to do with third party plugins. So to avoid any issues when upgrading over several versions it's usually best to remove anything that might cause a problem before you start the upgrade.
May 01, 2009
Doods Perea says:
Hi Alain - I was able to fix the page-info macro error by updating the "Page Inf...Hi Alain - I was able to fix the page-info macro error by updating the "Page Information Plugin".
Thanks.
Dec 12, 2006
Anonymous says:
Is there a parameter that allows me to view restrictions in a page. If a page i...Is there a parameter that allows me to view restrictions in a page. If a page is restricted and I view Page Information from the menu bar, then I get to see if a page has been restricted. Can I use the same info but place it on normal pages?
Jan 31, 2007
Anonymous says:
Is there a way to add the participants of a page in every wiki page (i guess mak...Is there a way to add the participants of a page in every wiki page (i guess make it part of the layout).
Jul 09, 2007
Kirill Kostrov says:
Is there a way to show trackback links from page info?Is there a way to show trackback links from page info?
Nov 30, 2007
Johan Barret says:
Hi, I display an excel file on a page by attaching it to the page and using the ...Hi,
I display an excel file on a page by attaching it to the page and using the excel macro.
Is there a way to show on the page the last uploaded date of the excel file?
Nov 30, 2007
Guy Fraser says:
You could use the [attachments macro] which displays a list of all attac...You could use the [attachments macro] which displays a list of all attachments, who uploaded them and when they were last uploaded.
Mar 04, 2008
Alexander Schinko says:
Is the source available? I would like to have the page labels but without html m...Is the source available? I would like to have the page labels but without html markup.
Thanks,
Alexander
Mar 04, 2008
Guy Fraser says:
The source code is available through Atlassian's developer network SVN.The source code is available through Atlassian's developer network SVN.
Nov 18, 2008
Vincent Kopa says:
Hi, Do you know if that macro is used on a user profile, if there is a way to g...Hi,
Do you know if that macro is used on a user profile, if there is a way to get the profile user's name (or id)?
We need to customize the look of user profiles to show their personal contributions.
If you know any other way to do this (we use theme builder latest dev release), please share it with us.
Thanks for your help,
Vincent
May 17, 2009
Herman de Boer says:
Hi, a small problem with this macro: I use this macro to display a link in the ...Hi,
a small problem with this macro:
I use this macro to display a link in the footnotes, for showing the diffs between the current version and the one before. So I define:
{page-info:diffs|count=1|showComments=false|showVersions=true|prefix=Show changes v}In the version I use (Confluence 2.10.3, Plugin version 1.2.9), version x is compared with version x-1 - just the opposite way it should be.
Via Page information, it is shown (correctly, I think) as 'Version x-1 is compared with current'.
Is there any way to get the desired behaviour?
Thanks in advance, regards,
Herman.
Jan 25, 2010
Jonas Lindström says:
Hi! I'd like to second this question. The comparison seems to be reversed by def...Hi! I'd like to second this question. The comparison seems to be reversed by default, and enabling reverse=true simply shows the first edit instead of the last. Is there a way to reverse the comparison order?
May 20, 2009
Peter Andberg says:
Hi Will there be a way of displaying the number of comments/attachments and per...Hi
Will there be a way of displaying the number of comments/attachments and perhaps the content of the last comment?
With regards
-Peter
Jul 28, 2009
philipp says:
Is there a way to get just the username of the modified-user? Because I want to ...Is there a way to get just the username of the modified-user?
Because I want to display the picture of the modified used by using this user-macro.
thanks!
Jul 28, 2009
Guy Fraser says:
You could use the my-picture macro (free)You could use the my-picture macro (free)
Jul 28, 2009
philipp says:
Hi Maybe I don´t see the solution yet. I would need the picture of the last ed...Hi
Maybe I don´t see the solution yet.
I would need the picture of the last editor of the page.
By using page-info I only get the full-name of the last editor and my-picture offers me only @creator.
regards
Jul 29, 2009
philipp says:
or is there a way to get the username by using the fullname? That would be the l...or is there a way to get the username by using the fullname? That would be the last missing link.
Jul 29, 2009
Alain Moran says:
It will not be possible to retrieve the username using page-info without develop...It will not be possible to retrieve the username using page-info without development which must be paid for.
Searching for users by fullname will need to be done through lucene.
For what you are asking I would suggest paying for an alteration to the my-picture macro in bubbles so that it fits your needs.
Aug 07, 2009
J Lyse says:
I dont seem to find out how the original theme creates its "(view change)" featu...I dont seem to find out how the original theme creates its "(view change)" feature next to the "Added by **, last edited by *** on ***, (view change)"
Can anyone help?
The link on original skin: /pages/diffpages.action?pageId=XXXXXX&originalId=XXXXXX
It compares the most recent version vs the 2nd most recent version.
Oct 07, 2009
Mark Rober says:
We use confluence here at JPL/NASA as a sort of internal Wikipedia. If someone ...We use confluence here at JPL/NASA as a sort of internal Wikipedia. If someone spends a lot of time contributing to article we want them to get credit for it on the main page. Therefore instead of "ADDED BY: Jane Smith" displaying at the top of the page we would like to display "MAIN CONTRIBUTOR: John Smith". Many times the person to start and article and the last one to edit it isn't the one who has spent 20 hours adding all the meat. Seems like you could do some sort of listing of all the editor for each version and then just picking the name that appears most (not a perfect solution but seems like the most feasible). Any suggestions? We have funds if this needs to be custom coded.
Oct 07, 2009
Guy Fraser says:
Hi Mark, If it was done merely on time spent, what if the phone rings just afte...Hi Mark,
If it was done merely on time spent, what if the phone rings just after they go in to edit mode to fix a typo, making it seem like they've spent an hour editing when the actual change is tiny?
Because Confluence retains page versions, and we can determine the difference between the versions, it would be more accurate to identify the percentage of content contributed by each user.
It should be fairly straightforward for us to code a macro which would determine the main contributor. If you're interested, please create a ticket on https://tracker.adaptavist.com in the General & Sales Enquiries project (yeah, I know, using JIRA for sales enquiries is FAIL - we're working on a better approach but not ready yet)
BTW, here's our contribution to your intranet:
{widget:url=http://www.youtube.com/watch?v=zSgiXGELjbc}Oct 28, 2009
Jonas Lindström says:
Hi guys. First of all, thank you for this awesome plugin. This is one of my most...Hi guys. First of all, thank you for this awesome plugin. This is one of my most-used plugins in Confluence UI design.
I'm missing two features however, or I don't know how to implement them:
1. I'd like to include the excerpt of the page just below the title. I figured I'd put in a
{excerpt-include:%page%} or {page-info:excerpt}but neither of those works. Is there any way to implement this that you know of? Is it possible to get the excerpt displaytype for this macro?
2. When moving to Theme Builder and a custom Confluence theme, I'd like to retain the "View change" and "Show comment" parts from the default theme. I managed to implement this in part... but how do you check whether a comment has been entered for the last change? As it is, I can only always display the "Comment:" text whether or not a comment was actually added in the last edit. Any ideas? I suppose the original theme has some if-clause in the velocity code...
Appreciate the help!
Oct 28, 2009
Guy Fraser says:
It would probably be better to ask in Builder Forum.It would probably be better to ask in Builder Forum.
Dec 10, 2009
Fabrizio Galletti says:
I've some problem with page-info:title. with confluence 3.1 doesn't works... Er...I've some problem with page-info:title.
with confluence 3.1 doesn't works...
Error formatting macro: page-info: java.lang.NoSuchMethodError: com.atlassian.confluence.core.ContentEntityObject.getRealTitle()Ljava/lang/String;
Dec 10, 2009
Fabrizio Galletti says:
I've some problem with page-info:title. with confluence 3.1 doesn't works... Er...I've some problem with page-info:title.
with confluence 3.1 doesn't works...
Error formatting macro: page-info: java.lang.NoSuchMethodError: com.atlassian.confluence.core.ContentEntityObject.getRealTitle()Ljava/lang/String;
May 29, 2010
spring cc says:
i has same problem. confluence version is 3.1 here is detail error stack info: ...i has same problem. confluence version is 3.1
here is detail error stack info:
Mar 22, 2011
marco polo says:
Are there any solution for 3.1 that you have found?Are there any solution for 3.1 that you have found?
Mar 23, 2011
Alain Moran says:
I assume you have tried upgrading to the latest release? ... you can force this ...I assume you have tried upgrading to the latest release? ... you can force this to happen by uninstalling the existing version and then reinstalling.
Mar 23, 2011
marco polo says:
Thanks for that suggestion, it did not occur to me yet. I will do that. In this...Thanks for that suggestion, it did not occur to me yet. I will do that.
In this case I actually did get the results I needed late yesterday by creating a macro for this content (which I wanted to broadly distribute) and using the builder-pagetitle macro. I was surprised this panel macro worked in my custom user macro since it's intended for panels. Should I expect a problem with this in some browsers (I've not tested widely yet) - and is this true for all panel macros? That they can be used in macros(or widgets)?
Mar 23, 2011
Alain Moran says:
{builder-pagetitle} should work OK in pages, however if you attempt to use it in...{builder-pagetitle} should work OK in pages, however if you attempt to use it in a theme other than builder the titles of actions other than pages/blogposts will not get picked up.
Mar 23, 2011
marco polo says:
Thanks for taking the time to explain that. I've updated the plugin as you sugge...Thanks for taking the time to explain that. I've updated the plugin as you suggested and am using this page-info macro now with success.
Mar 23, 2010
Ian says:
Hi, is there any solution so fat to this error with page-info:titleHi, is there any solution so fat to this error with page-info:title
May 13, 2010
Ricardo Mayerhofer says:
Hi, dateFormat seems to have no effect. page-info:created-date|dateformat:dd/MM...Hi, dateFormat seems to have no effect. page-info:created-date|dateformat:dd/MM/YY prints May 02, 2010 19:00.
Any clue on what is happening?
Jun 23, 2010
Goran Tornqvist says:
This works for me: page-info:modified-date|dateFormat=yyyy-MM-dd HH:mmThis works for me:
page-info:modified-date|dateFormat=yyyy-MM-dd HH:mm
May 29, 2010
Klaus Feldmann says:
Hi, I want to use this plug-in to show parent page as a default page header, wh...Hi,
I want to use this plug-in to show parent page as a default page header, which works fine. If there is no parent page it displays an error message which I like to avoid, because I know that there is non.
Any Idea?
Cheers, Klaus
May 29, 2010
Guy Fraser says:
The builder-show macro might be of use: {builder-show:page=@parent|conte...The builder-show macro might be of use:
{builder-show:page=@parent|context=page} this will only be shown if the current page has a parent page {builder-show}Nov 19, 2010
Ville Valtasaari says:
the current version option displays the version number as a link to the current ...the current version option displays the version number as a link to the current version. Makes sense in many contexts. However, we're using it to display the version number on the page itself. It would be useful to be able to display either the version number without a link or being able to direct the link to the version history of the page.
Regards,
Ville
Feb 10, 2011
Michael Roff says:
Is there a way to get grandparent, greatgrandparent and so on information for p...Is there a way to get grandparent, greatgrandparent and so on information for
?
Parent info is straigh forward using page=@parent
I have tried nesting the report such as
{page-info:title|page={page-info:title|page=@parent}but that doesn't work.
As I am using the page-info inside a replace-and-render I have tried this also:
{replace-and-render} {replace-body} {create-child:greatgrandchild to %grandparent%|parent=@self|template=greatgrandchild|render=true} {replace-body} {replace-item:%grandparent%} {page-info:title|page=%parent%} {replace-item} {replace-item:%parent%} {page-info:title|page=@parent} {replace-item} {replace-and-render}this doesn't work either.
So I thought I would ask the experts. Is there a way to do this?