Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Stopping "What's new here" being displayed on main page.


adrianconchie

Recommended Posts

Posted

Hi there,

 

I have just started adding products to my online shop and for some reason, the main index page (the first page you see when you visit the site) shows "whats new here" as the main content. This is the only page on the site where it appears (luckily).

 

You can see this by visiting the page: http://www.gentsaccessories.co.uk/index.php

 

On the main page, I would just like it to display all the main "categories" (with an image for each category) within the main content of the page (for example) - Pens, Cufflinks, Watches, Wallets etc.. with a small image for each category, so that the user can then click on this and enter the category. This seems to work fine with the subcategory pages, but not the main page.

 

I have tried various ways of changing the code, but I cannot stop "whats new here" being displayed.

 

I hope someone can help.

 

Kind regards,

 

Adrian

Posted

Every newbie asks that, so there are plenty of posts about it. A look through the forum and knowledge base will expand your knowledge.

 

It may sound harsh, but sometimes it is quicker than posting that you have a problem and expect it to be fixed with no effort by you.

 

You may want to checkout what it says in your language files.

Posted
Every newbie asks that, so there are plenty of posts about it. A look through the forum and knowledge base will expand your knowledge.

 

It may sound harsh, but sometimes it is quicker than posting that you have a problem and expect it to be fixed with no effort by you.

 

You may want to checkout what it says in your language files.

 

I will throw in here: First, on any forum I search, and search, and search for information before posting. I've been visiting this support forum for over a month now and only posted my first question today. I spent 2 hours last night trying to find the answer to this very same question. I did come across a couple posts about what to delete in which files- but it did not accomplish its intended purpose- removing the "What's New" box. Searches on this forum in particular are difficult- for some reason unknown to me, the "flood interval" is constantly exceeded when I try to search. I will leave the browser window alone for 5 minutes before entering different search terms and still be confronted with "flood interval exceeded". Sometimes if I shut my browser down and restart the search will operate once or twice before producing the flood internal exceeded issue again, if I clear my cache, no change at all. Sometimes, when the search doesn't generate a flood interval comment, I am told that anything less than 3 characters in a search term is invalid and I must search again- but oops- now we have the flood interval exceeded issue crop up again.

 

My point is: I have encountered some significant impairments to "searching" the forum effectively and yet I still flog away, seemingly to no avail. I cannot be the only one with this problem I would think. Users/members with significant history on this forum have perhaps learned some tricks and what-not to be better able to find what they want, or perhaps have a vague recollection of topic 'X' which they can enter in the search feature, giving them a huge "jump up" on a noob. However, questions are still going to get asked, many of which the "old timers" may find redundant, repetitive and so on. Such is the way of all forums- but this is what keeps forums 'current' in a number of ways.

 

You may be thinking "this guy took longer to type this response than it would have taken to find 'X' ". Sadly, if that were true, I wouldn't have written this- I hate wasting time.

Posted

I completely agree. I have spent the past 4 hours on this forum, and the search results which appear, do not seem to have any relation to the keywords I have filled in in the search box. I am sooooooooo frustrated with this, which is exactly why I have posted these questions.

 

Anyway,

 

I have now found out how to remove the "what's new here" content for the main "index.php" page, but I cannot seem to get it to display all the categories (and images) in the main content. I just cannot understand why it shows the categories for example when you click further into the site, see: http://www.gentsaccessories.co.uk/index.php/cPath/19

 

 

(so the code must be there to tell it to show these), but it doesn't want to show them on the default page (index.php) - see http://www.gentsaccessories.co.uk/index.php - It just is completely blank.

 

Does anyone know which part of the code i need to change, so it will display all the categories (and category images) on the front page of the site, as well as all the others.

 

Kind regards.

 

Adrian

Posted

Hi,

 

I have found out that if you change

 

<!-- body_text //-->

<?php

if ($category_depth == 'nested') {

 

 

to

 

<!-- body_text //-->

<?php

if ($category_depth == 'top') {

 

 

in the index.php code, then it will show all the categories on the front page, but then it doesn't show any of the subcategories. I can't beleive for one minute that you can have one, but not the other.

 

Is there a way of making the categories appear on the front page whether the category depth is "nested" or "top"?

 

Kind regards

 

 

Adrian

Posted
Every newbie asks that, so there are plenty of posts about it. A look through the forum and knowledge base will expand your knowledge.

 

It may sound harsh, but sometimes it is quicker than posting that you have a problem and expect it to be fixed with no effort by you.

 

You may want to checkout what it says in your language files.

Use this to search (and bookmark it):

http://www.oscommerce.com/forums/index.php?act=Search&f=

Archived

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

×
×
  • Create New...