Learning PHP for MOODLE

Learning PHP for MOODLE

ved Miles Derksen -
Antal besvarelser: 5

Is there any specific resources for learning PHP programming specifically for MOODLE. I know HTML, CSS quite good - but this PHP seems to be a mystery. Would learning general PHP programming give me a good idea of what is going on in MOODLE.

For example, today, I wanted to just change the link at the bottom of the Login Block...in html this is really easy.   PHP it seems to be a mystery...

I just want to change the link from going to the Signup.php page to the Index.php page in the Login folder so I can give extra instructors... OR add some instructions tot he Signup.php page...

Any thoughts? Thanks

Gennemsnitsbedømmelse: -
I svar til Miles Derksen

Re: Learning PHP for MOODLE

ved Andrew Normore -

Good luck bro,

Moodle is VERY tricky to start figuring out. Learn PHP outside of moodle, and work your way in, is my advise.

MAKE SURE you learn Object Oriented Programming for PHP before jumping in to Moodle. 

I svar til Andrew Normore

Re: Learning PHP for MOODLE

ved Joseph Rézeau -
Billede af Core developers Billede af Particularly helpful Moodlers Billede af Plugin developers Billede af Testers Billede af Translators

@Andrew, Just to contradict...blinker

Most of the PHP I know I learnt through Moodle, not outside of it. And I still have only very vague notions of Object Oriented Programming.

But then I'm only an amateur programmer.

Joseph

I svar til Joseph Rézeau

Re: Learning PHP for MOODLE

ved Andrew Normore -

Hey that's awesome! I guess jumping strait in to Moodle can work, but holy smokes, that must be a steep learning curve.

I'm a professional coder now (says me), I'm having trouble wrapping my mind around Moodle.

To each his own smiler

I svar til Miles Derksen

Re: Learning PHP for MOODLE

ved Itamar Tzadok -

around line 32

                $signup = $wwwroot . '/login/signup.php';
change to

                $signup = $wwwroot . '/login/index.php';

see if that does what you want. smiler

I svar til Itamar Tzadok

Re: Learning PHP for MOODLE

ved Miles Derksen -
You are a genius! Thanks so much. It work perfectly. I tried changing "signup.php" to index.php down at the bottom but not where you suggested... Thanks so much!