&nbsp; Hi. I'm customizing templates from 'CMF Message' and I've found some<br>
problems trying to delete the message once you've read it, that it, I&nbsp; <br>
ead<br>
the message (message_view.pt) so I can see the message author,subject and<br>
text. At the same time I've got 3 options (form buttons&nbsp; <br>
'class=standalone')<br>
DELETE/ACKNOWLEDGE/REPLY. I have problems trying to delete the message<br>
because I don't want the browser to go to the folder contents page in my<br>
plone instance (I don't want my users can manage the message contents in<br>
this case, I just want them to see the message, delete it and go back to&nbsp; <br>
the<br>
message fron-page view mode). So, the delete mode from 'message_view.pt'<br>
template looks like:<br>
&nbsp;...<br>
&nbsp;...<br>
&nbsp;&lt;form name=&quot;delete&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; action=&quot;&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; method=&quot;post&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; style=&quot;display:inline&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tal:attributes=&quot;action request/URL2&quot;&gt;<br>
<br>
&nbsp;&lt;input tal:define=&quot;getRelativeContentURL&nbsp; <br>
&nbsp;nocall:utool/getRelativeContentURL;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
hasGetUrl python:hasattr(context.aq_explicit,&nbsp; <br>
&nbsp;'getURL');<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
item_rel_url python:hasGetUrl and context.getURL(relative=1)&nbsp; <br>
&nbsp;or<br>
&nbsp;getRelativeContentURL(context);&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type=&quot;hidden&quot; name=&quot;paths:list&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tal:attributes=&quot;value item_rel_url&quot; /&gt;<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input class=&quot;standalone&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
type=&quot;submit&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
name=&quot;folder_delete:method&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
value=&quot;Eliminar&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
i18n:attributes=&quot;value&quot; /&gt;<br>
<br>
&nbsp;&lt;/form&gt;<br>
&nbsp;...<br>
&nbsp;...<br>
<br>
I think the problem has something to do with 'action request/URL2' (in&nbsp; <br>
fact I can &quot;move&quot; the browser to different pages using request/URL&lt;i&gt; but&nbsp; <br>
always in contents mode, not in view mode) and maybe with folder_delete:method.<br>
Is there any way to (auto)delete the message and take you to some view&nbsp; <br>
mode like the portal/front-page?<br>
thanks!<br>
<br>