Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Nov 2009
    Location
    kuching
    Posts
    43
    Plugin Contributions
    0

    Default How to make the link point to php file?

    Hi All,

    i have try on few days already on how to set this link to point to this particular php file.

    can any1 give me a tutorial?


    Thanks.

    My page is www.all-in-1-shop.com/test1

    my following is broken or haven being created but i wanna know how to set it pointed directed to this particular php file.

    About Us, Payment Method, Delivery Method, Order Information, Privacy Policy, New Products, Shopping Instruction.

    kindly tell me which command to use and where shall i store the new php file for it to be link.

    thank you Very Much

    regards,

    Andrew

  2. #2
    Join Date
    Oct 2006
    Posts
    624
    Plugin Contributions
    0

    Default Re: How to make the link point to php file?

    You seem to have some mods installed. For those mods, I can't give an answer as I don't know what they are and may not be familiar with them.

    For the default Zen Cart pages, here's one way of doing things.

    You can point to a particular php file by overriding the specific template file that affects the area containing the links you want to change. You then create the link by using the zen_href_link() function. The file name that the zen_href_link() function uses can be looked up in the /includes/filenames.php file.

    For example, the following code will point to the Shipping Information page:

    PHP Code:
    <a href="<?php echo zen_href_link(FILENAME_SHIPPING); ?>">The Shipping Information page</a>
    Goh Koon Hoek, author of "e-Start Your Web Store with Zen Cart".
    Printed book: www.lulu.com/content/10576284
    Electronic book and Errata: www.cucumbermedia.com/store

  3. #3
    Join Date
    Nov 2009
    Location
    kuching
    Posts
    43
    Plugin Contributions
    0

    Default Re: How to make the link point to php file?

    Hi,

    i still cant get it

  4. #4
    Join Date
    Nov 2009
    Location
    kuching
    Posts
    43
    Plugin Contributions
    0

    Default Re: How to make the link point to php file?

    Hi all,

    it gave me custom error 404

    T_T

    can give me in detail? Tnx

  5. #5
    Join Date
    Oct 2006
    Posts
    624
    Plugin Contributions
    0

    Default Re: How to make the link point to php file?

    Ok, let's simplify this.

    Which particular link on your site do you want to change? Specifically, is it a link on the top of the page or one at the bottom of the page?

    Do you have any mods on your site and have you tried working with Zen Cart templates?
    Goh Koon Hoek, author of "e-Start Your Web Store with Zen Cart".
    Printed book: www.lulu.com/content/10576284
    Electronic book and Errata: www.cucumbermedia.com/store

  6. #6
    Join Date
    Nov 2009
    Location
    kuching
    Posts
    43
    Plugin Contributions
    0

    Default Re: How to make the link point to php file?

    Hi,

    Both Top and bottom.

    and what do u mean by this?

    ( Do you have any mods on your site and have you tried working with Zen Cart templates? )

    let say my file was store at

    /includes/templates/classic/shopping_instruction/shopping_instruction.php

    and from top the shopping instruction how should i make the link pointed to the above data?

 

 

Similar Threads

  1. v139h How to Make the LOGO link point to the website home page in parent folder.
    By lynbor in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Jan 2016, 10:04 PM
  2. v139h How to make the URL link as this and which php file control it?
    By explorer1979 in forum General Questions
    Replies: 2
    Last Post: 11 Apr 2012, 05:27 AM
  3. Where to Change the config.php file to point to new downloads folder?
    By jackibar in forum Templates, Stylesheets, Page Layout
    Replies: 73
    Last Post: 22 Dec 2011, 07:17 AM
  4. Replies: 6
    Last Post: 13 Jan 2011, 12:36 AM
  5. How Do I Make Model # a link on the Invoice so it searches the site
    By stevenlee in forum Managing Customers and Orders
    Replies: 4
    Last Post: 19 May 2009, 05:00 AM

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