Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

customscripts: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
Cap resum de modificació
(Replaced content with "{{Moved_to_dev_docs}}")
 
(6 revisions intermèdies per 3 usuaris que no es mostren)
Línia 1: Línia 1:
==Custom Scripts Mechanism==
{{Moved_to_dev_docs}}
 
Any scripts that are called directly via a url (eg index.php, user/view.php)
can now be customised by placing a file with the same name (including directories) in
my_moodle_data_dir/customscripts
For example:
my_moodle_data_dir/customscripts/index.php; my_moodle_data_dir/customscripts/user/view.php
 
* this is for people making short term changes to VISIBLE web pages in the moodle source code
 
* it seems to have been used extensively only by the [[Moodle_for_Mobiles]] project
 
* to enable Custom Scripts, add $CFG->customscript=path/to/customscript/folder (see [[Configuration_file]])
 
==reference==
* http://moodle.org/mod/forum/discuss.php?d=31895

Revisió de 05:55, 22 juny 2011

This development related page is now located in the Dev docs.

See the customscripts page in the Dev docs.