Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 1 votes

Modifying Sub Category Image & Text Links


  • You cannot reply to this topic
89 replies to this topic

#81 bktrain

  • Community Member
  • 2,093 posts
  • Real Name:Brian
  • Gender:Male
  • Location:On the brink of insanity

Posted 02 August 2009, 15:40

View Postsctsang, on Aug 2 2009, 02:07 AM, said:

When we have removed sub-category text and/or image links, visitor would get a blank center column if he or she clicks the category name.
There should not be an empty space. Can you give a link so I can see what you have?
Remember to backup database, files and pictures.

I reject your reality and substitute my own.
My mind not only wanders, it sometimes leaves completely.
The problem with the gene pool is that there is no lifeguard.
Everyone’s entitled to my opinion.


Links
Security
SSL Help
Basics for design
Basics for design V2.3+
How Do I ...?

#82 sctsang

  • Community Member
  • 21 posts
  • Real Name:S.C.Tsang

Posted 02 August 2009, 18:14

View Postbktrain, on Aug 2 2009, 11:40 PM, said:

There should not be an empty space. Can you give a link so I can see what you have?

You're right. The default installation of osCommerce comes with "New Products for Month" box in the center column so there should not be an empty space in the center column. However, as with many people, I have removed "New Products for Month" box. Should have told you about that earlier :blush:

I've made a fresh installation of osCommerce at www.saiwah.com/catalog and did the following quick modifications.

1. Sub-category image & text links removed
2. New Products of Month box removed
3. Modern Template for RC2a v1.0 installed for the good looking menu.

With this template installed, sub-category menu pops up whenever there is mouse over those Categories with sub-category. The problem is that the central part of the store remains empty upon clicking "Hardware" etc . So in my opinion, those buttons should be inactive.

Hope these clarify my concerns. Thank you

Regards,
Mr. Tsang

#83 bktrain

  • Community Member
  • 2,093 posts
  • Real Name:Brian
  • Gender:Male
  • Location:On the brink of insanity

Posted 02 August 2009, 18:44

View Postsctsang, on Aug 2 2009, 01:14 PM, said:

You're right. The default installation of osCommerce comes with "New Products for Month" box in the center column so there should not be an empty space in the center column. However, as with many people, I have removed "New Products for Month" box. Should have told you about that earlier :blush:

I've made a fresh installation of osCommerce at www.saiwah.com/catalog and did the following quick modifications.

1. Sub-category image & text links removed
2. New Products of Month box removed
3. Modern Template for RC2a v1.0 installed for the good looking menu.

With this template installed, sub-category menu pops up whenever there is mouse over those Categories with sub-category. The problem is that the central part of the store remains empty upon clicking "Hardware" etc . So in my opinion, those buttons should be inactive.

Hope these clarify my concerns. Thank you

Regards,
Mr. Tsang
You may want to look into whatever contribution you added for the menu on the left. See if you can remove the link from the top level categories.

The reason why you have an empty space is because you removed everything from the center accept for the heading Categories and categories image on the right. Couple that with the length or your right and left columns you have all that empty space.
Remember to backup database, files and pictures.

I reject your reality and substitute my own.
My mind not only wanders, it sometimes leaves completely.
The problem with the gene pool is that there is no lifeguard.
Everyone’s entitled to my opinion.


Links
Security
SSL Help
Basics for design
Basics for design V2.3+
How Do I ...?

#84 timo28

  • Community Member
  • 32 posts
  • Real Name:David Timpson

Posted 24 March 2010, 11:46

Hi all,
this thread is very helpful,
I am having a related problem. All my sub cat images are appearing twice

see here http://favouriteflies.com/index.php/cPath/51

anyone know how I can sort this out?

Regards

Dave

#85 bktrain

  • Community Member
  • 2,093 posts
  • Real Name:Brian
  • Gender:Male
  • Location:On the brink of insanity

Posted 08 April 2010, 04:22

View Posttimo28, on 24 March 2010, 11:46, said:

Hi all,
this thread is very helpful,
I am having a related problem. All my sub cat images are appearing twice

see here http://favouriteflies.com/index.php/cPath/51

anyone know how I can sort this out?

Regards

Dave
What were you trying to do? Did yo make any modifications to your index page?
Remember to backup database, files and pictures.

I reject your reality and substitute my own.
My mind not only wanders, it sometimes leaves completely.
The problem with the gene pool is that there is no lifeguard.
Everyone’s entitled to my opinion.


Links
Security
SSL Help
Basics for design
Basics for design V2.3+
How Do I ...?

#86 bktrain

  • Community Member
  • 2,093 posts
  • Real Name:Brian
  • Gender:Male
  • Location:On the brink of insanity

Posted 15 February 2011, 17:51

I have put this tip into a contribution for osCommerce 2.3.1.

Install is quick and easy. All options are changed in the admin.

