Thread: Absolute Path

Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2006
    Posts
    22
    Plugin Contributions
    0

    Default Absolute Path

    Hi,

    I have my store in a sub-folder of my main website with domain forwarding masked. I want to link to specific pages in the cart but can't get the absolute path to show anywhere in the address bar.

    Any suggestions>
    Thank you

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Absolute Path

    Could you give a specific example of a page to which you would like to link and how you are trying to link to it?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Mar 2006
    Posts
    22
    Plugin Contributions
    0

    Default Re: Absolute Path

    Quote Originally Posted by kuroi View Post
    Could you give a specific example of a page to which you would like to link and how you are trying to link to it?
    www.pinnacleamericanrecords.com
    > enter
    > CJA Albums
    > Things Have Changed
    > They're Heroes
    > more info

    From the Zencart main page I want to link directly to the product page of the song, 'They're Heroes'. I was able to do this before because the path was visable in the address bar, but now it only shows the domain name.

    Thanks for your response!

    Joanne

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Absolute Path

    Quote Originally Posted by nanajo View Post
    www.pinnacleamericanrecords.com
    > enter
    > CJA Albums
    > Things Have Changed
    > They're Heroes
    > more info

    From the Zencart main page I want to link directly to the product page of the song, 'They're Heroes'. I was able to do this before because the path was visable in the address bar, but now it only shows the domain name.

    Thanks for your response!

    Joanne
    OK. There are several ways to get at these addresses. In some browsers they will appear in the bottom left hand corner when you hover over the link that would take you there. You can also work it out by examining the products_id code next to the product in the categories/products section of Admin.

    But the easiest is way is to go to a page with a link to the one whose address you want and do a View > Page Source in your browser. From there you can cut and paste the addresses you want (being careful to leave off anything starting zenid). This the absolute link for the example you gave would be http://www.cjaonline.com/zencart/ind...roducts_id=245.

    Even better still would be to construct your links using the zen_href_link function when you could achieve what you want by inserting the code zen_href_link('product_music_info','products_id=245') or create an internal EZ-Pages link using the string "index.php?main_page=product_music_info&products_id=245".
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Mar 2006
    Posts
    22
    Plugin Contributions
    0

    Default Re: Absolute Path

    [QUOTE=kuroi;288396]

    But the easiest is way is to go to a page with a link to the one whose address you want and do a View > Page Source in your browser. From there you can cut and paste the addresses you want (being careful to leave off anything starting zenid). This the absolute link for the example you gave would be http://www.cjaonline.com/zencart/ind...roducts_id=245.

    QUOTE]

    Fabulous - thank you so much for your help!

    Joanne

 

 

Similar Threads

  1. Prevent absolute path from showing in url.
    By bx32 in forum Basic Configuration
    Replies: 3
    Last Post: 27 Oct 2011, 04:32 PM
  2. Constant/function that returns absolute path for current Template
    By meckanism in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 12 Jan 2011, 06:05 PM
  3. How do I show url instead of absolute path
    By WebManV in forum General Questions
    Replies: 13
    Last Post: 16 Nov 2010, 12:15 AM
  4. error in path (function.session-save-path) after switching servers
    By stitch in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 16 Feb 2010, 09:37 AM
  5. How do I reach admin path via server virtual path?
    By lbeachmike in forum General Questions
    Replies: 6
    Last Post: 22 Jun 2009, 09:16 PM

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