Jump to content

Trying to build module, but failing! :/


cammo

Recommended Posts

I've just attempted my first module, base don Rocky's Development guide.. (very good guide by the way)..

I'm having some problems though.. Just when I think my code makes sense, I upload my module and it breaks my modules page. I get no modules showing any more.

As soon as I delete the module it's all back up as before though.
I'm pretty sure the problem is in my getContent part of the code as if I delete this, it lets my modules page load again (but obviously my module wont work).

If anyone could be so kind as to tell me where I'm going wrong?

The idea of the module is just to display tweets. It's configurable by a check box to show tweets or not, and another field for how many to show and your twitter username.

hometwittervwd.php

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...