Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding non product pages?


Guest

Recommended Posts

Hi,

Is there a good way to add a page to my OSC site that isn't a product? (ie. I want custom content in the middle section of the page, with the normal OSC boxes and side bars.)

 

Thanks.

Link to comment
Share on other sites

Thanks for the replies. Both options look like good choices.

 

On the contribution though, I was looking through the files and the Readme.txt and came across what appears will cause a problem when installed.

 

There is reference to a directory called information, but no mention of creating it. (I can accept this as a typo, but the following is a bit harder to explain...)

Also, there is a mention of information/configure.php - where is this configure.php file supposed to come from as it isn't in the download?

 

(Language File)

includes/configure.php

define('DIR_WS_INFORMATION', DIR_WS_MODULES . 'information/');

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

## ADMIN AREA ##

includes/configure.php:

// Module: Information Unlimited

require(DIR_WS_MODULES . 'information/configure.php');

 

Or install this and then add unlimited pages at the click of a button using the Admin Tool:

 

http://www.oscommerce.com/community/contributions,1025

Link to comment
Share on other sites

Awesome, that worked great.

 

Only problem I ran into is when I load the page I just created, for each of the images and I'm assuming the stylesheet.css, the page is duplicating the domain address. (ie. if the image is at is mysite.com/images/img.gif, the page is trying to find it at mysite.com/mysite.com/images/img.gif)

I encountered this problem when I was testing the email system. The link it placed at the bottom of the email was duplicated in the same way.

Any idea which file or setting is at fault for this?

 

Thanks again.

 

Sorry - wrong Info Unlimited mod - try this one:

 

http://www.oscommerce.com/community/contributions,1026

Link to comment
Share on other sites

That's kind of what I suspected, but to me the configure.php file looks fine.

Does anything stand out to you?

 

Thanks again for your help.

 

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://s185111225.onlinehome.us'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://ssl.perfora.net'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 's185111225.onlinehome.us');
 define('HTTPS_COOKIE_DOMAIN', 's185111225.onlinehome.us');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');
 define('DIR_WS_HTTP_CATALOG', '/');
 define('DIR_WS_HTTPS_CATALOG', '/s185111225.onlinehome.us/');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', '/kunden/homepages/14/d185111206/htdocs/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
?>

 

maybe a setting in your configure.php file is wrong?
Link to comment
Share on other sites

Archived

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

×
×
  • Create New...