Ir al contenido principal

Entradas

JQuery - Timepicker & Datepicker

Timepicker & Datepicker I took a component from  http://trentrichardson.com/examples/timepicker/  to display a calendar that used Jquery. The steps to install the JQuery plugin 1) Include in your file the following files, this can be done downloading the files or doing the references. Downloading the Files.     <script src="../Scripts/Mail/jquery-2.0.2.min.js"></script>     <script src="../Scripts/Mail/jquery-ui.min.js"></script>     <link href="../Content/jquery-ui.css" rel="stylesheet" />         <script src="../Scripts/Mail/jquery-ui-timepicker-addon.js"></script> Includinf the references.     <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.min.js"></script>     <script src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.16/jquery-ui.min.js"></script>     <link rel="stylesheet" type="text/css" href="ht...

JQuery Validator plugin

1) This line include JQuery to your project <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2..2/jquery.min.js"></script> 2) This line include JQuery Validator to your project in .Net <script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery.validate/1.5.5/jquery.validate.min.js"></script> 3) In your .aspx file write the next jscript code to validate the empty fields    #ctl01 is the Id Form    #MainContent_btn222  is the Id Button $(document).ready(function () {     // Initialize validation on the entire ASP.NET form     $("#ctl01").validate({         // This prevents validation from running on every         //  form submission by default.         onsubmit: false     });     $("#MainContent_btn222").click(function (evt) {         // Validate the form and retain the re...

Moodle - Course

Course Plugins Display customized reports through sql queries install the plugin  Ad-hoc database queries Install the folder  customsql  in htdocs\moodle\local Restart moodle to times to show the pages to update the appliation Documentation http://docs.moodle.org/19/en/Custom_SQL_queries_report Add Reources In the section Home   /   ►  Courses   /   ►  Miscellaneous   /   ►  CourseXXX you can add many items like labels, Test Surveys, Quizzes, Assignments, etc   

Moodle - Users / Groups

Users To send mails to new user install the plugin welcome Install the folder welcome in htdocs\moodle\local Restart moodle to times to show the pages to update the appliation Groups The term is referent to indicate that one course is given in many Groups. The users must be enrolled before assign them to a group Paypal First, enable the plugin Home   /   ►   Site administration   /   ►   Plugins   /   ►   Enrolments   /   ►   Manage enrol plugins 2. Configured your Home   /   ►   Site administration   /   ►   Plugins   /   ►   Enrolments   /   ►   PayPal

Moodle with SQL Server

Execute the following commands 1) CREATE LOGIN root WITH PASSWORD = 'Adm1n1234' ,DEFAULT_DATABASE = [moodle] GO -- Now add user to database 2) USE moodle; CREATE USER root FOR LOGIN root; GO 3) ALTER DATABASE moodle SET ANSI_NULLS ON ALTER DATABASE moodle SET QUOTED_IDENTIFIER ON ALTER DATABASE moodle SET READ_COMMITTED_SNAPSHOT ON 4)  Set the following settings in your php.ini file mssql.textlimit = 20971520 mssql.textsize = 20971520

Moodle instalation - Fix Problems

Fix problems http://moodle-platform.cba.pl/admin/index.php?lang=en&agreelicense=1 SSL problem admin/environment/php extension/openssl Main page  ►  Managing a Moodle site  ►  Server settings  ►  Environment  ►  admin/environment/php extension/openssl Server settings System paths Session handling HTTP Maintenance mode Cleanup Environment Site registration To install the openssl library on Windows Open the  php.ini  file found in the  moodle/apache/bin  (if not there then, in folder server/php/) Find the line:  ;extension=php_openssl.dll Remove the  ;  at the beginning of the line Restart apache if necessary Note: if Moodle fails to create a public key in Admin > Networking > Settings, you'll need to configurate your OPENSSL_CONF path. With Windows File Explorer find openssl.cnf file (usually in your php/extras directory). Rename it as openssl.conf. Then set OPENSSL_CONF in your Windows environment variab...