Comments
-
Well you will need to write a user macro. Fortunately, someone has already created an include child pages macro. The code is here: https://github.com/unidwell/confluence-include-child-pages-macro
-
How about something like: #set($cal.setTimeInMillis=$creationDateOriginal.getTime()+ 5000)
-
How are you loading the script? But I assume the issues is that you are running the code on the view of the page, but not actually changing the source of the page. There is a separate process for installing plugins for TinyMCE and it involves writing a Confluence plugin. Fortunately, there is a tutorial.…
-
When you say "admin of a page", do you mean the page's creator? If so, you cannot change the creator's name.
-
How about user macro based on the status macro? Then you they can just open the macro, and select from a set of statuses and the color would predefined. The user macro acts as a wrapper around the status macro to make configuring it quicker and restricts it to set of values.
-
Or, you can change it permanently for all tables in your space/site. Just update the CSS file (look and feel). Users can always manually override the setting. I uses this method to use our corporate colors for the heading row, set the font size larger and center all of them, One other note, that the table highlighting…
-
When you import Word, it will always try to import at root of the space OR you can specify a different root (under Root page title: ). You can also specify if it is to replace the current page you are on or not. So you can start an import wherever you want. Now if you have a larger document, you can specify at what heading…
-
Yeah, you can only copy and paste the rendered graph (PNG). It will not be editable.
-
Well what you want to do then is to export the underlying data, and use the PowerPoint or Excel to generate the chart. Can't you just copy the data table out of the page?
-
I can suggest two methods: * Some charting plugins save the chart as a PNG attachment to the page. You can download from there. * (This is a good general tip) Newer versions of Firefox have a "Take a Screenshot" widget which is very powerful. It can recognize blocks on a web page, but also allows a custom shape. You can…
-
Yes that should work. I built a similar structure for a macro recently.
-
I have written user macros that incorporate both of these macros and not had issues. Could you post that part of the macro code and maybe a screenshot of what is happening?
-
There is a method .getTitle(). So this should work: $content.getTitle() If you are on a pre 6.x version, there is this macro designed to do exactly what you want to do: https://confluence.atlassian.com/conf59/space-jump-macro-792499201.html Not clear why the deleted it.
-
If I understand correctly, you are opening a console window in the browser. Any changes you make there do not persist, and will disappear on page refresh. It is a good method to test changes, but you have to write a specific CSS rule based on your tests and save it to Confluence. Also, you want to open the console of the…
-
If if works, please give a vote or accept the answer, please. ;-)
-
I will tell you from personal experience, you can make what looks like a page properties macro on the page, BUT the page properties report macro will NOT read the data.
-
I think you should file a support case. Maybe they can see something in the logs that would explain what is going on. Are their other users seeing the same thing on your instance?
-
One thing that sticks out at me is that the images look like they were pasted into the Confluence page, rather than linked to either an attachment on the page or another page within Confluence. I have seen strange behavior with pasted images. For example, this is what I would have expected to see for an image correctly…
-
Is this only in cloud?Which browser (and version) and OS are you on? And to debug, I would suggest using another browser to try to track down the issue. I have seen differences between FireFox and Chrome in the past (albeit, not this severe).
-
I love these articles as they help me be a better user macro writer.
-
Sure, the first part is to start with the user docs: https://confluence.atlassian.com/conf610/user-macro-template-syntax-952622979.html But you will have to do research from there, looking at complex examples of macros plus the Confluence API docs to find what available objects and methods are available. Here is an example…
-
If it works, please click accept. ;-)
-
Ah! Yet another reason to not use cloud. ;-) BUT I had another thought, if you have access to server Confluence, you can develop and test your user macro, THEN package it as a plugin. Maybe that is a workaround? You would need to confirm with Atlassian support. But to prevent that method, they would have to deny one module…
-
Check the user name (differs from the display name). Also try other user names (for example if there was a change in user directories, could cause none to appear). I tried on my Instance 5.10.x, inserting the markup into the wiki markup macro, and it worked as expected. But generally, this is a situation where you will…
-
Yeah, look at my edit. A user macro wrapper is what you want.
-
Well I am not sure what you mean by Basically, this lists all pages that reference this page, as well as defined properties. References how? Links to it? Did you try adding a filter and using the CQL filter using With title? Or can you filter looking only at child pages (With ancestor), or via page labels? This may also be…
-
Are formatting the data as paragraphs? Have you tried shift+enter?
-
The associated tag says server, but you doc link you sent was for cloud. The server version does not have the ability to screen for space. And I think that the doc you are looking at is out of date regarding the wiki markup (it is slated for deprecation), for example, that sample does not appear on the server docs.
-
Well this variable and method is available, but not clear it will work in the macro as a field: $content.getTitle() I am not exactly clear what you want to do, but take a look at the docs on the CQL field/filter. It does allow references to ancestors and parents. page-properties-report-macro
-
This behavior sounds really odd? Have you tried different browsers? Does this occur if you are pasting text that is not plain text?