osCmax v2.5 User Manual
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

About Me/Us page?

This is a discussion on About Me/Us page? within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; In the Information section of the site are these pages: Shipping & Returns Privacy Notice Conditions of Use Contact Us ...

      
  1. #1
    New Member
    Join Date
    Apr 2008
    Posts
    17
    Rep Power
    0


    Default About Me/Us page?

    In the Information section of the site are these pages:

    • Shipping & Returns
    • Privacy Notice
    • Conditions of Use
    • Contact Us
    • Printable Catalog
    • Gift Voucher FAQ
    • Site Map

    Is there an About Me (or About Us) page somewhere and I'm not seeing it?

  2. #2
    osCMax Developer

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


    Default Re: About Me/Us page?

    No there is not a static about us page, but just create an article in the Admin articles manager, then link to it in your infobox.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    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

  3. #3
    Member
    Join Date
    Apr 2009
    Posts
    57
    Rep Power
    4


    Default Re: About Me/Us page?

    This is easier said than done. Creating the article - easy. But linking to the infobox. I have no idea how you do this. Can this be explained in OscMax for dummies speak

    I want to put in an About Us page and would prefer it to appear in the footer and want another page to appear in the information info box as well.

    When I go to infobox in the admin site, there is nothing in the edit of that where I can add a link to another page. Or does this require going into the information.php page. What about the footer - how could I do that.

    cheers

  4. #4
    osCMax Developer

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


    Default Re: About Me/Us page?

    To add a link, you need to edit the /includes/boxes/information.php file. Add your link there, use the existing links as a template.

    To add a link at the bottom of your page, edit main_page.tpl.php in your template directory and insert the link where you want it to appear.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    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

  5. #5
    Member
    Join Date
    Apr 2009
    Posts
    57
    Rep Power
    4


    Default Re: About Me/Us page?

    Hi

    I am still completely confused here. I have added a link to the Information.php page - that is easy and I have name it eg. tep_href_link(FILENAME_CARE). It shows in the information box. But how to create the actual filename. If I do a search for say FILENAME_CONDITIONS, there are about there are four pages that this appears, conditions.php, conditions.tpl.php, filenames.php, information.php and sitemap.tpl.php

    Do I have to create a care.php page (product care), then go to the other pages and add in details for this. And then how do I get content. Do I have to create another page in the admin site so that I can add content like you can with the conditions and privacy pages?.

    It doesn't seem very straightforward. Really struggling. Thanks.

  6. #6
    Member
    Join Date
    Apr 2009
    Posts
    57
    Rep Power
    4


    Default Re: About Me/Us page?

    Hi Michael

    Ok - some progress - I checked out a link I found you had on the forum
    Add a new page

    This add-new-page was good - got as far as adding the link to the information box, giving it correct link name, blah blah and all is working. However, the tutorial page doesn't work properly for oscmax as the pages are a bit different.

    In this case, the shipping.php which I have copied and rename to care.php to show my new page, is different to the shipping.php file from the standard oscommerce package.

    The oscmax file has the following code: I have rename FILENAME_SHIPPING to FILENAME_CARE as told to in the tutorial. The difference in oscmax is that there is the $content = CONTENT_SHIPPING;
    $content_template = TEMPLATENAME_SHIPPING; lines whereas in the oscommerce version there is the full table html.

    What is happening now is that my page is created but I get the shipping details coming up and I know it is due to the lines below but the page breaks if I remove it and I am not sure how to create my page text. I did create a new care.php page in the languages/english folder as per the tutorial but it doesn't pick that up. So I'm nearly there I think

    Cheers - Chris

    --------------------------------------------
    require('includes/application_top.php');

    require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CARE);

    $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CARE));

    $content = CONTENT_SHIPPING;
    $content_template = TEMPLATENAME_SHIPPING;

    include (bts_select('main', $content_template)); // BTSv1.5

    require(DIR_WS_INCLUDES . 'application_bottom.php');
    ?>
    ---------------------------------------------

  7. #7
    osCMax Developer

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


    Default Re: About Me/Us page?

    Doesn't anybody like doing things the easy way? Forget all that garbage about creating new files, editing php. Completely Unneccesary.

    1. Login to your admin panel. Go to the Articles Manager

    2. Add an author - your name.

    3. Then create a category - for example Pages (you may have to create 2 categories, as there is a bug that causes errors on some systems if there is only one article category)

    4. Then in the category Pages, create an article called About Us. In the editor that appears, type in your article. then save it.

    5. Now, copy the url to the article and paste it into the information box file. Done. Nothing more needs to be done. No code anywhere needs to be edited and you have an about us page in minutes. No fuss, no muss.

    FYI, the relative link to the article will be something like this:

    Code:
    article_info.php?articles_id=1
    Create a new link in your information box that looks like this:

    PHP Code:
    '<a href="article_info.php?articles_id=1"> About Us </a><br>' 

    Take a look here, I created a sample about us page and link in the information box in about 5 minutes:
    http://php5.oscmax.com/oscmax2.1/
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    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

  8. #8
    Member
    Join Date
    Apr 2009
    Posts
    57
    Rep Power
    4


    Default Re: About Me/Us page?

    Thanks Micheal - took me all of 2 minutes to fix that - how easy. They should remove that tutorial from oscommerce site and use your simple way.

    Cheers

  9. #9
    osCMax Developer

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


    Default Re: About Me/Us page?

    That link you followed is for standard osCommerce, not osCMax. In standard osCommerce you have to do it the way specified in that post. Note that that post you referred to is in the osCommerce forums and does not apply to osCMax.

    Just another reason why osCMax is better!
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    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

  10. #10
    CLK
    CLK is offline
    New Member
    Join Date
    Dec 2005
    Posts
    8
    Rep Power
    0


    Default Re: About Me/Us page?

    Hi,
    after reading this post i am trying to do the same thing michael is talking about. I just wanted to post the code and make sure it is right, i suspect it is not. Any help will be great!

    Code:
      $boxContent = '<a href="' . tep_href_link(FILENAME_SHIPPING) . '"> ' . BOX_INFORMATION_SHIPPING . '</a><br>' .
    
                   '<a href="' . tep_href_link(FILENAME_PRIVACY) . '"> ' . BOX_INFORMATION_PRIVACY . '</a><br>' .
    
                 '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '"> ' . BOX_INFORMATION_CONDITIONS . '</a><br>' .
                  '<a href="article_info.php?articles_id=4"> About Us </a><br>' .
    
                    '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '"> ' . BOX_INFORMATION_CONTACT . '</a><br>'.
    
                    '<a href="' . tep_href_link(FILENAME_CATALOG_PRODUCTS_WITH_IMAGES, '', 'NONSSL') . '">' . BOX_CATALOG_PRODUCTS_WITH_IMAGES . '</a><br>' .
    
                    '<a href="' . tep_href_link(FILENAME_GV_FAQ, '', 'NONSSL') . '"> ' . BOX_INFORMATION_GV . '</a><br>' . //ICW ORDER TOTAL CREDIT CLASS/GV
    
                    '<a href="' . tep_href_link(FILENAME_SITEMAP) . '">' . BOX_INFORMATION_SITEMAP . '</a>';
    Thank you
    PJ
    Last edited by CLK; 12-09-2009 at 10:24 AM.

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 02-02-2009, 05:50 AM
  2. Confirmation Page takes me back to Payment Page
    By Dubious in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 10-20-2006, 02:04 PM
  3. Product detail page as the home/main page???
    By sukarya in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 02-17-2006, 05:21 AM
  4. Show manufacturer's name on product page, not category page
    By kellbot in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 04-25-2005, 04:57 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
  •