
Originally Posted by
jettrue
If you turn off name, can you reproduce the same issue, or is it something with my upgrade?
It's the same here.
You can wrap this into an if statement:
Code:
echo zen_quickupdates_table_head('pd.products_name', TABLE_HEADING_PRODUCTS);
Or change this so that it shows the name column but blocks editting (if QUICKUPDATES_MODIFY_NAME is false):
Code:
if(QUICKUPDATES_MODIFY_NAME == 'true'){
// added div wrapper to allow advanced :hover styling
echo '<td class="smallText productsName"><div>' . zen_draw_input_field('product_new_name[' . $products->fields['products_id'] . ']', stripslashes($products->fields['products_name']), 'size="12"') . zen_draw_hidden_field('product_old_name[' . $products->fields['products_id'] . ']', stripslashes($products->fields['products_name'])) . '</div></td>' . "\n";
}
For example.
Bookmarks