Set page title dynamically
Hi,
Is there any way to manipulate the page title based on scaffolding data, either by supplying the name in the {add-page} macro (which I guess is not possible), or by setting from scaffolding data within the page when it is created?
/Martin
Is there any way to manipulate the page title based on scaffolding data, either by supplying the name in the {add-page} macro (which I guess is not possible), or by setting from scaffolding data within the page when it is created?
/Martin
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?You can't modify the page name using Scaffolding once it it created, but there are some macros that can help when you create a new page.
For instance, thee {link-page} macro can be used to create pages based on the date as per this example:
{link-page:%content:title% - %global:current date > date:yyyy-MM-dd% - %global:current user > user:full name%|template=Expenses}You expenses for today{link-page}
More details about is here: http://www.customware.net/repository/...
You could also investigate the {create-page} macro (http://confluence.atlassian.com/displ...) -
Inappropriate?Hi James,
This one nailed it, an added bonus was the ability to label the page. Thanks a bundle!
/Martin
I’m thrilled
1 person says
this answers the question
Loading Profile...


