Version: 3.5.11 Reporter: DSite —
This is an archived bug report. If you are experiencing a similar issue, upgrade to the latest release and if that does not solve the problem, submit a new bug report
The links that are auto-generated by the Approve/Delete/Close Comment link variables in the “Admin - Comment(s) notification” email template seem to use an older schema. Here is the link I get for Close:
/index.php?S=0&D=cp&C=addons_modules&M=show_module_cp&module=comment&method=change_comment_status&comment_id=8&status=c
The Approve and Delete links are constructed similarly.
When I click on these links, I get an error message in the CP:
404: Item does not exist. Sorry, we could not find the item you are trying to access in the system. URL: &module=comment&method=change_comment_status&comment_id=8&status=c
In version 3, the links should go to the edit page and not close automatically.
To have the notification construct an edit link, you can edit system/EE/EllisLab/Addons/comments/mod.comment.php around line 2663. Replace the links to point to the comment edit page.
'edit_link' => $cp_url.'/cp/publish/comments/edit/'.$comment_id,
'delete_link' => $cp_url.'/cp/publish/comments/edit/'.$comment_id,
'approve_link' => $cp_url.'/cp/publish/comments/edit/'.$comment_id,
'close_link' => $cp_url.'/cp/publish/comments/edit/'.$comment_id,
Alternately, you could manually construct the link in the email message template. It’s just http://site.com/system/index.php?/cp/publish/comments/edit/{comment_id}.
ExpressionEngine implements Markdown Extra and BBCode. Please see the Markdown Extra docs and the BBCode Wikipedia article for a full reference.
**bold**
, __bold__
, *italics*
, _italics_
, ~strike/del~
, `code()`
bold, italics, strike/del, code()
Link: [link title](https://example.com)
Image: ![alt text](https://example.com/image.jpg)
[blockquote]...[/blockquote]
, [quote]...[/quote]
, and Markdown style:
> Some quoted text. > > This is all one quote.
[code]...[/code]
, and you can also specify the language for syntax highlighting, [code=php]...[/code]
GitHub flavored Markdown code fences are also supported:
``` public function decoderRing($str) { return str_rot13($str); } ```