Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 34
  1. #11
    Join Date
    Sep 2006
    Location
    Australia
    Posts
    80
    Plugin Contributions
    0

    Default Re: Simple Gallery Solution

    Diva, wehn you are setting up your "Gallery" product you need to select 'Document - General' from the drop down box at the bottom then click 'New Product' then enter your information.

    Then follow the tutorial for adding additional images:

    https://www.zen-cart.com/tutorials/index.php?article=58


    I'm using the Zen Lightbox module http://www.zen-cart.com/index.php?ma...roducts_id=273

    I hope this clears things up a bit.

    Katie
    www.live2knit.com.au

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

    Default Re: Simple Gallery Solution

    Quote Originally Posted by lucky__starre View Post
    Diva, wehn you are setting up your "Gallery" product you need to select 'Document - General' from the drop down box at the bottom then click 'New Product' then enter your information.

    Then follow the tutorial for adding additional images:

    https://www.zen-cart.com/tutorials/index.php?article=58


    I'm using the Zen Lightbox module http://www.zen-cart.com/index.php?ma...roducts_id=273

    I hope this clears things up a bit.

    Katie
    www.live2knit.com.au
    Lucky.. Thanks for your response.. Your gallery solution is genius!!! It does EXACTLY what I want.. If you don't mind sharing I do have two more questions..

    What file did you modify to get rid of the remaining shopping cart buttons?? ("Write a Review" & "Tell A Friend")

    How did you work around not having a main product image?? I thought that ZenCart depended on the main product image being there in order to recognize the additional product images??

  3. #13
    Join Date
    Sep 2006
    Location
    Australia
    Posts
    80
    Plugin Contributions
    0

    Default Re: Simple Gallery Solution

    Diva,

    You need to edit the

    includes/templates/template_default/templates/tpl_document_general_info_display.php

    files and remove the Main Product Image, Tell a Friend button & Reviews button and count code then save it to your overrides file.

    You still need a main image eg: image.jpg and then all your additional images eg: image_1.jpg etc but without the Main Product Image code it won't display the main image picture anymore.

    Katie
    www.live2knit.com.au

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

    Default Re: Simple Gallery Solution

    Quote Originally Posted by lucky__starre View Post
    You need to edit the

    includes/templates/template_default/templates/tpl_document_general_info_display.php

    files and remove the Main Product Image, Tell a Friend button & Reviews button and count code then save it to your overrides file.
    Got it! Thanks!!

    Quote Originally Posted by lucky__starre View Post

    You still need a main image eg: image.jpg and then all your additional images eg: image_1.jpg etc but without the Main Product Image code it won't display the main image picture anymore.

    Katie
    www.live2knit.com.au
    I'm not sure I understand how you have an image code that does not display.. (Sorry if I am being dense here..)

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

    Default Re: Simple Gallery Solution

    The code block that displays the main image can be removed without affecting the function that recognizes what the main image is supposed to be. Then the additional images can be displayed as usual.

  6. #16
    Join Date
    Sep 2006
    Location
    Australia
    Posts
    80
    Plugin Contributions
    0

    Default Re: Simple Gallery Solution

    In order to display additional images you need a main image to start with, it's usually the one uploaded when you add a new product, then you put all your additional images in the same file.

    Usually the main image displays at the top of the product information screen, above the product details and all the additional images display below the product info, however with the removal of the Main Product Image code the main image doesn't show up anymore, What I did was name one of my images gallery.jpg, then made another copy of it and called it gallery_3.jpg so even though the gallery.jpg image doesn't display the gallery_3.jpg does.
    You can leave the code in if you like but I like the look of it without better.

    Does all that make sense?

    Katie
    www.live2knit.com.au

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

    Default Re: Simple Gallery Solution

    Katie & Glenn..

    Thank you both.. Apparently I WAS being a little dense!

    I missed this in your first response..
    Quote Originally Posted by lucky__starre View Post
    Diva,

    You need to edit the

    includes/templates/template_default/templates/tpl_document_general_info_display.php

    files and remove the Main Product Image, Tell a Friend button & Reviews button and count code then save it to your overrides file.
    Reading is fundemental! My apologies.. I was bouncing between here and Template Monster's support site.. Now if I can get those twits to figure out what they hacked in their template to screw up how additional product images display, then it should be all good.. This is a neat and effective solution..

    One last thing.. How did you get your galleries to show up amongst your product categories.. Mine shows up only in the Document sidebox.. Which I can live with, but I was just curious how you got yours to show up with the rest of your products..
    Last edited by DivaVocals; 10 Oct 2007 at 08:13 PM.

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

    Default Re: Simple Gallery Solution

    Configuration > Layout Settings > Split Categories Box - set to false, to not display the documents sidebox separately.

  9. #19
    Join Date
    Mar 2007
    Posts
    251
    Plugin Contributions
    6

    Default Re: Simple Gallery Solution

    thanks very much fordeatiling how you achieved your gallery.

    How did you get all your images to set at that certain size and positions within your page..it looks very neat, whilst mine just get placed randomly!

    Thanks

    J

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

    Default Re: Simple Gallery Solution

    I thought I'd add this little tidbit to this thread since there were some who expressed interest in using ZenCart with Gallery2. I've been messing around with with a coupla things to come up with a gallery solution (which is what led me to this thread and lucky_starre's brilliant solution!)

    In my experiments, I think I may have gotten Zen to play nice with Gallery2.. I did not want to use the Gallery2 mod because I'm not interested in selling pictures.. Only in displaying them.. This seemed like a simpler way to get to that end result..

    I basically used EZPages and created an EZPage with an iframe that points to my gallery. I had to do some tweaking to the Gallery album.tpl and template.tpl files to get the Gallery2 layout to blend in with my ZenCart template. I might do a little more tweaking to the Gallery2 template, but I think it came out okay.. If anyone would like to see the end result click here

 

 
Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. v150 Need SIMPLE solution
    By foxden vixen in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 27 Jan 2012, 02:23 PM
  2. Simple Gallery ?
    By NullMind in forum General Questions
    Replies: 3
    Last Post: 10 Apr 2008, 09:48 PM
  3. A Simple Page Title Solution?
    By plasticmind in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 27 Mar 2008, 07:48 PM
  4. Simple ZC gallery
    By kiddo in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 12 Nov 2007, 02:28 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