Latest News: (loading..)
Sign in to follow this  
Followers 0
spooks

Graphical Borders

245 posts in this topic

Thank you Sam!

 

I appreciate your help and info. ;)

 

 

Thanks for cleaning/updating the contribution. :)

Share this post


Link to post
Share on other sites

Hi,

 

 

Is graphical borders supports also languages text with letters from right to left.. ?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

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

 

Share this post


Link to post
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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Ok thanks

 

but what abot the "boxes" in lets say checkout_confirmation.php ?

 

can i also do it with these?

 

// Lars Thaning

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Hello again.

 

With a little elp from my self, i managed to solve it :)

 

Thanks for this great contrib, and thanks for your help

 

// Lars Thaning

Share this post


Link to post
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.

Share this post


Link to post
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.

Share this post


Link to post
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?

Share this post


Link to post
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.

Share this post


Link to post
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.

 

You sir, are a genius !

Share this post


Link to post
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

Share this post


Link to post
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.?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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.

Share this post


Link to post
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"?

Share this post


Link to post
Share on other sites
Hello Sam

 

Whats "the tools Firefox"?

 

 

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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites
Such as Web Developer, Firebug etc, comes under addons.

 

Thanks, I wasnt aware of them, I will have a look

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0