ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Search Engine Optimization
  New Posts New Posts RSS Feed - Am I missing someting, or is PC? -- pcv_tmpNewPath
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Am I missing someting, or is PC? -- pcv_tmpNewPath

 Post Reply Post Reply
Author
Message
Guests View Drop Down
Guest
Guest
Post Options Post Options   Thanks (0) Thanks(0)   Quote Guests Quote  Post ReplyReply Direct Link To This Post Topic: Am I missing someting, or is PC? -- pcv_tmpNewPath
    Posted: 21-September-2013 at 10:50pm
I'm working on a project where I'd like to have resources such as images called via a fully qualified URL and I see widespread use of the following variable that appears to provide just this -- pcv_tmpNewPath ... for example:

src='<%=pcv_tmpNewPath%>catalog/<%=pImageUrl%>'

However, for the life of me I cannot find where the value for this variable is populated. I've run searches on the entire /pc/ and /includes/ sub-directories in both standard and Apparel archives for both PC 4.6 and 4.7 and don't find anywhere this variable is actually populated, though it's used extensively.

I was expecting something along the lines of:
dim pcv_tmpNewPath
pcv_tmpNewPath=replace((scStoreURL&"/"&scPcFolder&"/pc/"),"//","/")
pcv_tmpNewPath=replace(pcv_tmpNewPath,"https:/","https://")
pcv_tmpNewPath=replace(pcv_tmpNewPath,"http:/","http://")
If (lcase(Request.ServerVariables("HTTPS")) = "on") Then
pcv_tmpNewPath=replace(pcv_tmpNewPath,"http://","https://")
End If

I'm using that for now ... but I can't help wondering if I am missing something, or is PC missing something here?
Back to Top
whizzinpc View Drop Down
Newbie
Newbie
Avatar

Joined: 17-January-2006
Location: California
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote whizzinpc Quote  Post ReplyReply Direct Link To This Post Posted: 30-September-2013 at 4:59pm
only thing I see is <% pcv_tmpNewPath="../pc/"
Back to Top
Guests View Drop Down
Guest
Guest
Post Options Post Options   Thanks (0) Thanks(0)   Quote Guests Quote  Post ReplyReply Direct Link To This Post Posted: 01-October-2013 at 12:52am
Thanks, Art.

I can't find this either, though. I even went further back to v4.5.

I'm only finding this in the /pcadmin/ directory.

It does not appear to be in any files in the /include/ or /pc/ directories of the last three standard or apparel version archives.

Even then, it wouldn't suffice for an explicit, fully qualified path I'm wanting for use with SEO enhancements I'm working up.

That being said, it does indeed appear to me to completely missing from the customer-facing side of the application, though it's an innocuous error/issue within the /pc/ directory for anyone not actually caring if it populates a value.

I appreciate you taking the time to look, though. 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.