Forum


Replies: 2   Views: 3254
Converting to version 2.7
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by mbcalvin  · 18-12-2012 - 20:49

Hello,
We are currently using an older version of PHPDocx and have it working (except for charts). We downloaded the newest version (2.7) and tried to create a doc and had some problems. When I checked the variables on the form, the newest version seems not detect the variables properly. Here are the results of the getTemplateVariables for 2.7:

Array
(
[document] => Array
(
[0] => barcode
[1] => date
[2] => employee
[3] =>
[4] =>
[5] => patient_addr1
[6] => ,
[7] =>
[8] => patient_id
[9] => ,
)

)
and here are the results of the old version (same exact form):
Array
(
[document] => Array
(
[0] => barcode
[1] => date
[2] => employee
[3] => patient_primcode
[4] => patient_primid
[5] => patient_dob
[6] => patient_first
[7] => patient_last
[8] => patient_addr1
[9] => patient_city
[10] => patient_state
[11] => patient_zip
[12] => patient_id
[13] => home_use
[14] => doctor_dea
[15] => doctor_df_code
[16] => doctor_npi
[17] => doctor_lname
[18] => doctor_fname
[19] => doctor_fax
[20] => doctor_phone
[21] => fax_to
[22] => call_back
)

)


Are there changes that we need to make to convert to the latest version?

Posted by mbcalvin  · 11-04-2013 - 12:13

To add a little more information,
We are using the custom template symbols function to and use ~ as our symbol.