Page 1 of 13 12311 ... LastLast
Results 1 to 10 of 121
  1. #1
    Join Date
    Feb 2004
    Posts
    1,774
    Plugin Contributions
    14

    Default Designer Monthly Boxes

    http://www.zen-cart.com/index.php?ma...roducts_id=438
    New Contrib: Designer Monthly Boxes
    zc 1.3.6 & zc 1.3.7 compatible


    //-------------------------
    What does this contrib do:
    //-------------------------

    Currently, the Monthly New Products, Monthly Featured Products, and Monthly Specials use a <div> tag based layout. This

    is fine however it can be difficult to add subtle designs to their layout.

    This contrib adds a few options
    (these apply Monthly New Products, Monthly Featured Products, and Monthly Specials boxes only):

    -- Add to cart OR more info (if options exist for that product) has been added to the boxes
    -- <table> tag based products in the boxes.
    -- Designer dotted divider line between each product
    -- Ability to move the image around the text. Instead of default image over centered text, now you can have the image on the left, right, or top of the text. Currently this is settable inside the module files themselves:

    modules/YOUR_TEMPLATE/featured_products.php
    modules/YOUR_TEMPLATE/new_products.php
    modules/YOUR_TEMPLATE/specials_index.php

    If it is found useful I might add it to the Admin area, but its likely that the Zen-cart team might have other better plans for these boxes later so it might not be worth it.
    //============================================================
    Give it a try if you're interested. Let me know if you have any problems.
    Last edited by qhome; 9 Apr 2008 at 03:37 AM.

  2. #2
    Join Date
    Nov 2006
    Posts
    73
    Plugin Contributions
    0

    Default Re: Designer Monthly Boxes

    Sensational! It works straightaway.

    A few issues on smaller monitors though, but I think it's worth it.

    My site with the contribution implemented.

  3. #3
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Designer Monthly Boxes

    A few issues on smaller monitors though
    Works fine if you set text below and image above
    in files residing in /modules/YOURTEMPLATE
    i.e.
    Code:
    //--------------------------------------
    $side_of_text = 0;
    // 0 -> text below, image above
    // 1 -> text on right, image on left
    // 2 -> text on left, image on right
    //--------------------------------------
    Excellent contribution qhome, thank you

  4. #4
    Join Date
    May 2006
    Location
    Texas
    Posts
    565
    Plugin Contributions
    4

    Default Re: Designer Monthly Boxes

    amazing - just what i was looking for! your mods rock dude :)

  5. #5
    Join Date
    Nov 2006
    Posts
    73
    Plugin Contributions
    0

    Default Re: Designer Monthly Boxes

    Quote Originally Posted by misty View Post
    Works fine if you set text below and image above
    in files residing in /modules/YOURTEMPLATE
    i.e.
    Code:
    //--------------------------------------
    $side_of_text = 0;
    // 0 -> text below, image above
    // 1 -> text on right, image on left
    // 2 -> text on left, image on right
    //--------------------------------------
    Doing this now puts the images to the left. Is there a way to have each small image centered in the square?

    Thanks again qhome!

  6. #6
    Join Date
    Feb 2004
    Posts
    1,774
    Plugin Contributions
    14

    Default Re: Designer Monthly Boxes

    Quote Originally Posted by dvasdekis View Post
    Doing this now puts the images to the left. Is there a way to have each small image centered in the square?

    Thanks again qhome!
    a value of 0 should put it centered so it looks like it used to. 1 would put images to the left, which is what i defaulted to.

  7. #7
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Designer Monthly Boxes

    1 would put images to the left, which is what i defaulted to.
    Agreed, but when tried this setting on fixed width template, center boxes
    overlapped into right hand sideboxes, so disabling those right
    hand boxes is only option for template to view correctly.

  8. #8
    Join Date
    Feb 2004
    Posts
    1,774
    Plugin Contributions
    14

    Default Re: Designer Monthly Boxes

    Quote Originally Posted by misty View Post
    Agreed, but when tried this setting on fixed width template, center boxes
    overlapped into right hand sideboxes, so disabling those right
    hand boxes is only option for template to view correctly.
    right. this is why i added the ability to change where the text is.. i just used 1 as the default is all.

    UPDATE...

    A few bugs I found so far:
    - Forgot to add the "buy now" button for txtsides of 0 and 2. (Did most of my testing with 1)
    - If a product is "Call for price" it still shows a Buy It Now button and actually bypasses the restrictions of not being able to add it. Which could technically be a potential security bug in Zen-cart. A user could clone a page, add an add to cart button, and manually enter the id of a Call for price item.

    Other features I am looking at adding:
    - enable/disable buy it now button/more info text.
    - make the alignment of the <td> tags user settable (dunno if its really necessary tho)

  9. #9
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Designer Monthly Boxes

    Forgot to add the "buy now" button for txtsides of 0 and 2. (Did most of my testing with 1)
    Noticed this
    As at
    http://dezinacart.co.uk/
    but assumed you had left out that button deliberately..
    So have you updated zip file(link in your initial post above) to
    rectify this/your other latest findings please?

  10. #10
    Join Date
    Feb 2004
    Posts
    1,774
    Plugin Contributions
    14

    Default Re: Designer Monthly Boxes

    No.. i will post a new one soon..

    Also need to add a class for the table and td so you can style them.

 

 
Page 1 of 13 12311 ... LastLast

Similar Threads

  1. Designer Monthly Boxes Customization Issue
    By ychousa in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 Apr 2008, 05:05 AM
  2. Designer Monthly Boxes css to 3 column layout
    By clane777 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 14 Sep 2007, 01:41 AM
  3. Several Problems: Special & Monthly Boxes
    By helpme in forum Templates, Stylesheets, Page Layout
    Replies: 17
    Last Post: 4 May 2007, 07:38 PM
  4. Chaning Text in Monthly Center Boxes
    By helpme in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 Apr 2007, 10:13 PM
  5. Need Designer Help - Footers on Center Boxes
    By bettysue in forum Addon Templates
    Replies: 3
    Last Post: 2 Feb 2007, 01:06 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR