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
Unable to get dynamic comments working Docs
By Drog , Section Help! []
Posted on Thu Oct 24, 2002 at 12:00:00 PM PST
I recently upgraded my site to v0.9. But I cannot get dynamic comments to work, and I cannot find any documentation available anywhere.

I looked at kuro5hin, and added the <script> tag as well as the <iframe> tag, but my dyn_*.gif images don't appear, and their links don't work. I tried inserting onload="copyContent |mainpid|,|dynamicmode|)" into the <body> tag, since that's what the dynamic_template block has, but it didn't work and kuro5hin doesn't have that, so I removed it again. I've gone through all the vars and blocks, and I've gone through all of the kuro5hin HTML source, and I can't figure out what I'm missing. Since my "dynamic insertion" links are obviously messed up, I'm thinking that |COMMENTS| may be wrong, or may rely on something else that's messed up. But what? The only blocks I see that are relevant are:

dynamic_collapse_bottom_link: <img src=|imagedir|/dyn_colb.gif width=12 height=12 ALT=- border=0>

and

dynamic_loading_link: <img src=|imagedir|/dyn_wait.gif width=12 height=16 ALT=x border=0>

And the only seemingly relevant vars are:

allow_dynamic_comment_mode, which is checked.

Any help would be most appreciated.

Drog

< RFC: Moderation/trust changes | YR Fire >

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

Login
Make a new account
Username:
Password:

Related Links
· Kuro5hin
· More on Docs
· Also by Drog

Story Views
  28 Scoop users have viewed this story.

Display: Sort:
Unable to get dynamic comments working | 3 comments (3 topical, 0 hidden)
Edit templates (none / 0) (#1)
by panner on Thu Oct 24, 2002 at 01:59:58 PM PST

This is how you do it, though it may not work after prodding at it this much.

Add |dynamicmode_javascript| to the <HEAD> section of default_template, story_template, and dynamic_template.

Make sure dynamic_js_tag is set so that the path is right for the location of dynamic-comments.js. Make sure that the dynamic comments var is still enabled.



--
Keith Smiley



Unable to get dynamic comments working | 3 comments (3 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