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

Can a new plugin be both a Mod and a Block?

$
0
0
by Matt Chambers.  

Hello ALL. I am creating a new plugin that I want to be accessible as a block. It will sit on a course or several courses i think and I want it to be able to access multiple courses, the database and do things for an entire user or users. 

A Block is to go on a page or course to be used and edited and a Mod is something that will add to pre existing code and manipulate things in the background, is this right?. But I think my plugin will do both. Does this mean that I need both a block and a Module?

Hope that makes sense. ...... Matt


Viewing all articles
Browse latest Browse all 37679

Trending Articles



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