Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

? Front page only


jasoncigar

Recommended Posts

All of the "other" index.php pages besides the front page will have a ?cPath= in the URL. You could do something like:

  (!isset($HTTP_GET_VARS['cPath'])) { echo 'display the image' }

 

or, depending on where/how you're inserting the image,

 [bunch of html code]
<?php (!isset($HTTP_GET_VARS['cPath'])) {
 ?>
                 [your html where you display the image]
<?php 
             }
?>
[next bunch of HTML code]

 

Try that.

 

-jared

Link to comment
Share on other sites

ok...

heres an odd one then.

 

My stores' back pages do not have cPath in the URL

 

??

 

I do believe Ive seen others that dont as well. Is there a front page variable?

 

 

 

 

All of the "other" index.php pages besides the front page will have a ?cPath= in the URL.  You could do something like:
  (!isset($HTTP_GET_VARS['cPath'])) { echo 'display the image' }

 

or, depending on where/how you're inserting the image,

 [bunch of html code]
<?php (!isset($HTTP_GET_VARS['cPath'])) {
 ?>
                 [your html where you display the image]
<?php 
             }
?>
[next bunch of HTML code]

 

Try that.

 

-jared

Link to comment
Share on other sites

What is the URL to your store? Perhaps I'm misunderstanding. What is a URL where you'd like the image to show up? What is a URL where you'd like the image to NOT show up?

 

-jared

Link to comment
Share on other sites

What is the URL to your store?  Perhaps I'm misunderstanding. What is a URL where you'd like the image to show up? What is a URL where you'd like the image to NOT show up?

 

-jared

 

 

BTW< I am using STS to create this store.

 

I would like the image to show up on the main page:

http://www.visceralclothing.com/catalog/

 

and, for example, to not show up on a product page:

http://www.visceralclothing.com/catalog/pr...p?products_id=3

Link to comment
Share on other sites

BTW< I am using STS to create this store.

 

I would like the image to show up on the main page:

http://www.visceralclothing.com/catalog/

 

and, for example, to not show up on a product page:

http://www.visceralclothing.com/catalog/pr...p?products_id=3

 

Peace and Good Day everyone :D

Appreciate all the help I can get. Using Fantastico to build my store.

My Webpage

How can I add an image under the "Welcome please log in or create account"

 

And how can I remove all the text under it? "This is a default..........."

 

I would like the Boxes "What's new in May" to appear under this image.

 

I have gone to [path catalog/includes/languages/english/index.php] to edit. The result always shows this:

 

Parse Error. Unexpected T-String... blah blah blah

 

Would appreciate a Step by Step guide. I have been trying all sorts ending with having to Uninstall and then to Re Install up to a dozen times, being a newbie but I believe I was doing the wrong things. please help

 

Thanks in advance

Link to comment
Share on other sites

I figured t out...

silly me.

it was late anyhow. I just put the front page feature in the modues/new_products.php file (since I removed everything else that used to show up on the front page only)

Link to comment
Share on other sites

I figured t out...

silly me.

it was late anyhow.  I just put the front page feature in the modues/new_products.php file (since I removed everything else that used to show up on the front page only)

 

Someone help me, help me pleaszzzze :'(

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...