Hope you find it useful.

You can download it here. SubCategory Links

Edited by bktrain, 15 February 2011, 17:51.

Remember to backup database, files and pictures.

I reject your reality and substitute my own.
My mind not only wanders, it sometimes leaves completely.
The problem with the gene pool is that there is no lifeguard.
Everyone’s entitled to my opinion.


Links
Security
SSL Help
Basics for design
Basics for design V2.3+
How Do I ...?

#87 w3coy

  • Community Member
  • 12 posts
  • Real Name:Chris
  • Gender:Male

Posted 21 February 2011, 08:35

Hi BkTrain,

Really nice contrib. Been really helpful to me.

I would like to ask if there is a way to create alternate category page display instead of the category links and boxes like;

1. Show a Large Category image or place holder script
2. list all products under a main category

It would be pretty nice way to have different page look and feel.

Any pointers?

Thanks

#88 bktrain

  • Community Member
  • 2,093 posts
  • Real Name:Brian
  • Gender:Male
  • Location:On the brink of insanity

Posted 22 February 2011, 18:44

View Postw3coy, on 21 February 2011, 08:35, said:

Hi BkTrain,

Really nice contrib. Been really helpful to me.

I would like to ask if there is a way to create alternate category page display instead of the category links and boxes like;

1. Show a Large Category image or place holder script
2. list all products under a main category

It would be pretty nice way to have different page look and feel.

Any pointers?

Thanks
Not sure I follow your question.

What is it you're trying to do?
Remember to backup database, files and pictures.

I reject your reality and substitute my own.
My mind not only wanders, it sometimes leaves completely.
The problem with the gene pool is that there is no lifeguard.
Everyone’s entitled to my opinion.


Links
Security
SSL Help
Basics for design
Basics for design V2.3+
How Do I ...?

#89 Hoog

  • Community Member
  • 3 posts
  • Real Name:jim hoogs

Posted 30 April 2012, 11:16

View Postbktrain, on 22 February 2011, 18:44, said:

Not sure I follow your question.

What is it you're trying to do?

HI Brian,

Many thanks for all the advice you provide to newbies like myself. I have an OSC 2.3 store witha template loaded top. I'm trying to remove the subcategory images and text but when i have followed the instructions at the beginning of the thread and altered the index.php file and set the number of categories to list per rown to zero i get about 20 lines of the following plus the images/text still show after these messages. Any ideas?

Warning: Division by zero in /home/xxxxxx/public_html/oscom/index.php on line 73

Warning: Division by zero in /home/xxxxxx/public_html/oscom/index.php on line 77

Warning: Division by zero in /home/xxxxxx/public_html/oscom/index.php on line 77

Warning: Division by zero in /home/xxxxxxx/public_html/oscom/index.php on line 73

Warning: Division by zero in /home/xxxxxx/public_html/oscom/index.php on line 77

Warning: Division by zero in /home/xxxxxx/public_html/oscom/index.php on line 77

Warning: Division by zero in /home/xxxxxxx/public_html/oscom/index.php on line 73

#90 bktrain

  • Community Member
  • 2,093 posts
  • Real Name:Brian
  • Gender:Male
  • Location:On the brink of insanity

Posted 30 April 2012, 19:24

View PostHoog, on 30 April 2012, 11:16, said:

HI Brian,

Many thanks for all the advice you provide to newbies like myself. I have an OSC 2.3 store witha template loaded top. I'm trying to remove the subcategory images and text but when i have followed the instructions at the beginning of the thread and altered the index.php file and set the number of categories to list per rown to zero i get about 20 lines of the following plus the images/text still show after these messages. Any ideas?

Warning: Division by zero in /home/xxxxxx/public_html/oscom/index.php on line 73

Warning: Division by zero in /home/xxxxxx/public_html/oscom/index.php on line 77

Warning: Division by zero in /home/xxxxxx/public_html/oscom/index.php on line 77

Warning: Division by zero in /home/xxxxxxx/public_html/oscom/index.php on line 73

Warning: Division by zero in /home/xxxxxx/public_html/oscom/index.php on line 77

Warning: Division by zero in /home/xxxxxx/public_html/oscom/index.php on line 77

Warning: Division by zero in /home/xxxxxxx/public_html/oscom/index.php on line 73

View Postbktrain, on 15 February 2011, 17:51, said:

I have put this tip into a contribution for osCommerce 2.3.1.

Install is quick and easy. All options are changed in the admin.

Hope you find it useful.

You can download it here. SubCategory Links

See if that helps first.

If you're still having problems let me know.

Brian
Remember to backup database, files and pictures.

I reject your reality and substitute my own.
My mind not only wanders, it sometimes leaves completely.
The problem with the gene pool is that there is no lifeguard.
Everyone’s entitled to my opinion.


Links
Security
SSL Help
Basics for design
Basics for design V2.3+
How Do I ...?