Jump to content



Latest News: (loading..)

* * * * * 1 votes

Graphical Borders


  • Please log in to reply
244 replies to this topic

#21   spooks

spooks
  • Members
  • 7,017 posts
  • Real Name:Sam
  • Gender:Male
  • Location:UK

Posted 17 July 2008 - 04:35 PM

Its likely you have conflicting table elements, try wrapping your call in an element, like:

echo '<tr><td>';  
      new productListingBox($info_box_contents);
echo '</td></tr>';
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.

#22   Ronaldgoal

Ronaldgoal
  • Members
  • 25 posts
  • Real Name:ronad
  • Gender:Female
  • Location:Paris

Posted 17 July 2008 - 10:45 PM

View PostRonaldgoal, on Jul 17 2008, 04:18 PM, said:

i changed new contentBox($info_box_contents);
to
new noborderBox($info_box_contents);

and it solved my main page table problem! But I soon as I click on one category you see my right column disapear! what can I do for that doctor?
check it out here:

www.surfnskatecolombia.com

best regards,
Luis

Problem solved thx to you

#23   spooks

spooks
  • Members
  • 7,017 posts
  • Real Name:Sam
  • Gender:Male
  • Location:UK

Posted 17 July 2008 - 10:56 PM

In reply to your PM

Product Listing Enhancements, Thumbnails & Manufacturer Headings   http://addons.oscommerce.com/info/6051
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.

#24   jhande

jhande
  • Members
  • 2,112 posts
  • Real Name:Jim Hande
  • Gender:Male
  • Location:White Mountains, NH USA

Posted 18 July 2008 - 06:44 AM

Hey Sam,

Just for my clarification...

Your new version only wraps the infoboxes (in column left & right) with graphics?

If I want to wrap say; New Products for 'Month', Customers who bought this product also purchased, Other Products You Might Like, etc... (basically the center boxes/tables) then I would have to install possibly v2.1?

Would you happen to know if the Product Listing box/table gets wrapped with any of the versions?

Sorry for so many questions. I'm just getting so tired of installing, uninstalling contribution versions looking for the correct ones. Thought maybe you could point me in the right direction with this one. ;)

Any help would be appreciated. :)
- :: Jim :: -
- My Toolbox ~ Adobe Web Bundle & WinMerge | Install ~ osCommerce v2.2 MS2 060817 -
- Not 4 Hire ~ Please DO NOT PM me for help. I really do not have a clue what I am doing! -
- Working on a new 2.3.3 install -

#25   spooks

spooks
  • Members
  • 7,017 posts
  • Real Name:Sam
  • Gender:Male
  • Location:UK

Posted 18 July 2008 - 08:41 AM

If your product listing box uses the producting listing info box class then it should get the new style, if there are any that dont you can still do it.


change to class call, say


new contentBox($info_box_contents)

to

mws_boxHeader ()
new noborderBox($info_box_contents)
mws_boxFooter()

the older versions do this in various places, but also add loads of other stuff you dont need.
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.

#26   jhande

jhande
  • Members
  • 2,112 posts
  • Real Name:Jim Hande
  • Gender:Male
  • Location:White Mountains, NH USA

Posted 18 July 2008 - 04:40 PM

Thank you Sam!

I appreciate your help and info. ;)


Thanks for cleaning/updating the contribution. :)
- :: Jim :: -
- My Toolbox ~ Adobe Web Bundle & WinMerge | Install ~ osCommerce v2.2 MS2 060817 -
- Not 4 Hire ~ Please DO NOT PM me for help. I really do not have a clue what I am doing! -
- Working on a new 2.3.3 install -

#27   Nathali

Nathali
  • Members
  • 368 posts
  • Real Name:Nathali
  • Gender:Female

Posted 20 July 2008 - 09:40 PM

Hi,


Is graphical borders supports also languages text with letters from right to left.. ?
Best Regards,
Nathali

#28   spooks

spooks
  • Members
  • 7,017 posts
  • Real Name:Sam
  • Gender:Male
  • Location:UK

Posted 21 July 2008 - 04:47 PM

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.

#29   Nathali

Nathali
  • Members
  • 368 posts
  • Real Name:Nathali
  • Gender:Female

Posted 22 July 2008 - 09:13 AM

View Postspooks, on Jul 21 2008, 05:47 PM, said:

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

#30   spooks

spooks
  • Members
  • 7,017 posts
  • Real Name:Sam
  • Gender:Male
  • Location:UK

Posted 22 July 2008 - 09:58 AM

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

[/quote]
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.

#31   larsthha

larsthha
  • Members
  • 7 posts
  • Real Name:Lars Thaning Hansen

Posted 23 July 2008 - 04:18 AM

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

#32   spooks

spooks
  • Members
  • 7,017 posts
  • Real Name:Sam
  • Gender:Male
  • Location:UK

Posted 23 July 2008 - 09:14 AM

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.

#33   larsthha

larsthha
  • Members
  • 7 posts
  • Real Name:Lars Thaning Hansen

Posted 23 July 2008 - 02:43 PM

Ok thanks

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

can i also do it with these?

// Lars Thaning

#34   spooks

spooks
  • Members
  • 7,017 posts
  • Real Name:Sam
  • Gender:Male
  • Location:UK

Posted 23 July 2008 - 03:48 PM

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, 23 July 2008 - 03:50 PM.

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.

#35   larsthha

larsthha
  • Members
  • 7 posts
  • Real Name:Lars Thaning Hansen

Posted 23 July 2008 - 08:02 PM

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

#36   larsthha

larsthha
  • Members
  • 7 posts
  • Real Name:Lars Thaning Hansen

Posted 23 July 2008 - 08:46 PM

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

#37   ASherbuck

ASherbuck
  • Members
  • 10 posts
  • Real Name:Alex

Posted 24 July 2008 - 10:03 PM

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.

#38   spooks

spooks
  • Members
  • 7,017 posts
  • Real Name:Sam
  • Gender:Male
  • Location:UK

Posted 25 July 2008 - 12:21 AM

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.

#39   ASherbuck

ASherbuck
  • Members
  • 10 posts
  • Real Name:Alex

Posted 25 July 2008 - 04:43 PM

View Postspooks, on Jul 25 2008, 12:21 AM, said:

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?

#40   spooks

spooks
  • Members
  • 7,017 posts
  • Real Name:Sam
  • Gender:Male
  • Location:UK

Posted 25 July 2008 - 05:17 PM

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.