Scoop -- the swiss army chainsaw of content management
Front Page · Everything · News · Code · Help! · Wishlist · Project · Scoop Sites · Dev Notes · Latest CVS changes · Development Activities
How can I put a "Post A Comment" link on my story summaries? Boxes
By gxd5 , Section Help! []
Posted on Wed Dec 12, 2001 at 12:00:00 PM PST
I would like to have the "Post a Comment" link on all my story summaries, so that people can post a comment from the front page and the section summaries. But I can't seem to get it to work. This seems like it would be a fairly easy modification. Can anyone help?

< YASS: Vegdot | Random Scoop Factoids >

Menu
· create account
· faq
· search
· report bugs
· Scoop Administrators Guide
· Scoop Box Exchange

Login
Make a new account
Username:
Password:

Related Links
· More on Boxes
· Also by gxd5

Story Views
  29 Scoop users have viewed this story.

Display: Sort:
How can I put a "Post A Comment" link on my story summaries? | 2 comments (2 topical, 0 hidden)
another related question (none / 0) (#1)
by janra on Fri Dec 14, 2001 at 05:16:03 PM PST

And a suggestion that would probably make both of these questions very easy to solve :-)

My question is basically a repeat of a question I heard a while ago: how can we make a 'send this story to a friend' link to go with the stories?

And my suggestion is another special var that can be accessed from either story_summary or story_body called, say, current_sid. This would allow us to put something in the story_summary block like:

<A href="|rootdir|/comments/|current_sid|/0/post">Post a comment</A>

or a simple form that contains a hidden field with the value of current_sid and a visible field for entering the email address, along with a custom op and related box to send an email containing the current story.


--
Discuss the art and craft of writing




How can I put a "Post A Comment" link on my story summaries? | 2 comments (2 topical, 0 hidden)
Display: Sort:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest © 1999 The Management

create account | faq | search