osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

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" ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 02-29-2008, 12:44 AM
New Member
 
Join Date: May 2004
Location: Meath, Ireland
Posts: 22
Thanks: 3
Thanked 3 Times in 3 Posts
Rep Power: 0
khennessy
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to khennessy For This Useful Post:
michael_s (02-29-2008)
  #2  
Old 03-09-2008, 12:07 PM
New Member
 
Join Date: Apr 2007
Posts: 24
Thanks: 9
Thanked 0 Times in 0 Posts
Rep Power: 0
flutterby is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 03-09-2008, 05:26 PM
Member
 
Join Date: Oct 2006
Location: Cincinnati, ohio
Posts: 39
Thanks: 0
Thanked 3 Times in 2 Posts
Rep Power: 0
allwebnow
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 03-11-2008, 05:54 AM
New Member
 
Join Date: Apr 2007
Posts: 24
Thanks: 9
Thanked 0 Times in 0 Posts
Rep Power: 0
flutterby is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 03-11-2008, 05:58 AM
New Member
 
Join Date: May 2004
Location: Meath, Ireland
Posts: 22
Thanks: 3
Thanked 3 Times in 3 Posts
Rep Power: 0
khennessy
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to khennessy For This Useful Post:
flutterby (03-11-2008)
  #6  
Old 07-08-2008, 05:21 AM
New Member
 
Join Date: Jun 2008
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
kerryanne is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 07-08-2008, 05:33 AM
Member
 
Join Date: Oct 2006
Location: Cincinnati, ohio
Posts: 39
Thanks: 0
Thanked 3 Times in 2 Posts
Rep Power: 0
allwebnow
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 07-08-2008, 05:57 AM
New Member
 
Join Date: Jun 2008
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
kerryanne is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 04:15 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax