$DSP->foobar works fine in my mcp..php but in my mod..*php i get
Fatal error: Call to a member function input_select_header() on a non-object in C:\live_websites\foobar…
My globals match on both functions and classes so i don’t under stand why it would fail in once place and not the other. Any ideas?
No problem. You could of course instantiate the class and utilize it, but just keep in mind that that’s not intended, so it would only be useful to you for methods that return values. And typically module front end tags should not be outputting their own markup, but parsing variables within markup that’s specified in the template, so that the user retains full control over all output.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.