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.
Re: Designer Monthly Boxes
Quote:
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
:cheers:
Re: Designer Monthly Boxes
amazing - just what i was looking for! your mods rock dude :)
Re: Designer Monthly Boxes
Quote:
Originally Posted by
misty
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!
Re: Designer Monthly Boxes
Quote:
Originally Posted by
dvasdekis
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.
Re: Designer Monthly Boxes
Quote:
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.
Re: Designer Monthly Boxes
Quote:
Originally Posted by
misty
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)
Re: Designer Monthly Boxes
Quote:
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?
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.