| Previous · Next | |
| User | Message |
|
fayehopper
|
Date: 3/19/2010 5:28 pm · Subject: Collaboration System using two content fields · Rating: -1
I'm looking to build a collaboration system (blog) that will pull just the 1st
paragraph (with links and photos) from the content field and then will
show the full posting after you click "read more" and view the thread. Does anyone know if this is possible or if there is another solution for my problem?
--- (Edited on 3/19/2010 5:28 pm [GMT-0500] by fayehopper) --- --- (Edited on 3/19/2010 5:31 pm [GMT-0500] by fayehopper) --- |
| Back to Top |
Rate [ | ]
|
|
susanb
|
Date: 3/19/2010 5:45 pm · Subject: Re: Collaboration System using two content fields · Rating: -1
Try tmpl_var form.textHtml (not sure of the capitalization)--Susan On Mar 19, 2010, at 3:31 PM, wrote: > fayehopper wrote: > > I'm looking to build a collaboration system (blog) that will pull > just the 1st paragraph (with links and photos) from the content > field and then will show the full posting after you click "read > more" and view the thread. > I can't use because it doesn't pull the photo's > or the links. > I can't use because it's only a text area - > no rich text editor. > > I think what I need is two fields so that I can > use one to post the preview that shows first (with photos and links) > and one to post the full article -- but I have yet to figure out how > to get the post form to use two fields. > > Does anyone know if this is possible or if there is another solution > for my problem? > > > --- (Edited on 3/19/2010 5:28 pm [GMT-0500] by fayehopper) --- > > --- (Edited on 3/19/2010 5:31 pm [GMT-0500] by fayehopper) --- > > > > http://www.webgui.org/forums/design/collaboration-system-using-two-content-fields2 > > > -- > > WebGUI > http://www.webgui.org --- (Edited on 3/19/2010 5:45 pm [GMT-0500] by susanb) --- |
| Back to Top |
Rate [ | ]
|
|
rogier
|
Date: 3/22/2010 12:31 pm · Subject: Re: Collaboration System using two content fields · Rating: -1
Yes, you can use a user defined field for this. There are 5 user defined fields in the Collaboration System. They allow you to add extra content to a post; they are used to add the links in the "Link list" template, for example. You can use them to add another rich editor field to the post form, like this: <tmpl_var userDefined1.form.htmlarea> Then, in the Collaboration template, you can use <tmpl_var userDefined1> instead of the synopsis. This is, like you said, essentially another content field. You can use the userDefined1 field for the first paragraph preview; and in the Thread template you can use the regular <tmpl_var content> for the full content (or vice versa). More about user defined vars in the help: http://www.webgui.org/?op=viewHelp;hid=post%20add%2Fedit%20template;namespace=Asset_Post Good luck,
Rogier | United Knowledge
--- (Edited on 22-03-2010 18:32 [GMT+0100] by rogier) --- |
| Back to Top |
Rate [ | ]
|
|
fayehopper
|
Date: 3/22/2010 3:25 pm · Subject: Re: Collaboration System using two content fields · Rating: -1
That worked perfectly. Thanks! Faye Hopper --- (Edited on 3/22/2010 3:25 pm [GMT-0500] by fayehopper) --- |
| Back to Top |
Rate [ | ]
|