Help - Search - Members - Calendar
Full Version: Comments without entry
Movable Type Community Forum > Additional Resources > Tips and Tricks
girlie
I don't know if this will help you or not, since it isn't really "Comments without an entry", but this is what I did for my guestbook when I wanted people to be able to "sign it" (i.e., make comments to it) from my weblog page.

1) I created a new blog called Guestbook and added a single entry to it (the contents of the entry is the text you see above the "sign the guestbook" link on that page). Then, I made note of the Entry ID number MT assigned to it.

2) On my weblog, I hardcoded an OpenComments link referencing that Entry ID in my sidebar:

CODE
sign: <a href="javascript:OpenComments(136)">my guestbook</a><br />


So, when people click that link, they are commenting on something "outside" of the weblog.

Does that help at all?
arminvit
Girlie,

Thanks again. You set me on the right path, I just had to make some adjustments since it wasn't working just like you said.

So in case anybody has this same question, here is what I did:

1)Create a new blog. Insert a picture in the entry (just for personal reference, so I know what is what)
2)Publish the blog.
3)Take a look at the code generated on your browser and check for the path related to your entry. It should look something like this:
CODE
<a href="http://www.your-site.com/mt-comments.cgi?entry_id=666" onclick="OpenComments(this.href); return false">

4)Hard code this piece of code into a link in your regular blog and it should work.

After writing it down, it seems more complicated than girlie's solution, but this is what worked for me.

Thanks again. And BTW: THIS HELP FORUM ABSOLUTELY ROCKS!!
arminvit
Hi,

Is it possible to create comments on something that is not in the main entry blog? For example:

1)Go to My Webpage
2)I would like for people to comment on the image on the left that says "testing", which in turn will pop up a window, but it is outside the main blog.
3)On the right side it says "Comment on a project", that's where I would like people to comment about "testing"

Thanks in advance, and let me know if something doesn't make sense, so I can explain better.
arminvit
Thanks,

I will give that a try.
girlie
Oops. I forgot to mention that I'm still using the "old" version of the OpenComments function; sorry about the confusion.

I don't think your solution was more complicated; we just used different versions of the function!  :)

(I really need to update mine - sigh.)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.