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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| 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
|
|
#3
| |||
| |||
| 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 |
|
#4
| |||
| |||
| 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> |
|
#5
| |||
| |||
| 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);
}
}
Quote:
Hope this helps. |
|
#6
| |||
| |||
| Thanks Lango Ill give this a try Also, ill check it out in the latest OSCDox Guide. |
|
#7
| |||
| |||
| 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. |
|
#8
| |||
| |||
| 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 |
|
#9
| |||
| |||
| 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 |
|
#10
| |||
| |||
| 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. |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| 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 |