osCmax v2.5 User Manual
Results 1 to 8 of 8

Add Definable About US, or any Page

This is a discussion on Add Definable About US, or any Page within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; As always **BACKUP FIRST** Follow these instruction to add an about us page, to add any other page change "aboutus" ...

      
  1. #1
    New Member
    Join Date
    May 2004
    Location
    Meath, Ireland
    Posts
    22
    Rep Power
    0


    Smile Add Definable About US, or any Page

    As always

    **BACKUP FIRST**

    Follow these instruction to add an about us page,

    to add any other page change "aboutus" to "yourpagename"


    ------------------------------------------------------------------------------------

    Copy catalog\shipping.php

    Rename to aboutus.php

    Change all instances of “shipping” to “aboutus”


    ------------------------------------------------------------------------------------

    Copy catalog\admin\define_shipping.php

    Rename to define_aboutus.php

    Change all instances of “shipping” to “aboutus”


    ------------------------------------------------------------------------------------

    Copy catalog\includes\languages\english\shipping.php

    Rename to aboutus.php

    Change all instances of “shipping” to “aboutus”

    ------------------------------------------------------------------------------------

    Copy catalog\includes\languages\english\shipping_conten t.php

    Rename to aboutus_content.php

    ------------------------------------------------------------------------------------

    Copy catalog/templates/fallback/content/shipping.tpl.php

    Rename to aboutus.tpl.php

    Change all instances of “shipping” to “aboutus”


    ------------------------------------------------------------------------------------

    in catalog/includes/boxes/information.php

    Find around line 52

    '<a href="' . tep_href_link(FILENAME_SHIPPING) . '"> ' . BOX_INFORMATION_SHIPPING . '</a><br>' .

    Add

    '<a href="' . tep_href_link(FILENAME_ABOUTUS) . '"> ' . BOX_INFORMATION_ABOUTUS . '</a><br>' .

    Above or below it depending on where you want about us to display

    ------------------------------------------------------------------------------------

    in catalog/includes/languages/english.php

    Find

    define('BOX_INFORMATION_SHIPPING', 'Shipping & Returns');

    add below it

    define('BOX_INFORMATION_ABOUTUS', 'About Us');

    ------------------------------------------------------------------------------------

    In catalog/includes/filenames.php

    Find

    define('CONTENT_SHIPPING', 'shipping');

    define('CONTENT_SHIPPING_CONTENT', 'shipping_content');


    add Below


    define('CONTENT_ABOUTUS', 'aboutus');

    define('CONTENT_ABOUTUS_CONTENT', 'aboutus_content');


    Find

    define('FILENAME_SHIPPING', CONTENT_SHIPPING . '.php');

    define('FILENAME_SHIPPING_CONTENT', CONTENT_ SHIPPING _CONTENT . '.php');


    add Below

    define('FILENAME_ABOUTUS', CONTENT_ABOUTUS . '.php');

    define('FILENAME_ABOUTUS_CONTENT', CONTENT_ABOUTUS_CONTENT . '.php');

    ------------------------------------------------------------------------------------

    in

    catalog/includes/configure_bts.php

    Find


    define('TEMPLATENAME_SHIPPING', 'shipping.tpl.php');


    add below


    define('TEMPLATENAME_ABOUTUS', 'aboutus.tpl.php');

    ------------------------------------------------------------------------------------
    in

    catalog/admin/index.php

    find

    array('title' => BOX_CATALOG_DEFINE_SHIPPING, 'link' => tep_href_link(FILENAME_DEFINE_SHIPPING, 'selected_box=catalog')),

    add below

    array('title' => BOX_CATALOG_DEFINE_ABOUTUS, 'link' => tep_href_link(FILENAME_DEFINE_ABOUTUS, 'selected_box=catalog')),


    ------------------------------------------------------------------------------------

    in
    catalog/admin/includes/filename.php



    find

    define('FILENAME_DEFINE_SHIPPING', 'define_shipping.php');


    add below


    define('FILENAME_DEFINE_ABOUTUS', 'define_aboutus.php');

    ------------------------------------------------------------------------------------

    in
    catalog/admin/includes/languages/english.php

    find

    define('BOX_CATALOG_DEFINE_SHIPPING', 'Shipping Page');


    add after it

    define('BOX_CATALOG_DEFINE_ABOUTUS', 'About Us Page');

    ------------------------------------------------------------------------------------

    in

    catalog/admin/includes/boxes/catalog.php

    find
    tep_admin_files_boxes(FILENAME_DEFINE_PRIVACY, BOX_CATALOG_DEFINE_PRIVACY) .

    Add immediately below

    tep_admin_files_boxes(FILENAME_DEFINE_ABOUTUS, BOX_CATALOG_DEFINE_ABOUTUS) .

    -------------------------------------------------------------------------

    add permissions as per

    forbidden access error on new pages in admin

    ------------------------------------------------------------------------------------


    Enjoy!

  2. #2
    New Member
    Join Date
    Apr 2007
    Posts
    28
    Rep Power
    0


    Default Re: Add Definable About US, or any Page

    I have just added an "about us" page. It all seems to work good, but now I get this error at the top of the new "about us" page.

    F
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/flutter/public_html/catalog1/whoarewe.php:1) in /home/flutter/public_html/catalog1/includes/functions/sessions.php on line 98



    Can someone help me out.

  3. #3
    Member
    Join Date
    Oct 2006
    Location
    Cincinnati, ohio
    Posts
    43
    Rep Power
    0


    Default Re: Add Definable About US, or any Page

    Guys, have you tried my about us page contrib I added here last year?

    About Us Page Creator 1.0.0 - osCMax - osCommerce Maximized

    Just upload the files to freshly installed oscmax 2.0 installation. It should work. If not, post any issues here.
    Regards,

    Ben Wade
    www.AllWebNow.com - E-commerce Web Hosting

  4. #4
    New Member
    Join Date
    Apr 2007
    Posts
    28
    Rep Power
    0


    Default Re: Add Definable About US, or any Page

    Problem Fixed...
    I had accidently added the letter F before the <?php start code at the top of the catalog/mynewpage.php. Thats all it was folks...

    Terry.

  5. #5
    New Member
    Join Date
    May 2004
    Location
    Meath, Ireland
    Posts
    22
    Rep Power
    0


    Smile Re: Add Definable About US, or any Page

    Hi Terry,

    I didnt get a chance to check it for you,

    glad you got it sorted,

    Regards,

    Kieran

  6. #6
    Member
    Join Date
    Jun 2008
    Posts
    73
    Rep Power
    4


    Default Re: Add Definable About US, or any Page

    I followed the instructions and all I would get upon trying to view the new page was a completely blank page.

    I used the contrib by allwebnow mentioned above and it worked like a dream.

    Thank Thank Thank You

  7. #7
    Member
    Join Date
    Oct 2006
    Location
    Cincinnati, ohio
    Posts
    43
    Rep Power
    0


    Default Re: Add Definable About US, or any Page

    Quote Originally Posted by kerryanne View Post
    I followed the instructions and all I would get upon trying to view the new page was a completely blank page.

    I used the contrib by allwebnow mentioned above and it worked like a dream.

    Thank Thank Thank You
    I was wondering when someone was going to use it. hehe.
    Regards,

    Ben Wade
    www.AllWebNow.com - E-commerce Web Hosting

  8. #8
    Member
    Join Date
    Jun 2008
    Posts
    73
    Rep Power
    4


    Default Re: Add Definable About US, or any Page

    Thanks, your a life saver.

    i spent days going over and over and over adding new pages.

    I currently have 2 shopping carts I am developing for clients and both need lots of additional page that they can edit themselves.

    So glad I found OSMax, sure beats plain OS and adding all the contribs yourself hehe

Similar Threads

  1. Add About Us Page
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 12-09-2007, 08:02 AM
  2. Add new page probs
    By ozstar in forum osCmax v2 Customization/Mods
    Replies: 5
    Last Post: 05-04-2007, 07:25 PM
  3. How to add a new(extra) page to oscmax1.7?
    By amilo in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 09-19-2005, 09:52 PM
  4. add a field to contact us page
    By stevensdesign in forum osCMax v1.7 General Mods Discussion
    Replies: 1
    Last Post: 08-01-2005, 03:37 AM
  5. What to add Contrib for contact us page
    By Kristine in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 04-08-2004, 01:31 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
  •