Results 1 to 6 of 6

Home breadcrum link won't work, any idea?

This is a discussion on Home breadcrum link won't work, any idea? within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; Hi all. I am trying to get the Home breadcrum link to work, but I keep getting missing file name. ...

      
  1. #1
    Member
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    69
    Rep Power
    0


    Default Home breadcrum link won't work, any idea?

    Hi all.

    I am trying to get the Home breadcrum link to work, but I keep getting missing file name.

    What could have gone wrong.

    I have includes/configure.php:

    define('DIR_WS_HOME', '/~username/'); //Home added
    application_top.php:

    $breadcrumb->add(HEADER_TITLE_HOME, DIR_WS_HOME);
    $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));
    english.php:

    define('HEADER_TITLE_HOME', 'Home');
    Is this the correct way of doing this, or have I made more complicated than I need to??

    Cheers for you coching...and smootching...

    Van....

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default

    'DIR_WS_HOME' is invalid - does not exist - not definned in the default OSC install.

    I am not sure what your tring to do but the breadcrumbs work fine for me as is, with no changes.
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  3. #3
    Member
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    69
    Rep Power
    0


    Default

    I have my oscommerce site hosted at aabox. As it was, Top was redirected to www.aabox.com.

    Org:

    $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);
    $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));
    The http_server in config.. is set to: define('HTTP_SERVER', 'http://205.214.80.96')

    So clicking on Top goes to the root.

    What i wanted was to add Home in the breadcrum and link it to http://205.214.80.96/~myusername/ the root of my web site.

    Is there away to do this?

    Thanks

    Van...

  4. #4
    Member
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    69
    Rep Power
    0


    Default

    to see live http://www.insituconservation.com/catalog/
    So Home should be linked to http://www.insituconservation.com

    Not big of a problem, but isn't it weird to implement the standard aabox Oscommerce like that, click on Top and you go to the root of aabox.com
    hmm?? Or is it free marketing for aabox?

  5. #5
    Member
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    69
    Rep Power
    0


    Default

    Mangaged to make it work. with above settings but the

    define('DIR_WS_HOME', '/~username/'); //Home added
    was wrong should be:

    define('DIR_WS_HOME', 'http://205.214.80.96/~username/'); //Home added

  6. #6
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default

    vandiike, It is not any hidden agenda by AABox. The problem is that you were using the IP. Once you switch to your domain name, there are no problems. It will direct to your domain. And if you look closely, it is not directing to AABox home page, but rather, the default AABOX 404 ERROR page. Use your domain rather than IP and there are no problems.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. how do i change the home link to link to somewhere else?
    By jcomputers in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 07-22-2006, 10:01 PM
  2. how do i set a link active, if the link links to actual page
    By poschiman in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 06-03-2006, 05:10 PM
  3. OscMax to replace OsCommerce? A good idea?
    By Kristina in forum osCMax v1.7 Installation
    Replies: 4
    Last Post: 04-20-2005, 09:19 PM
  4. Can't seem to get same page link/anchor to work~
    By DaveF in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 08-01-2004, 10:16 AM
  5. New Template design idea
    By xwisdom in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 12-04-2003, 07:35 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
  •