Page title inheriting by scaffold data field
Let's say I have a page and I need to create scaffold based children, which I create using live-template. I have this code in my live-template. I need somehow RepTaskName to inherit its page parent's name automatically?
is it possible?
If you get what I mean, I would be thankful you offer another solution, as well.
Thank you for your time.
|| Project/Task name: | {text-data:RepTaskName|type=area|width=650px|height=15px}{text-data} |
is it possible?
If you get what I mean, I would be thankful you offer another solution, as well.
Thank you for your time.
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.
The best answer from the company
-
There are a couple of options.
1. If you don't want the user to be able to edit the field, just use {report-on:page:title}
2. If it does need to be edited, it gets trickier. Try this:
{report-on:injected=true}{text-data:Foo}%page:title%{text-data}{report-on}
Hope that helps.
The company says
this answers the question
-
Inappropriate?There are a couple of options.
1. If you don't want the user to be able to edit the field, just use {report-on:page:title}
2. If it does need to be edited, it gets trickier. Try this:
{report-on:injected=true}{text-data:Foo}%page:title%{text-data}{report-on}
Hope that helps.
The company says
this answers the question
-
Inappropriate?Actually, I need to inherit not its page title, but its parent page title.
I’m unconcerned
1 person says
this answers the question
-
Inappropriate?Ah yes, forgot about that. Just change "page:title" to "page:parent > page:title" in both of the above examples.
Loading Profile...



EMPLOYEE