Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2013
    Posts
    345
    Plugin Contributions
    0

    Default How do i find the 'about us' page

    I have links in my template that look like this:

    <li><a href="<?php echo zen_href_link(FILENAME_PRIVACY); ?>">Privacy Policy</a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_PRIVACY); ?>">Refund policy</a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_SITE_MAP); ?>">Sitemap</a></li>

    i'm trying to figure out how to add an 'About Us' link using similar coding to above. I tried:
    <li><a href="<?php echo zen_href_link(FILENAME_ABOUT_US); ?>">About Us</a></li>

    but get a page not found.. where are the 'FILENAME_XXXXXX' defined?

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,492
    Plugin Contributions
    88

    Default Re: How do i find the 'about us' page

    Do you have the plugin (https://www.zen-cart.com/downloads.php?do=file&id=86) installed? If it's installed properly, you'll see the folder /includes/modules/pages/about_us in your store's file-system.

  3. #3
    Join Date
    Feb 2013
    Posts
    345
    Plugin Contributions
    0

    Default Re: How do i find the 'about us' page

    Quote Originally Posted by lat9 View Post
    Do you have the plugin (https://www.zen-cart.com/downloads.php?do=file&id=86) installed? If it's installed properly, you'll see the folder /includes/modules/pages/about_us in your store's file-system.

    i do not have that installed but there IS an about_us folder at /includes/modules/pages/about_us. it only includes a header_php.php file in it.. but what does that have to do with coding the link?

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,492
    Plugin Contributions
    88

    Default Re: How do i find the 'about us' page

    Each Zen Cart "page" needs to have a folder in the /includes/modules/pages folder that carries its name.

    If you also have a file named /includes/templates/YOUR_TEMPLATE/templates/tpl_about_us_default.php (either in the YOUR_TEMPLATE or template_default) folder, then it sounds like all you're missing is the filename definition (normally found in the /includes/extra_datafiles folder).

    There "should" be a file named something like /incudes/extra_datafiles/about_us_filename.php; if it's not present, then create it with the following content:
    Code:
    define ('FILENAME_ABOUT_US', 'about_us');
    At that point, the code you posted in your original posting should magically start working.

  5. #5
    Join Date
    Feb 2013
    Posts
    345
    Plugin Contributions
    0

    Default Re: How do i find the 'about us' page

    Quote Originally Posted by lat9 View Post
    Each Zen Cart "page" needs to have a folder in the /includes/modules/pages folder that carries its name.

    If you also have a file named /includes/templates/YOUR_TEMPLATE/templates/tpl_about_us_default.php (either in the YOUR_TEMPLATE or template_default) folder, then it sounds like all you're missing is the filename definition (normally found in the /includes/extra_datafiles folder).

    There "should" be a file named something like /incudes/extra_datafiles/about_us_filename.php; if it's not present, then create it with the following content:
    Code:
    define ('FILENAME_ABOUT_US', 'about_us');
    At that point, the code you posted in your original posting should magically start working.
    There is NO file called 'tpl_about_us_default.php' in either the template_default or my template folder. There IS a file called 'about_us_filename.php' in the '/incudes/extra_datafiles/' folder.

    Why isn't there a default 'tpl_about_us_default.php' at least in the template_default folder? doesn't the latest version of zen come with one? can i create one?

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,492
    Plugin Contributions
    88

    Default Re: How do i find the 'about us' page

    Quote Originally Posted by lidlchris View Post
    There is NO file called 'tpl_about_us_default.php' in either the template_default or my template folder. There IS a file called 'about_us_filename.php' in the '/incudes/extra_datafiles/' folder.

    Why isn't there a default 'tpl_about_us_default.php' at least in the template_default folder? doesn't the latest version of zen come with one? can i create one?
    The About Us page is a plugin (the download link is in post #2 of this thread), not built into Zen Cart. You can download that plugin and copy the tpl_about_us_default.php file (and possibly other missing files) to your store's file-system.

  7. #7
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: How do i find the 'about us' page

    I just noticed that I have About Me in my define page lineup. But I cant get it to appear on my site. Setting in Configuration is "1". Link on text on.

 

 

Similar Threads

  1. v151 How do I find out about unknown cookies?
    By delia in forum General Questions
    Replies: 2
    Last Post: 5 Jun 2013, 01:21 PM
  2. HELP!: How can I find the correct name of the correct Handler page?
    By bongobayfusion in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 18 Jan 2012, 10:00 PM
  3. Replies: 1
    Last Post: 10 Mar 2009, 07:48 PM
  4. where can I find the about us page ?
    By hamspots in forum General Questions
    Replies: 2
    Last Post: 24 Jan 2009, 07:57 AM
  5. How did you find out about us?.. help please
    By My_web in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 17 Dec 2006, 05:41 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