Hi and Great project, php include problem

HomeForumsGeneral SupportHi and Great project, php include problem

This topic has 2 voices, contains 1 reply, and was last updated by  fiscal sanity 654 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
Author Posts
Author Posts
April 22, 2010 at 5:33 am #919

TwisterSolutions

Hi firstly must just say this is a great project.

I hope I can be of some help rather than a hindrance in development of it.

I am working in the file setup-fields.php and trying to have it #include a file with the custom company fields I would like to setup. When I do this it just seems to give a white screen when adding a company.

I am trying to make it so can have a custom file that means when the core code is updated I just have to add the include line linking to the custom fields. Maybe this is something you could include in the core in future to make user added fields easier to setup. Even if it included an empty custom file at the moment, hopefully that wouldn’t cause too much issue.

With it not working and myself still testing why, Is this due to the array setup of the code not allowing includes to jump in and out?

April 22, 2010 at 8:00 am #920

fiscal sanity

We really don’t recommend changing the CORE files. It would be better to filter the Company fields array in your child theme.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.