osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

osCommerce Layout Modified

This is a discussion on osCommerce Layout Modified within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hiya all I would like to know as what are the steps needed to be taken to achieve this sort ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 01-31-2003, 07:19 PM
New Member
 
Join Date: Jan 2003
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
MahmoodDar
Default osCommerce Layout Modified

Hiya all

I would like to know as what are the steps needed to be taken to achieve this sort of changes in osCommerce

http://www.memoryworld.de/

Can this be done through Dreamweavers MX Design Mode or it should only be done through Code View.

Moreover, does one need to create an extra Style Sheet?

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 01-31-2003, 09:14 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,070
Thanks: 81
Thanked 348 Times in 327 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

Yes and Yes.

Can be done in dreamweaver in either mode. But that is some really nice work, so you better be good at using photoshop too!

Probably not an extra stylesheet, just a few style additions. It is a pretty well thought out site over there.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • 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. Default multi server configuration for exceptional performance!

  • 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 02-02-2003, 02:05 PM
New Member
 
Join Date: Jan 2003
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
MahmoodDar
Default

HIya msaek

I have read its View Source and it has two Style Sheets attached.
One " stylesheet.css" and other "style.css"

I have tried to change the layout in Dreamweaver but i cant find a way through php, what i tried was that i ran the default.php and copied in view source and then made the adjustments to the html (Static). But the problem came out that it wasnt getting modified as php does.

How has www.memoryworld.com done that in PHP.?

By the way i am good at photshop and flash mx but not PHP
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 02-02-2003, 02:19 PM
New Member
 
Join Date: Jan 2003
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
MahmoodDar
Default

alright , how would i add a gif in the middle of the InfoBox, in between the Left Corner gif and the right corner gif. the Style Sheet only changes the colour.

For Example, do i have to make the changes here in /catalog/includes/classes/boxes.php

Code:
class infoBoxHeading extends tableBox {
    function infoBoxHeading($contents, $left_corner = true, $right_corner = true, $right_arrow = false) {
      $this->table_cellpadding = '0';

      if ($left_corner) {
        $left_corner = tep_image(DIR_WS_IMAGES . 'infobox/corner_left.gif');
      } else {
        $left_corner = tep_image(DIR_WS_IMAGES . 'infobox/corner_right_left.gif');
      }
      if ($right_arrow) {
        $right_arrow = '<a href="' . $right_arrow . '">' . tep_image(DIR_WS_IMAGES . 'infobox/arrow_right.gif', ICON_ARROW_RIGHT) . '</a>';
      } else {
        $right_arrow = '';
      }
      if ($right_corner) {
        $right_corner = $right_arrow . tep_image(DIR_WS_IMAGES . 'infobox/corner_right.gif');
      } else {
        $right_corner = $right_arrow . tep_draw_separator('pixel_trans.gif', '11', '14');
      }

and the default.php

Code:
 <td height="14" class="infoBoxHeading" nowrap><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td>
[/code]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 02-02-2003, 02:42 PM
New Member
 
Join Date: Nov 2002
Location: UK
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
lango
Default

msasek, Please excuse the butt in.

Mahmood:

the imortant part of the infoboxHeading is this:

Code:
 $info_box_contents = array();
      $info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"', 'text' => $left_corner),
                                   array('params' => 'width="100%" height="14" class="infoBoxHeading"', 'text' => $contents[0]['text']),
                                   array('params' => 'height="14" class="infoBoxHeading"', 'text' => $right_corner));
      $this->tableBox($info_box_contents, true);
    }
  }
I found to add as you say a gif between both corners would go something like this if you still require text do it as a background:

Quote:
$info_box_contents = array();
$info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"', 'text' => $left_corner),
array('params' => 'background="images/infobox/background.gif" width="100%" class="infoBoxHeading"', 'text' => $contents[0]['text']),

array('params' => 'height="14" class="infoBoxHeading"', 'text' => $right_corner));
$this->tableBox($info_box_contents, true);
}
}
Remember to remove any background colour from you stylesheet.css for infoboxHeading.
Hope this helps.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 02-03-2003, 12:10 AM
New Member
 
Join Date: Jan 2003
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
MahmoodDar
Default

Thanks Lango

Ill give this a try

Also, ill check it out in the latest OSCDox Guide.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 02-03-2003, 03:48 AM
New Member
 
Join Date: Jan 2003
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
MahmoodDar
Default

I read the guide a bit and I want to add a new box in the right column.
I want that box to hold Login Box.

Do i go about as same as with the Test Page explained in the Osdox Guide.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 02-03-2003, 06:42 AM
New Member
 
Join Date: Jan 2003
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
MahmoodDar
Default

Hiya

I have changed the layout of the cart a bit.

I have changed the InfoBox Header Image between the right and left corner gifs. Thanks to Lango for the help

Now i want to place gifs around the Right and Left sides of the WHOLE InfoBox. I tried it with increasing the margin and adding a think border but it doesnt fit well.

Is there a way to define images for the Right and Left Sides of the InfoBox through StyleSheet or any other way

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 02-03-2003, 07:59 AM
New Member
 
Join Date: Nov 2002
Location: UK
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
lango
Default

Mahmood

before I can help any further, can you check this out and advise if this is what you mean.

www.themetest.dcpc.co.uk

you can change the theme at

www.themetest.dcpc.co.uk/admin

Login with:

username tester
password tester

configuration----mystore--- at the bottom you will see Site Thema Options


Lango
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 02-03-2003, 09:42 AM
New Member
 
Join Date: Jan 2003
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
MahmoodDar
Default

HIya lango

This is exactly what I am talking about. By the way, the site looks really good.

How can I edit my stylesheet or add another to make a theme similar to that. Is this the contribution from Oscommerce.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
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
Upgrading a modified OSCMAX 1.5.5 to 1.7 icecold osCMax v1.7 Installation 1 04-07-2005 03:52 PM
How can I tell if MAX has modified a file? steveshep osCMax v1.7 Discussion 4 06-22-2004 09:44 AM
Layout with transparent gifs vs. layout with CSS Lynoure osCommerce 2.2 Modification Help 1 01-16-2004 02:22 AM


All times are GMT -8. The time now is 04:33 PM.


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