Add a link to the Comments Plug-in
-
codetwists
- Regular
- Posts: 44
- Joined: Sat Dec 20, 2008 5:46 pm
Add a link to the Comments Plug-in
I'm using the Comments Plug-in. I'd like to add a link for a new coment to the current entry. How can I do that?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Add a link to the Comments Plug-in
Hi!
You mean you want to fetch the most recent blog article, and then link to that?
You must then eihter create your own plugin or modify the existing one, to use serendipity_fetchEntry() / serendipity_fetchEntries() to get the most recent entry, and then print out it's links in the generate_content() method of that plugin.
Best regards,Garvin
You mean you want to fetch the most recent blog article, and then link to that?
You must then eihter create your own plugin or modify the existing one, to use serendipity_fetchEntry() / serendipity_fetchEntries() to get the most recent entry, and then print out it's links in the generate_content() method of that plugin.
Best regards,Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
codetwists
- Regular
- Posts: 44
- Joined: Sat Dec 20, 2008 5:46 pm
Re: Add a link to the Comments Plug-in
No, I just want a link to the same comment entry screen that a user gets when he clicks on the comment link in the bottom of an entry window.garvinhicking wrote:You mean you want to fetch the most recent blog article, and then link to that?
Thanks,
Myron
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Add a link to the Comments Plug-in
Hi!
But if a user is already there, he must only scroll down to enter a new comment?! Why clutter the sidebar plugin with yet another link, if it actually refers to the same page? I'm not fully sure I understand what you want to do yet.
Regards,
Garvin
But if a user is already there, he must only scroll down to enter a new comment?! Why clutter the sidebar plugin with yet another link, if it actually refers to the same page? I'm not fully sure I understand what you want to do yet.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
-
codetwists
- Regular
- Posts: 44
- Joined: Sat Dec 20, 2008 5:46 pm
Add a link to the Comments Plug-in
www.codetwists.com/BlogDon Chambers wrote:Can you provide a URL to your site and verbally describe exactly where you want that?
In the right sidebar I have the Comments Plug-in. Right now there are no comments. I'd like to have a link in it to allow the reader to access the comment entry window.
Thanks,
Myron
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact: