Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to make new pages


Guest

Recommended Posts

How do I go about adding an about us page, forums link and a links page.

 

Also is it possible to modify the catalog so that when a category is clicked a page opens with a top section that allows me to write category descriptions and news for that catalog in addition to links for the subcategories.

Link to comment
Share on other sites

Also is there a way by add on or other means to add a music player that not only lets me add music to a list, allow the user to pausemute or change the track but also remain persistent when they are exploring the catalog and site.

Link to comment
Share on other sites

How do I go about adding an about us page, forums link and a links page.

 

Also is it possible to modify the catalog so that when a category is clicked a page opens with a top section that allows me to write category descriptions and news for that catalog in addition to links for the subcategories.

Hi Again,

Take a look at header tags seo

 

http://addons.oscommerce.com/info/5851

 

This is a great contribution for search engine optimisation and at the same time includes a category description.

When you edit your categories there is an extra field for the description so you sort of kill 2 birds with one stone.

 

If you also add the CKEditor osC 2.3.1 (easy install)

 

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

 

You will be able to create great category descriptions in Html even add a few extra pictures etc.

 

John

To improve is to change; to be perfect is to change often.

 

Link to comment
Share on other sites

I tried to install that Header Tags SEO..., it broke my site. I now have ultimate URI or soemthing liek that... works well for changing all the titles and url's and such...

 

But you are saying if I install one of these addons then I can add to say this page http://www.thearcanehaven.com/index.php/amulets-and-talismans-c-57 Under the title section of Amulets and Talismans but above the links for subvcategories a description of any kind I want... also while looking at that page... It seems on firefox and IE the links show the Alt-Text for the picture but I never loaded a picture and dont want it to be there at all. How can I turn off those pictures?

 

@@joli1811

Link to comment
Share on other sites

I tried to install that Header Tags SEO..., it broke my site. I now have ultimate URI or soemthing liek that... works well for changing all the titles and url's and such...

 

But you are saying if I install one of these addons then I can add to say this page http://www.thearcanehaven.com/index.php/amulets-and-talismans-c-57 Under the title section of Amulets and Talismans but above the links for subvcategories a description of any kind I want... also while looking at that page... It seems on firefox and IE the links show the Alt-Text for the picture but I never loaded a picture and dont want it to be there at all. How can I turn off those pictures?

 

@@joli1811

 

Hi,

If you take a look at this link

http://www.demo3.osc-design.com/index.php?cPath=3&osCsid=67fc3418b239ece7f69eda4fa10d5bf2

 

Here I have duplicated what your page looks like by messing up some code in my index.php around lines 68 - 75

 

it should look like this

http://www.demo2.osc-design.com/index.php?cPath=3

 

when you upload a new category in oscommerce you are given the choice to upload a category image if you really want to remove this image the code is in index.php

 

$rows = 0;

while ($categories = tep_db_fetch_array($categories_query)) {

$rows++;

$cPath_new = tep_get_path($categories['categories_id']);

$width = (int)(100 / MAX_DISPLAY_CATEGORIES_PER_ROW) . '%';

echo ' <td align="center" class="smallText" width="' . $width . '" valign="top"><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br />' . $categories['categories_name'] . '</a></td>' . "\n";

if ((($rows / MAX_DISPLAY_CATEGORIES_PER_ROW) == floor($rows / MAX_DISPLAY_CATEGORIES_PER_ROW)) && ($rows != $number_of_categories)) {

echo ' </tr>' . "\n";

echo ' <tr>' . "\n";

}

}

 

around about line: 68 -75

 

Not sure why you want to remove completely it helps the customer find the products????

 

The headertags install normally breaks when you change the admin/categories.php there are a lot of changes there so you have to be careful and take a bit of time.

 

John

To improve is to change; to be perfect is to change often.

 

Link to comment
Share on other sites

Hi,

If you take a look at this link

http://www.demo3.osc-design.com/index.php?cPath=3&osCsid=67fc3418b239ece7f69eda4fa10d5bf2

 

Here I have duplicated what your page looks like by messing up some code in my index.php around lines 68 - 75

 

it should look like this

http://www.demo2.osc-design.com/index.php?cPath=3

 

when you upload a new category in oscommerce you are given the choice to upload a category image if you really want to remove this image the code is in index.php

 

$rows = 0;

while ($categories = tep_db_fetch_array($categories_query)) {

$rows++;

$cPath_new = tep_get_path($categories['categories_id']);

$width = (int)(100 / MAX_DISPLAY_CATEGORIES_PER_ROW) . '%';

echo ' <td align="center" class="smallText" width="' . $width . '" valign="top"><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br />' . $categories['categories_name'] . '</a></td>' . "\n";

if ((($rows / MAX_DISPLAY_CATEGORIES_PER_ROW) == floor($rows / MAX_DISPLAY_CATEGORIES_PER_ROW)) && ($rows != $number_of_categories)) {

echo ' </tr>' . "\n";

echo ' <tr>' . "\n";

}

}

 

around about line: 68 -75

 

Not sure why you want to remove completely it helps the customer find the products????

 

The headertags install normally breaks when you change the admin/categories.php there are a lot of changes there so you have to be careful and take a bit of time.

 

John

 

PS: will give you an example tomorrow sometime of the category description I have to install anyway.

To improve is to change; to be perfect is to change often.

 

Link to comment
Share on other sites

Creating new pages is not that hard and has been dealt with on many occasions.

 

Copy the conditions file in your root folder and remane it to about_us. Open the file and change the two instances of conditions to about_us.

Copy the conditions file in your languages folder, and again change the instances of conditions to about us.

Open your includes/filenames.php file and again copy the conditions define and alter to about_us.

Open your includes/modules/boxes/bm_information and copy the link for the conditions page and remane it to about_us. Be carefull to take notice that the last link in the list is coded diferently at the end.

Open your includes/languages/english/modules/boxes/bm_information and again copy the conditions define and rename to about_us.

 

Make sure you use capitals as in the original links and text.

 

You can do this for as many new pages as you need.

 

Headertags_seo is the best for category and manufacturer descriptions, and also for seo. Its all in one and saves adding several add ons to achieve the same thing. This addon is also well supported and has a support forum. If it broke your site, you must have missed something in t install.

 

As to a music player, i have no idea.

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...