include

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
dreadstar's picture

how to add personal functions via php include command

Newbie here stuck with a problem. Patulong naman sa mga gurus.

Im learning Drupal because the cms allows php code to be embedded into a story/page node. My php code uses some very often called functions all stored in a library file and called by my php code via the 'include' command.

Unfortunately, Drupal does not like the 'include' command and spits out an error pointing to the core file common.inc. Anyone knows how I can 'include' a php library file called by my php code?

More details can be seen at my post at http://drupal.org/node/346065

Read more
Subscribe with RSS Syndicate content