urbanegos Posted September 6, 2008 Share Posted September 6, 2008 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 Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted September 6, 2008 Share Posted September 6, 2008 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 ======>>>>>. Link to comment Share on other sites More sharing options...
urbanegos Posted September 6, 2008 Author Share Posted September 6, 2008 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 Link to comment Share on other sites More sharing options...
Guest Posted September 6, 2008 Share Posted September 6, 2008 hithanks 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. Link to comment Share on other sites More sharing options...
urbanegos Posted September 6, 2008 Author Share Posted September 6, 2008 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 Link to comment Share on other sites More sharing options...
urbanegos Posted September 6, 2008 Author Share Posted September 6, 2008 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 Link to comment Share on other sites More sharing options...
Guest Posted September 6, 2008 Share Posted September 6, 2008 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 //--> Link to comment Share on other sites More sharing options...
urbanegos Posted September 6, 2008 Author Share Posted September 6, 2008 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 Link to comment Share on other sites More sharing options...
germ Posted September 6, 2008 Share Posted September 6, 2008 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 > Link to comment Share on other sites More sharing options...
urbanegos Posted September 6, 2008 Author Share Posted September 6, 2008 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; ;) Link to comment Share on other sites More sharing options...
urbanegos Posted September 6, 2008 Author Share Posted September 6, 2008 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 Link to comment Share on other sites More sharing options...
germ Posted September 6, 2008 Share Posted September 6, 2008 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 > Link to comment Share on other sites More sharing options...
germ Posted September 6, 2008 Share Posted September 6, 2008 hiin 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 > Link to comment Share on other sites More sharing options...
urbanegos Posted September 6, 2008 Author Share Posted September 6, 2008 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 Link to comment Share on other sites More sharing options...
germ Posted September 6, 2008 Share Posted September 6, 2008 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 > Link to comment Share on other sites More sharing options...
urbanegos Posted September 6, 2008 Author Share Posted September 6, 2008 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: Link to comment Share on other sites More sharing options...
urbanegos Posted September 6, 2008 Author Share Posted September 6, 2008 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 Link to comment Share on other sites More sharing options...
germ Posted September 6, 2008 Share Posted September 6, 2008 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 > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.