Hi. I have Highlight macros that doesn't work for users without admin and
programmers rigths.
How I use this macro:
{{highlight language="php" style="monokai"}}
/public function updateSystemStatus()
{
$articules = Articules::where('system_status_id', 5)->get();
foreach($articules as $articul){
Status::updateEntitySystemStatus([
'entity' => 'articul',
'object' => $articul,
]);
$articul->save();
}
return 'OK';
}
{{/highlight}}/
Here is what I see as admin in the page's source code:
<http://xwiki.475771.n2.nabble.com/file/n7598013/wiki1.jpg>
And what I see as a user:
<http://xwiki.475771.n2.nabble.com/file/n7598013/wiki2.jpg>
Console output:
<http://xwiki.475771.n2.nabble.com/file/n7598013/wiki4.jpg>
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Failed-to-load-resource-the-server-respon…
Sent from the XWiki- Users mailing list archive at
Nabble.com.