Is there a way to make a link to add a comment? like on the main page have add comment then it goes to the comment forum?
also i want to add a bullet point to the archives thing where it says January and such on the side bar where would i go to edit that?
Add Comment
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Add Comment
Can you be more specific, I think I don't get the question. Do you want to link to a specific item? This is possible, all individual comments have a "<a id=XXX>" HTML marker to which you can reference.
The bullet points can only be inserted if you edit the plugin class that is defined in include/plugins_internal.inc.php for the Archives plugin.
HTH,
Garvin
The bullet points can only be inserted if you edit the plugin class that is defined in include/plugins_internal.inc.php for the Archives plugin.
HTH,
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/
thanks for the help http://www.moviegur.us/blog/ if you go there and look at add comment. thats what i was talking about. also plugins_internal.inc.php is a huge file is there anyway you could give me a line number. i know very little php so it would help a lot. thanks for all your help
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
I still don't know about the comment. Please describe exactly what you want.
About adding a <li> item. Inside your plugins_internal.inc.php file first search for "class serendipity_archives_plugin". Then search for this line:
You can modify that to
This is the most important step. You might want to modify the other HTML outputs below that as well to use <li>s.
HTH,
Garvin
About adding a <li> item. Inside your plugins_internal.inc.php file first search for "class serendipity_archives_plugin". Then search for this line:
Code: Select all
echo '<a href="' . $link . '" title="' . $ts_title . '">' . $ts_title . '</a><br />' . "\n";
Code: Select all
echo '<li><a href="' . $link . '" title="' . $ts_title . '">' . $ts_title . '</a></li>' . "\n";
HTH,
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/