osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

How do I get rounded box corners in Fallback?

This is a discussion on How do I get rounded box corners in Fallback? within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; I'm a newbie and I'm loving osCMax! One thing that I have not been able to figure out and I ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 10-27-2005, 07:46 AM
Lurker
 
Join Date: Oct 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
bigjimbo
Default How do I get rounded box corners in Fallback?

I'm a newbie and I'm loving osCMax! One thing that I have not been able to figure out and I have not been able to find it in the forums is how to get rounded corners on the info boxes. I have found instructions on how to do it in OsCom, but I'm using the fallback template and it seems to be a different deal. Can anyone help please?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 10-27-2005, 10:36 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,329
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: How do I get rounded box corners in Fallback?

You need to edit the box that you want the corners changed. Find or add these variables to your box:

$corner_left = 'rounded';
$corner_right = 'square';

Change rounded or square to as needed...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 10-27-2005, 02:13 PM
Lurker
 
Join Date: Oct 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
bigjimbo
Default RE: How do I get rounded box corners in Fallback?

Thanks Michael but I have looked into the box files in includes\boxes directory and when I check categories.php for example, it already has the corners assigned like this:

$boxHeading = BOX_HEADING_CATEGORIES;
$corner_left = 'rounded';
$corner_right = 'square';

but my boxes in Fallback are coming up with square corners nevertheless...

When I look in the template directory and specifically in boxes directory within the fallback directory, I can only find one file and it is: box.tpl.php so there aren't any files for each box in here. Am I looking in the wrong places?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 10-27-2005, 02:48 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,329
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: How do I get rounded box corners in Fallback?

Change corner_right to rounded, or simply replace the square .gif with the rounded one in your images dir, so even though it calls the supposed square gif, you have replaced it with an image that is rounded. There are many ways to get this done without editing any code at all.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 10-27-2005, 03:35 PM
Lurker
 
Join Date: Oct 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
bigjimbo
Default RE: How do I get rounded box corners in Fallback?

I solved it! Perhaps this is not the correct way of doing it, but it works for me. I simply copied the round box corner gifs from the original Oscommmerce files and placed them into the images\infobox directory in my osCMax installation and then changed the "square" to "rounded" command as per your instructions at it all fell into place. The problem is that there are no rounded corner gifs in the directory to start with so it doesn't really help if you simply write in
$corner_left = 'rounded';
in the PHP file.

Thanks for you help Michael!

It's looking good!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Separating and Moving boxes in osCMax "fallback" mrf62 osCMax v2 Customization/Mods 2 12-31-2006 06:27 AM
Rounded corners!?, HOW? calle osCommerce 2.2 Modification Help 1 12-17-2004 04:19 PM
Rounded corners on boxes Sam_Iam osCMax v1.7 Discussion 1 08-27-2004 10:11 AM
Removing the rounded corner from the "New For..." cvc505 osCommerce 2.2 Modification Help 4 04-28-2004 07:59 AM
red x's in infobox corners pacman osCMax v1.7 General Mods Discussion 1 03-19-2004 01:33 PM


All times are GMT -8. The time now is 11:01 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax