Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

add a complete new page


Guest

Recommended Posts

can somebody tell me how to create a completly new page so i can write text in it and have pictures.

 

what i have done so far is copied the conditions.php file, renamed it and dumped it back in the main cataolg folder.

 

but doing this brings up the same text as in the conditions.php page.

 

i have then copied the english/conditions.php file and renamed it and then put it back in the appropiate place. i have tried changing the text in the file but it still brings up the same text as in the original conditions.php file.

 

hope you understand, if not please tell me how to create a new page, explaining what new files need to go where and if any scripting needs to be changed.

 

cheers

Link to comment
Share on other sites

find this line in your new file (the copy of conditions.php)

 

<td class="main"><?php echo TEXT_INFORMATION; ?></td>

 

Now you can either insert your text directly here, just replace:

 

<?php echo TEXT_INFORMATION; ?>

 

....with your text.

 

Or you can use the language files if you want. You would need to change:

 

<?php echo TEXT_INFORMATION; ?>

 

....to something like:

 

<?php echo TEXT_MY_NEW_TEXT; ?>

 

Then you need to define TEXT_MY_NEW_TEXT in the language file.

Link to comment
Share on other sites

I always use one of the contributions to do this, makes it so easy and you can add as many pages as you want. Infopages with admin is a good one.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

I always use one of the contributions to do this, makes it so easy and you can add as many pages as you want. Infopages with admin is a good one.

 

cheers wendy (nice pic)!

 

can you tell me the link for the contrib as it is not coming up in the search!

 

cheers

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...