Jump to content

- - - - -

Information area edit

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1   motoxpress

  • Members
  • 21 posts

Posted 23 October 2002 - 04:36

Has anyone come up with a contribution to allow fo r the editing and adding of items in the 'information' area of OSCommerce?


#2   radders

  • Members
  • 2,036 posts

Posted 23 October 2002 - 16:14

As an example I added an entry for sizing to the information area on my site. I seem to remember this took just a few minutes and didn't need a mod. Apart from creating the files 'sizing.php' I added:

define('FILENAME_SIZING', 'sizing.php');
in includes/application_top
<a href="' . tep_href_link(FILENAME_SIZING, '', 'NONSSL') . '">' . BOX_INFORMATION_SIZING . '</a><br>'.
in includes/boxes/information.php
define('BOX_INFORMATION_SIZING', 'Sizing');
in includes/languages/english.php

Does that help?

#3   motoxpress

  • Members
  • 21 posts

Posted 23 October 2002 - 16:48

I know I can go add elements 'by hand'. But, I am building this site for someone who is a novice and wants to add/edit with forms not a text editor :)

#4   burt


    I drink and I know things

  • Community Team
  • 11,868 posts

Posted 23 October 2002 - 16:53

chmod 777 includes/languages/english.php
chmod 777 all the files inside /includes/languages/english

do same for all the other languages you use.

now go admin > tools > define languages > [choose file to edit] > you now have a form feature rather than a text editor thing.