Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26
  1. #11
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Page that displays all categories

    Yep, an ez-page sounds like a good idea, especially as with a small number of cats you probably won't be changing them often.

  2. #12
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Page that displays all categories

    I kinda wanted to know the same thing.. I want to put a link to a page which displays all my Zen Cart categories on another webpage. (A link to "All Products" won't work for what I really want) I would prefer not to build a page on the other site with links to the individual category links adding new products would not dynamically update a page like that.. However, if there is a "categories page" that I could link to it would be dynamically updated if new product categories were added..

  3. #13
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Page that displays all categories

    If you want a "categories page" that is not your home page, you will have to build it. This will take some good PHP skills, but the functionality could be replicated from the home page.

  4. #14
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Page that displays all categories

    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.

  5. #15
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Page that displays all categories

    Browsing through the ZenCart contributions, I ran across this little guy:
    http://www.zen-cart.com/index.php?ma...roducts_id=782

    Now I had to download WinRar to even open the contribution because it is in a bz2 format (**sigh**). The file is a slightly jumbled mess with lots of strange characters in it. So after looking it over and doing some cleanup, I managed to make sense of the instructions and replacement code. I'm gonna give it a whirl on my test ZenCart.. If this works, I think this might get me EXACTLY what I want..

    In case anyone else is interested, I am including my "cleansed" version of the contribution file. All I did was to get rid of the strange characters, and rearranged/edited the contribution instructions for clarity.

    The question I have is this.. When I do this, am I correct in assuming that I should follow the override system when replacing the init_sanitize.php file??

  6. #16
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Page that displays all categories

    Yellow1912 has recently posted a mod to Display all categories+products on one page which may be of interest to you.

  7. #17
    Join Date
    Feb 2005
    Location
    Belarus
    Posts
    50
    Plugin Contributions
    1

    Default Re: Page that displays all categories

    Quote Originally Posted by DivaVocals View Post
    Browsing through the ZenCart contributions, I ran across this little guy:
    http://www.zen-cart.com/index.php?ma...roducts_id=782

    Now I had to download WinRar to even open the contribution because it is in a bz2 format (**sigh**). The file is a slightly jumbled mess with lots of strange characters in it. So after looking it over and doing some cleanup, I managed to make sense of the instructions and replacement code. I'm gonna give it a whirl on my test ZenCart.. If this works, I think this might get me EXACTLY what I want..

    In case anyone else is interested, I am including my "cleansed" version of the contribution file. All I did was to get rid of the strange characters, and rearranged/edited the contribution instructions for clarity.

    The question I have is this.. When I do this, am I correct in assuming that I should follow the override system when replacing the init_sanitize.php file??
    I wrote this small contribution. Actually it was .tar.bz2 file, but zen-cart site removed second extension, you were reading .tar archive. I reuploaded it as .zip, it will appear after validation.

    (Un)installation instructions should be read as they are. You need just copy/delete included files, you shouldn't have overrides/init_sanitize.php file before installing contribution, unless your zen-cart is heavily modified.

    It can help you if you set "Default main page URL" to "index" and "Default main page URL parameters" to "cPath=0". But you'll need another zen-cart installation for this, it works only with index page... I'm not sure it is what you are looking for.

    btw, bzip2 can be read with free 7-zip archiver.

  8. #18
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Page that displays all categories

    Quote Originally Posted by gjh42 View Post
    Yellow1912 has recently posted a mod to Display all categories+products on one page which may be of interest to you.
    Thanks!! I took a look at this too.. One of these guys is gonna do the trick.. Just gotta figure out which one will make mama happy!

    ======================================================

    Quote Originally Posted by ox.team View Post
    I wrote this small contribution. Actually it was .tar.bz2 file, but zen-cart site removed second extension, you were reading .tar archive. I reuploaded it as .zip, it will appear after validation.

    (Un)installation instructions should be read as they are. You need just copy/delete included files, you shouldn't have overrides/init_sanitize.php file before installing contribution, unless your zen-cart is heavily modified.

    It can help you if you set "Default main page URL" to "index" and "Default main page URL parameters" to "cPath=0". But you'll need another zen-cart installation for this, it works only with index page... I'm not sure it is what you are looking for.

    btw, bzip2 can be read with free 7-zip archiver.
    Thank you SOOOOO much for your response! I only have one small question.. I'm not sure what you mean by "But you'll need another zen-cart installation for this, it works only with index page..."

  9. #19
    Join Date
    Feb 2005
    Location
    Belarus
    Posts
    50
    Plugin Contributions
    1

    Default Re: Page that displays all categories

    Quote Originally Posted by DivaVocals View Post
    I'm not sure what you mean by "But you'll need another zen-cart installation for this, it works only with index page..."
    I mean it doesn't create any new page, it just forces zen-cart to open specific page instead of standard index.

  10. #20
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Page that displays all categories

    Quote Originally Posted by ox.team View Post
    I mean it doesn't create any new page, it just forces zen-cart to open specific page instead of standard index.
    Perfect!! That is exactly what I was looking for.. Thanks again for your response..

    Looks like I now have two options that I am gonna evaluate and test.. I am thinking that your solution might be my better bet.. Dunno.. Gonna test both and see.. You are a doll to respond! Thanks again for your help!

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. is there a page that displays all products in a category?
    By warroyo90 in forum General Questions
    Replies: 1
    Last Post: 1 Jun 2012, 04:12 PM
  2. Categories Menu that displays part of categories
    By SteveDuncan in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 28 Jan 2010, 12:45 AM
  3. VARIABLE / CONSTANT that displays page name?
    By edwardtilbury in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 5 Apr 2009, 09:15 PM
  4. Banners links just open new page that displays banner image!
    By teqmedia in forum Basic Configuration
    Replies: 1
    Last Post: 18 Mar 2009, 05:43 AM
  5. How to Add Page that has all Categories
    By wagnerguy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Nov 2008, 02:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg