OK found what I was told to do....
The review this is fairly easy to fix. There are two files you need to edit.
The first is the main one. Back up the following file before making ANY alterations.
includes/modules/pages/product_reviews_write/header.php
If you are only interested in initial, then go to line 80, and replace this line
Code:
$sql = $db->bindVars($sql, ':customersName', $customer->fields['customers_firstname'] . ' ' . $customer->fields['customers_lastname'], 'string');
with this one
Code:
Code:
$sql = $db->bindVars($sql, ':customersName', substr($customer->fields['customers_firstname'], 0, 1) . '.' . substr($customer->fields['customers_lastname'], 0, 1) . '.', 'string');
This will change the way it is recorded in the database.
The next file you need to edit is how the name is displayed on the Write a Review page. This can be found at
includes/templates/YOUR ACTIVE TEMPLATE/templates/tpl_product_reviews_write_default.php
Goto line 41 na dreplace
Code:
zen_output_string_protected($customer->fields['customers_firstname'] . ' ' . $customer->fields['customers_lastname'])
with this
Code:
zen_output_string_protected(substr($customer->fields['customers_firstname'], 0, 1) . '.' . substr($customer->fields['customers_lastname'], 0, 1) . '.')
Hope this helps
Which I did and then poof no downloads anymore. It seems that the header.php files cause me more havok with downloads then anything else..does anyone no way or how to stop this??
ann :)