Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how can i add a right hand set of information and image boxes.


urbanegos

Recommended Posts

Posted

hi

my store is www.urbanegos-stores.com

i would like to add a right hand set of information image boxes to this store. Is there an add on?

thanks

jul's

Posted

I suspect you have a template where \includes\column_right.php has been removed from index.php

 

<!-- body_text_eof //-->
<td id="right_col_holder" width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
<!-- right_navigation_eof //-->
</table></td>

 </tr>
</table>
<!-- body_eof //-->

<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
</body>
</html>

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted
I suspect you have a template where \includes\column_right.php has been removed from index.php

 

<!-- body_text_eof //-->
<td id="right_col_holder" width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
<!-- right_navigation_eof //-->
</table></td>

 </tr>
</table>
<!-- body_eof //-->

<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
</body>
</html>

hi

thanks for your reply. Where do i paste this into ? do i create a folder?

\includes\column_right.php?

jul's

Posted
hi

thanks for your reply. Where do i paste this into ? do i create a folder?

\includes\column_right.php?

jul's

index.php, but you would have to be very careful that your file and site is the same as a standard osc site before you make changes.

 

Have a look at the stock osc index.php so you can work out where to add and finish the tables.

Posted
index.php, but you would have to be very careful that your file and site is the same as a standard osc site before you make changes.

 

Have a look at the stock osc index.php so you can work out where to add and finish the tables.

great i will down load and compare the two.

jul's

Posted
great i will down load and compare the two.

jul's

i have my own and the stock version and they are exactly the same. Where have my right hand boxes gone?

thanks

jul's

Posted
i have my own and the stock version and they are exactly the same. Where have my right hand boxes gone?

thanks

jul's

check the stock osc includes\column_right.php with yours.

 

The view source of your home page shows

 

<!-- right_navigation //-->

 

<!-- right_navigation_eof //-->

 

 

so it is not picking up the

 

<!-- right_navigation //-->

<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>

<!-- right_navigation_eof //-->

Posted
check the stock osc includes\column_right.php with yours.

 

The view source of your home page shows

 

<!-- right_navigation //-->

 

<!-- right_navigation_eof //-->

 

 

so it is not picking up the

 

<!-- right_navigation //-->

<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>

<!-- right_navigation_eof //-->

hi

this was the problem. includes\colum_right.php was empty . I pasted in the code and it is now online to work with but it looks mad! any ideas on how to change this to look better at all. I wondered wether i can steal code from the left colum at all?

thanks

juls

Posted

And if you add a right column, you may want to make the content area of your shop wider.

 

Do that in the stylesheet.css here:

 

.mainCenter {
 width: 730px;
 background: #ffffff;
 color: #000000;
 margin: auto;
 margin-top: 20px;
 text-align: left;
}

Specifically this line:

 

  width: 730px;

;)

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
And if you add a right column, you may want to make the content area of your shop wider.

 

Do that in the stylesheet.css here:

 

.mainCenter {
 width: 730px;
 background: #ffffff;
 color: #000000;
 margin: auto;
 margin-top: 20px;
 text-align: left;
}

Specifically this line:

 

  width: 730px;

;)

Posted

hi

in the css are you saying i can make left and right columns symetrical? I think my right column currently looks crazy?

thanks

juls

Posted

Then you have this code in the HTML:

 

width="728"

several places.

 

If you alter the width in the stylesheet, they need adjusted accordingly.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
hi

in the css are you saying i can make left and right columns symetrical? I think my right column currently looks crazy?

thanks

juls

If you want the right column to fit, something's gotta give somewhere...

;)

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
If you want the right column to fit, something's gotta give somewhere...

;)

 

thanks for all your help. I have seen on the other sites that they have larger colums on the right with boxes like sale and 14 day return etc.. i wanted that look

any idea?

by the way messed with css looks better!

jul's

Posted

To adjust the right column width:

 

	<td valign="top" width="0"><table width="0" border="0" cellpadding="2" cellspacing="0">
<!-- right_navigation //-->

Change the width (2 places) in the HTML there, Ma'am.

:)

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
To adjust the right column width:

 

	<td valign="top" width="0"><table width="0" border="0" cellpadding="2" cellspacing="0">
<!-- right_navigation //-->

Change the width (2 places) in the HTML there, Ma'am.

:)

will give it a go ! No reply has been wrong yet and i really appreciate the support.

Thanks all

 

Jul's

 

:lol:

Posted

hi

you were right something had to give! I added code but it pushed my site main image of line.

Worked though i will remember that code.

Jul's

Posted
Then you have this code in the HTML:

 

width="728"

several places.

 

If you alter the width in the stylesheet, they need adjusted accordingly.

It screws it up 'cuz you have neglected this change so far.

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...