Hello All,
My question is one that may be quite silly, but I feel the need to address it anyways. As per my Previous Question, I am relativity new to moodle development, and am seeking advice as I continue my quest to develop a functional purpose.
Say I have a block, and from said block I want to create a link to a new page within moodle. As far as I could tell from reading the API and both block tutorials, the method to use would be via the use of the navigation, page, and output APIs. However, when browsing through the plugins catalog, I noticed that several plugins that facilitate this action do not use this API, they use php-embedded HTML and JavaScript. My question is which is the correct method, as well as any other tips one could give a new-comer to the moodle dev practice. Thank you in advance.