Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Show Part Picture (if available) Issue
09-09-2017, 07:22 AM, (This post was last modified: 09-09-2017, 07:22 AM by VortecCPI.)
#1
Show Part Picture (if available) Issue
If using the "#" symbol in a part number the "Show Part Picture (if available)" link does not work. I changed line 406 in SelectProduct.php

From this :

echo '<a href="' . $RootPath . '/' . $imagefile . '" target="_blank">' . _('Show Part Picture (if available)') . '</a><br />';

To this:

echo '<a href="' . $RootPath . '/' . str_replace('#', '%23', $imagefile) . '" target="_blank">' . _('Show Part Picture (if available)') . '</a><br />';

Though the ToolTip at Item Code states alpha-numeric only webERP accepted use of the "#" symbol in the Item Code.

Perhaps we should add the "#" symbol to the list of prohibited characters?
https://www.linkedin.com/in/eclipsepaulbecker
Reply


Messages In This Thread
Show Part Picture (if available) Issue - by VortecCPI - 09-09-2017, 07:22 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)