Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Graphical Borders


spooks

Recommended Posts

Thank you Sam!

 

I appreciate your help and info. ;)

 

 

Thanks for cleaning/updating the contribution. :)

- :: Jim :: -

- My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -

Link to comment
Share on other sites

  • Replies 244
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

It styles the info boxes, it makes no change to the box content.

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

It styles the info boxes, it makes no change to the box content.

 

 

Hi spooks,

 

Thanks for your reply !

 

Yes. this I know..

 

But when I installed it long time a go when I changed to Hebrew language it didn't change the corners of the boxes, so I got some thing like that:

 

________

) (

) (

)________(

 

 

I hope you understand me now..

 

Thanks again !

 

Best Regards,

Nathali

Best Regards,

Nathali

Link to comment
Share on other sites

I`ts not a problem I`ve seen, try it & see if it works for you.

 

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Hello And thanks for this great Contrib!

 

Is there a way of getting these infoboxes (style of them) on all the small boxes osc makes, lets say when you check out.... billing adress... paymen, insteadt of all the boxes with cornors?

 

if there are could somebody please tell me how.

 

// Lars Thaning

Link to comment
Share on other sites

You can style any box using the included functions

 

if you have say

 

new contentBox($info_box_contents)

 

change to

 

mws_boxHeader ()

new noborderBox($info_box_contents)

mws_boxFooter()

 

if you need to place a title in the header, add the text within the brackets.

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

The boxes in these are mearly styled by the css, so you need to replace the relavent tables by the function:

 

in checkout_shipping.php

 

around 226 & 259 & 379 & 393 find:

 

<table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
	  <tr class="infoBoxContents">
		<td>

replace each with:

 

<?php echo mws_boxHeader (); ?>

 

then you must find the exact closing </table>

 

in my case

 

around 241 & 361 & 385 & 402 find:

 

					</td>
	  </tr>
	</table>

 

replace with:

 

<?php echo mws_boxFooter(); ?>

 

 

You must make sure you've matched the relavent opening <table> with its closing </table> or your page will get messed up.

 

You may find it best to move the box title into the new boxes as in:

 

<?php echo mws_boxHeader (TABLE_HEADING_COMMENTS); ?>

;)

Edited by spooks

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Hi Sam

 

i got it all working, except the thing with the opening and closing table :(

 

i think i here dont quite understand the meaning, cause my site messes up, and looks funny ;)

 

it makes the the new box very nice in the top, but messes up the bottom of it, and then the rest of the page.

 

is there a way you cant copy the whole php file in here, so that i can see where iam wrong?

 

by the way thanks for great support

 

// Lars Thaning

Link to comment
Share on other sites

This is a great contribution and found it a great addition to the site, I have only one problem and I've been banging my head off the keyboard to figure it out.

 

My site www.curbmagazine.com/cashinculture

 

the infoboxes have a slight line along the left side of them approximately 1 pixel wide. The only way I've found to get rid of it is by turning the entire columns background a different color, which I don't want to do. I am new so I just went through every bit of code that had anything to do with background color or image or padding or border and just commented them out but nothing hit it. I can post code if you tell me where you would like it from.

Link to comment
Share on other sites

Your link is dead, so I can't see,

 

I have found if you put content in the header larger than 33px high it will create this problem, I`ve not found a solution to date other than keeping within that limit.

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Your link is dead, so I can't see,

 

I have found if you put content in the header larger than 33px high it will create this problem, I`ve not found a solution to date other than keeping within that limit.

 

Oh bollocks, I screwed up the link. Sorry. www.curbmagazine.com/catalog

 

I tried resizing my header images and found they are 33 pixels. I chopped them to 32 px and I still get this line. Anything else I could try?

Link to comment
Share on other sites

Its not what I thought, much easier, your corner pics are 14px wide, but left is only 13px wide, so 1px line.

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Hey Sam

 

And thanks again

 

If i have a box that i dont want the box around (clean text... or what ever it contains)... could you tell me what to do then?

 

i have a contrib thats puts a small picture of the main categori - instead of the normal categori box, but it puts a box around it, and i put it in my header, and i dont want a box here...

 

www.pro-lyskilder.dk/shop see for your self.

 

 

//Lars Thaning

Link to comment
Share on other sites

Use the

new noborderBox($info_box_contents)

 

I like the faded transitions, dont work on firefox of course, but don't that cause loss of sessions as you've had to use frames.?

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

  • 2 weeks later...

Thanks for this great contribution it's exactly what I was looking for.

 

I have a small problem with Firefox, the box images are out of line in Firfox but fine in IE.

 

Ive spent a couple of days looking for the answer and messing around with the tables and stylesheet but not had any joy.

 

Can you have a quick look and see what you think?

 

www.flat4online.co.uk

 

Loads fine in IE but not Fireforx.

Link to comment
Share on other sites

Have you tried using the tools Firefox.

 

something has increased the size of the containing column for the bottom row, check there.

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Have you tried using the tools Firefox.

 

something has increased the size of the containing column for the bottom row, check there.

Hello Sam

 

Whats "the tools Firefox"?

Link to comment
Share on other sites

Hello Sam

 

Whats "the tools Firefox"?

 

 

Such as Web Developer, Firebug etc, comes under addons.

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

If you login using firefox, when you go the the login page the borders line up again.......when you use any part of the tabs at the top of the page the borders line up ok, except on store.

I just realise this is not a problem with the contribution then, if you have any pointers do let me know.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...