Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Page that displays all categories

Page that displays all categories

Locked

Views: 3,469

Results 21 to 26 of 26
This thread is locked. New replies are disabled.
22 Dec 2007, 1:38 AM
#21
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Page that displays all categories

ox.team.. Your solution is simple and works just as you stated it would..

2 Jan 2008, 1:31 AM
#22
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Page that displays all categories

gjh42:

Actually, I got a display of all of my top cats on a regular index page (not my home page) by changing the address bar to read "&cPath=0":

http://www..../index.php?main_page=index&cPath=0

If you can make that call in a link, you may get what you want. I got the breadcrumbs saying "Home", but not my define_main_page formatting.
This kind of call may cause session problems or have other side effects - use with caution.

Wanted to add this tidbit.. I ended up using this page with ox.teams solution. The only issue was I could not figure out where to get rid of or modify the text that show in the categories heading (it displays "Home")

So I added this to my style sheet:

#indexCategoriesHeading {
 font-size: .1em;
 color: #383E44;
 }

I set the text color the same as my "mainWrapper" background color so that the text would "disappear", and then I set the font size super tiny so that it inteferes very minorly with the layout of the page.

Not elegant.. but it did the job.. sigh

2 Jan 2008, 1:39 AM
#23
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Page that displays all categories

You could use: display:none

2 Jan 2008, 5:51 AM
#24
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Page that displays all categories

yellow1912:

You could use: display:noneAt the risk of sounding like a total dummy:cool:.. I'm not sure I understand what you mean by this.. Can you provide a little clarification..

2 Jan 2008, 5:52 AM
#25
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Page that displays all categories

You are using the same color with the background to make it look like it's not there. But instead of that, you could use
#indexCategoriesHeading {
display:none;
}

This tells the browser NOT to display that id

2 Jan 2008, 6:07 AM
#26
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Page that displays all categories

yellow1912:

You are using the same color with the background to make it look like it's not there. But instead of that, you could use
#indexCategoriesHeading {
display:none;
}

This tells the browser NOT to display that idAhhhhhhhhhh.. :clap:
Thank you very much kind sir.. THAT is a MUCH better solution!! I thank you for sharing your wisdom..:smile: