Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37677

Edit mode On

$
0
0
by Augusto Weiand.  

Hello, i have a litle question, how I know when the edit mode is on? I developed some plugins for moodle, but they is in other folder and i just using the config.php of the moodle to do this chek.

With this I enable some list of features on the plugin... I try with

$edit = optional_param('edit', -1, PARAM_BOOL);
if ($edit == 1 && confirm_sesskey())
echo "hello world"
but doesn't works fine...


Viewing all articles
Browse latest Browse all 37677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>