-
☆ A M B ☆
- 24,524 Posts
If you mean "use a Ditto call on page 2", you can use the &parents=`1` parameter to have it get the value from page 1; then [+age+] (and any other placeholders) in your chunk tpl would return the value for page 1.
If you are trying to present a list of profiles, whether of users or any other "people", you might want to look at WebLoginPE instead, as this provides a "list' mode. I've used it for other purposes than for users, as it provides everything you need for creating and managing profiles.
You said that then [+age+] (and any other placeholders) in your chunk tpl would return the value for page 1, if there is a way that can put the age variable direct in the page2's template without create a chunk ? And can you give me some konwledge about WebLoginPE,I haven't use it untill now.
discuss.answer
-
☆ A M B ☆
- 24,524 Posts
Then you don't want Ditto. Try getField
http://modx.com/extras/package/getfield
wow, Amazing plugin!! Thinks very very very much!!
And I'm wodnering does getFiled competible with modx1.04 version ?
[ed. note: welkang last edited this post 14 years, 6 months ago.]
Yes it is, I used getField since 1.0.2 till now.
-
☆ A M B ☆
- 24,524 Posts
Where is loginName coming from? Is it a TV associated with page 5?
Yes, it is. I have found the reason, because I write it in the content zone which were changed to escape character, so it doesn't work...
I am confused with the Resource content,when i write some code in it ,it will be wraped with <p></p>. Can you tell me you usually use [*content*] for?