<![CDATA[ Posting comment to different resource - My Forums]]> https://forums.modx.com/thread/?thread=83445 <![CDATA[Posting comment to different resource]]> https://forums.modx.com/thread/83445/posting-comment-to-different-resource#dis-post-460353 kudykam Mar 26, 2013, 09:42 AM https://forums.modx.com/thread/83445/posting-comment-to-different-resource#dis-post-460353 <![CDATA[Re: Posting comment to different resource (Best Answer)]]> https://forums.modx.com/thread/83445/posting-comment-to-different-resource#dis-post-461266 create custom chunk for report and options with custom filter
[[+reportUrl:rewriteUrl=`some-page.html` ]]


where some-page.html is name of the page I want to replace (orginal page where QuipReply is)
and snippet rewriteUrl:
<?php
$id = $modx->resource->get('id'); //current id
$url = $modx->makeUrl($id);
return str_replace($options, $url, $input);
]]>
kudykam Apr 02, 2013, 09:16 AM https://forums.modx.com/thread/83445/posting-comment-to-different-resource#dis-post-461266