Comments
-
You can, but by using the filter option. Look at this doc page (CQL fields section) page-properties-report-macro-186089616.html It will allow you to build complex filter expression.
-
The key is to use the inspect function in a browser to determine the HTML, and attributes of the element. For the text display in the expand macro, the actual HTML is the following: <div id="expander-2064343605" class="expand-container conf-macro output-block" data-hasbody="true" data-macro-name="expand"> <div…
-
Hi Sara, Here is the code for a user macro setting four statuses (statusi?) with predefined colors. Also there is a trick to force a sort order (a hidden number). User macros are very powerful, and this one will show you a few tricks. So with this simple macro, you have far less issues with users picking their own settings…
-
I built something similar to this where we needed a top-level report (using the page properties report macro). To make the status entry consistent, I also create a user macro to control the user options of the status macro (text and colors). And as Henning said, I built a template for the child pages with this macro…
-
If you are server, can you not highlight the characters you want t format and apply monospace to them?
-
You can take a look here, to see if you can identify the file: /opt/atlassian/confluence/confluence/includes/css
-
Interesting thought. Use the inspect function of your browser to figure out the path of the global CSS file.
-
Actually, you could create multiple index pages by modifying labels. For example, an index page for pages with label kb-how-to-article2. Then use the https://confluence.atlassian.com/doc/content-report-table-macro-317194676.html to create the listing. You could also have multiple tables on a single page, that would allow…
-
Typically this is because you have no param statements. And if you have no parameters in your macro, then you must add: ## @noparams
-
The easiest way is to use the Invite link option. This then sends an email to the user, inviting them to join Confluence, and lets them set their password. I have multiple outside users, and this is the method I use.
-
I am assuming you are wanting to make this change site/space wide. If so, the easiest, cheapest and most effective way to accomplish this is to edit the CSS stylesheet. This is something I do every time I set up a new Confluence server, to a) fix annoying issues and b) to have Confluence conform more to the clients…
-
So I would suggest NOT using Preformatted, but rather select the standard paragraph and then format as monospace where needed (which works at character level, rather than block). Preformatted is a block-level tag in HTML (like p tags), and that is what is causing the issue (along with how the editor treats it).
-
Well there are guides, and samples out there. There is also a complex sample that deals with labels here: https://github.com/unidwell/confluence-include-child-pages-macro And yes there is a learning curve, but user macros allow you to fill in the holes in Confluence. And when I started, I knew nothing about VTL or Java.…
-
What formatting do you want to do? Your only other easy solution is to delete the space between each line and then enter soft-returns (shift+Enter) - this inserts break tags (br). What is happening is that when you paste, it is interpreting the returns at the end of each line as a new paragraph (wrapping each line in p…
-
For this type of text (terminal output), I just insert it into a code macro (set to plain text), no title. Then you can easily delete any extra lines if they occur.
-
Well if by "standard" Confluence functionality, you include user macros, then yes. If you are comfortable with VTL and Java methods, the two you would need would be the getPage() and getLabels() (the last returns a collection).
-
Not exactly sure what the problem is. You can paste text, tables and graphics into a Confluence page. Ctrl + V works every time. And it is formatable from there. Now if you paste from an HTML source, you may paste in div and span tags which can cause some weird things. At that point, you can highlight that text and clear…
-
The PRE tag may be the issue. In the case, I use shift-Return and insert a code macro. That does work cleanly,
-
This happens a lot with HTML pasted into Confluence, You have some extra tags. There are only two ways to resolve this: * Clear all formatting and manually reformat (you may not need to do the whole list. * Install the source editor plugin and look at the HTML source and clean it up there. Either takes a bit of time --…
-
I concur.Typical SEO agency garbage. I have had two clients go through SEO efforts with two different agencies, and made tons of annoying changes based on these outdated rules. While it did move us up in search results, there was no net benefit (read no increased inquiries or sales), just a lot of wasted time and effort.
-
You're welcome. A guess made because I am not sure what the scope of $content always is. So I try to be as restrictive as possible in my references. And I learned a new macro: #contentLink2, so thanks for that!
-
Actually, I would place the CSS in a user macro. Then it can be used on any page, but if you change your mind about how the CSS should look, just updating the user macro would be reflected on all pages with that macro.
-
Wrap your content in classed div tag and update your CSS.
-
What exactly are you trying to do with this macro, and where is the rest of the macro? I assume line 17 is #foreach ( $label in $ancestor.getLabels() ) Could also be the error is actually in the line previous. When I was writing a custom child page by label macro, I used the following to get the collection of children of…
-
What happens with a page with no labels? Are you trapping that event?
-
So if you get rid of user macros, how do you fill in all the holes in Confluence functionality for which there are no plugins?
-
Yes, you can! It will be some work, but you can walk through pages to get a list of labels. Take a look at this macro for some guidance: https://github.com/unidwell/confluence-include-child-pages-macro Maybe the getLabels() method works for retrieving all the labels in space?…
-
Yes, but inst the fix to edit the destination page link (destpagetitle), and that doing so will resolve the issue?<br>
-
Yeah, well in smaller companies (100ish people), especially start ups, people wear multiple hats. So my opinion is that to be effective at owning the doc process with Confluence, one has to be an admin, and know how to work with Confluence from the OS command line up. Just not sure how I could really know the power of…
-
Understand. Usually these macro also have some special/unique classes to help prevent styling walking over each other. The safest way to move forward is to either set up a test space, or a development server and just test it out.