On my homepage, I have three 'blocks', which include a title, a photo and a teaser text (don't know if the word 'teaser' is a common used English word, but I hope you'll understand what I mean ;-), with a hyperlink beneath it, leading to a page with the complete text.
The idea is to let the user use the content picker to chose a page (with a paragraph on it) from which the teaser should be automatically generated. How can I accomplish this?
I need to get the filled in hyperlink (not a problem), but then also add a (paragraph) field property to it so I can then create a teaser from it, I guess. Right?
Field from page link
On my homepage, I have three 'blocks', which include a title, a photo and a teaser text (don't know if the word 'teaser' is a common used English word, but I hope you'll understand what I mean ;-), with a hyperlink beneath it, leading to a page with the complete text.
The idea is to let the user use the content picker to chose a page (with a paragraph on it) from which the teaser should be automatically generated. How can I accomplish this?
Oh, and I'm trying to build this using Razor ;-)
I need to get the filled in hyperlink (not a problem), but then also add a (paragraph) field property to it so I can then create a teaser from it, I guess. Right?
Hii peter.
In such cases I prefer to add a field - "Home page short text" , "Lobby text".
Like this - the user have full control over the text.
Peter, teaser is a common term for this intro text, you could do something quick and dirty like this:
where "link" is your contentPicker to select the required node, and teaser is your content property
HTH
Tom
Hi Tom,
Thanks, I'll try that!
is working on a reply...