Page 94 of 100 FirstFirst ... 44849293949596 ... LastLast
Results 931 to 940 of 998
  1. #931
    Join Date
    Jun 2012
    Location
    California
    Posts
    238
    Plugin Contributions
    0

    Default Re: Track Package from FedEx, UPS, Postal, DHL, etc..

    Quote Originally Posted by lat9 View Post
    Found it (arggh). In /admin/includes/classes/observers/TyPackageAdminObserver.php, towards the end of the file, find
    Code:
                $this->eo_field_display .= (constant("CARRIER_NAME_$ty") . ': <a href="' . constant("CARRIER_LINK_$ty") . $track_id . ' target="_blank" rel="noreferrer noopener">' . $track_id . '</a>##');
    and add the missing closing double-quote:
    Code:
                $this->eo_field_display .= (constant("CARRIER_NAME_$ty") . ': <a href="' . constant("CARRIER_LINK_$ty") . $track_id . '" target="_blank" rel="noreferrer noopener">' . $track_id . '</a>##');
    See also this (https://github.com/lat9/zen_TyPackageTracker/issues/7) GitHub issue for tracking.
    With these corrections do I have to uninstall and install TyP?

  2. #932
    Join Date
    Jun 2012
    Location
    California
    Posts
    238
    Plugin Contributions
    0

    Default Re: Track Package from FedEx, UPS, Postal, DHL, etc..

    Quote Originally Posted by wsworx View Post
    With these corrections do I have to uninstall and install TyP?
    I guess the header answered my question.

    "Ty Package Tracker v4.0.1-beta2 has been successfully installed."

    It is still showing up continuously on every page

    I apologize for my lack of ability.

  3. #933
    Join Date
    Jun 2012
    Location
    California
    Posts
    238
    Plugin Contributions
    0

    Default Re: Track Package from FedEx, UPS, Postal, DHL, etc..

    Quote Originally Posted by lat9 View Post
    Found it (arggh). In /admin/includes/classes/observers/TyPackageAdminObserver.php, towards the end of the file, find
    Code:
                $this->eo_field_display .= (constant("CARRIER_NAME_$ty") . ': <a href="' . constant("CARRIER_LINK_$ty") . $track_id . ' target="_blank" rel="noreferrer noopener">' . $track_id . '</a>##');
    and add the missing closing double-quote:
    Code:
                $this->eo_field_display .= (constant("CARRIER_NAME_$ty") . ': <a href="' . constant("CARRIER_LINK_$ty") . $track_id . '" target="_blank" rel="noreferrer noopener">' . $track_id . '</a>##');
    See also this (https://github.com/lat9/zen_TyPackageTracker/issues/7) GitHub issue for tracking.
    What is confusing is inspection of the html code in Google shows the following:

    <a href="https://tools.usps.com/go/TrackConfirmAction!input.action?tLabels=9405528206335492487639 target=" _blank"="">9405528206335492487639</a>

    Shouldn't "tLabels=" just be the number?
    But I can't figure out how to correct it

  4. #934
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,354
    Plugin Contributions
    94

    Default Re: Track Package from FedEx, UPS, Postal, DHL, etc..

    Quote Originally Posted by wsworx View Post
    What is confusing is inspection of the html code in Google shows the following:

    <a href="https://tools.usps.com/go/TrackConfirmAction!input.action?tLabels=9405528206335492487639 target=" _blank"="">9405528206335492487639</a>

    Shouldn't "tLabels=" just be the number?
    But I can't figure out how to correct it
    The change I posted on GitHub will modify that link as highlighted

    <a href="https://tools.usps.com/go/TrackConfirmAction!input.action?tLabels=9405528206335492487639" target=" _blank"="">9405528206335492487639</a>

  5. #935
    Join Date
    Jun 2012
    Location
    California
    Posts
    238
    Plugin Contributions
    0

    Default Re: Track Package from FedEx, UPS, Postal, DHL, etc..

    Quote Originally Posted by wsworx View Post
    I guess the header answered my question.

    "Ty Package Tracker v4.0.1-beta2 has been successfully installed."

    It is still showing up continuously on every page

    I apologize for my lack of ability.
    So I uploaded all the TyP files again and the header issue is resolved
    I do not have an answer for why it resolved itself.

    However I am still having the issue of the word "TARGET" being added to the end of tracking number and the link opening the in the same window and not a new tab.

    The front end customer view link works perfectly
    Click image for larger version. 

Name:	Code Issue.jpg 
Views:	25 
Size:	41.2 KB 
ID:	19630

  6. #936
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,354
    Plugin Contributions
    94

    Default Re: Track Package from FedEx, UPS, Postal, DHL, etc..

    Quote Originally Posted by wsworx View Post
    So I uploaded all the TyP files again and the header issue is resolved
    I do not have an answer for why it resolved itself.

    However I am still having the issue of the word "TARGET" being added to the end of tracking number and the link opening the in the same window and not a new tab.

    The front end customer view link works perfectly
    Click image for larger version. 

Name:	Code Issue.jpg 
Views:	25 
Size:	41.2 KB 
ID:	19630
    Did you get that update to the /YOUR_ADMIN/includes/classes/observers/TyPackageTrackerAdminObserver.php? That should have corrected that malformed link.

  7. #937
    Join Date
    Jun 2012
    Location
    California
    Posts
    238
    Plugin Contributions
    0

    Default Re: Track Package from FedEx, UPS, Postal, DHL, etc..

    Quote Originally Posted by lat9 View Post
    Did you get that update to the /YOUR_ADMIN/includes/classes/observers/TyPackageTrackerAdminObserver.php? That should have corrected that malformed link.
    Yes, I implemented that change but it did not fix it.
    I tried making changes to it but any of the changes I made would not reflect on the site when I was using Google developer panel to inspect the code to see if anything was changing or not. For example if I changed the syntax where it was incorrect the page would no longer work but if I changed something like target="_blank" to target="_new" it would not show that as having been changed in the inspection window. It would still show target=" _blank.
    It also continues to open the link on the same page and not create a new tab.

  8. #938
    Join Date
    Jun 2012
    Location
    California
    Posts
    238
    Plugin Contributions
    0

    Default Re: Track Package from FedEx, UPS, Postal, DHL, etc..

    Quote Originally Posted by lat9 View Post
    The change I posted on GitHub will modify that link as highlighted

    <a href="https://tools.usps.com/go/TrackConfirmAction!input.action?tLabels=9405528206335492487639" target=" _blank"="">9405528206335492487639</a>
    This is exactly what is in my file:

    Code:
    $this->eo_field_display .= (constant("CARRIER_NAME_$ty") . ': <a href="' . constant("CARRIER_LINK_$ty") . $track_id . '" target="_blank" rel="noreferrer noopener">' . $track_id . '</a>&nbsp;');

  9. #939
    Join Date
    Jun 2012
    Location
    California
    Posts
    238
    Plugin Contributions
    0

    Default Re: Track Package from FedEx, UPS, Postal, DHL, etc..

    Quote Originally Posted by wsworx View Post
    This is exactly what is in my file:

    Code:
    $this->eo_field_display .= (constant("CARRIER_NAME_$ty") . ': <a href="' . constant("CARRIER_LINK_$ty") . $track_id . '" target="_blank" rel="noreferrer noopener">' . $track_id . '</a>##');
    So nothing I do to the TyP file TyPackageTrackerAdminObserver.php reflects in the inspection window of Google
    I completely removed '" target="_blank" rel="noreferrer noopener">' . $track_id . ' from the file but that portion continues to show up in the inspection window of Google
    Click image for larger version. 

Name:	Code Issue 2.jpg 
Views:	18 
Size:	24.6 KB 
ID:	19631

    Change the syntax of that line and the page quits working but that is the only reaction I can get out of it.

  10. #940
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,354
    Plugin Contributions
    94

    Default Re: Track Package from FedEx, UPS, Postal, DHL, etc..

    Quote Originally Posted by wsworx View Post
    So nothing I do to the TyP file TyPackageTrackerAdminObserver.php reflects in the inspection window of Google
    I completely removed '" target="_blank" rel="noreferrer noopener">' . $track_id . ' from the file but that portion continues to show up in the inspection window of Google
    Click image for larger version. 

Name:	Code Issue 2.jpg 
Views:	18 
Size:	24.6 KB 
ID:	19631

    Change the syntax of that line and the page quits working but that is the only reaction I can get out of it.
    Is this when you view the order in the Customers :: Orders or via Edit Orders itself? Note that versions of EO prior to the forthcoming v4.6.0 included its own version of TyPT.

 

 
Page 94 of 100 FirstFirst ... 44849293949596 ... LastLast

Similar Threads

  1. v150 Is there a FedEx plugin to quote on package size and postal code/zone?
    By Music Man in forum Addon Shipping Modules
    Replies: 7
    Last Post: 3 Aug 2014, 10:30 PM
  2. UPS/DHL shipping in Europe
    By DML73 in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 29 Jan 2009, 09:43 PM
  3. what is the track your package url?
    By keylesslocks in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Aug 2008, 06:49 PM
  4. going from small package to large package
    By luna_99 in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 19 Nov 2007, 02:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR