Jump to content



Photo
- - - - -

Information area edit


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

#1   motoxpress

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?

GL

#2   radders

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

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 /smile.gif' class='bbc_emoticon' alt=':)' />

#4   burt

burt

    Vanquisher of Demons

  • Community Team
  • 9,731 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.

HTH