Thomas Jackson (tjackson) wrote in component_help,
Thomas Jackson
tjackson
component_help

  • Mood:

uh-oh

i'm trying to customize lots of stuffs at once, and something tells me it's screwing up itself ;)

question:
Is there a way to allow 'print_profile($p);' or something like it, to work, in customFunctions?

That is, for functions I have created, declared within classes I have created, how can I avoid compile errors like 'Unknown local variable $p'? Is there a way to define $p, so the function knows what to do with it? Something similar to a C import?

All in all I'm guessing the answer is no, in which case I will be left to shove everything within a page_layout function. (ugh)
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 10 comments