Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OSC Template


And1Official

Recommended Posts

Hi All,

 

 

I started reading many different post here thinking I could perhaps find the solution to my problem, but I did not. Or perhaps I did and just could not figure it out. Anyway here is my problem:

 

I bought a template from Template Monster. I cannot figure out how to put text on the main page and remove the graphics. It seems to be getting the graphics from "What's New Here". Can I shut that off?. I want it to look like a standard html page with a little welcome section. I have tried coping and pasting new code into the php file and at first it worked, now every time I copy and paste, it only changes the little banner underneath my main banner (just the page titile in other words).

 

Can someone give my directions on how to change the page text and loose the graphics.? Every time that I try to it still has graphics on the page and no text that I want on the page. Also is it ok to delete the german and spanish language directories as I will not be needing those. And how do I get rid of the "currency" and the flag icon at the top of the page? Here is the link to my store.

 

http://www/stringsnstones.com

 

Thank You in advance

 

Cam

Link to comment
Share on other sites

The graphics (products) are probably being controlled by the new products module. I say probably as TM templates have a lot of hard coded styling that, in some cases, is quite different from the standard osCommerce coding. Look for this in your osC root index.php

 

<?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>

 

you could comment it out if you don't want them to display

 

<?php // include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>

 

The text is the main page text is normally printed out from the TEXT_MAIN constant, defined in includes/languages/english/index.php file. It could well be commented out in the root index.php file. Look for this:

 

 

<?php echo TEXT_MAIN; ?>

 

If it is commented with the 2 forward slashes // remove them and see what appears on your main page.

 

The currency and flag are usually info boxes - includes/boxes/currencies.php and languages.php - that are called from the right column. Being as yours are in header - includes/header.php - they could be included as a box

 

include(DIR_WS_BOXES . 'currencies.php');

 

or the code from the box itself could be used.

 

You can read the Knowledge Base to get familiar with everything but you will also need to get familiar with how things are done in your particular files. There are a few good tips here also. http://www.oscommerce.com/forums/index.php?showtopic=274968

Link to comment
Share on other sites

Hi All,

 

 

I started reading many different post here thinking I could perhaps find the solution to my problem, but I did not. Or perhaps I did and just could not figure it out. Anyway here is my problem:

 

I bought a template from Template Monster. I cannot figure out how to put text on the main page and remove the graphics. It seems to be getting the graphics from "What's New Here". Can I shut that off?. I want it to look like a standard html page with a little welcome section. I have tried coping and pasting new code into the php file and at first it worked, now every time I copy and paste, it only changes the little banner underneath my main banner (just the page titile in other words).

 

Can someone give my directions on how to change the page text and loose the graphics.? Every time that I try to it still has graphics on the page and no text that I want on the page. Also is it ok to delete the german and spanish language directories as I will not be needing those. And how do I get rid of the "currency" and the flag icon at the top of the page? Here is the link to my store.

 

http://www/stringsnstones.com

 

Thank You in advance

 

Cam

 

The Simple Template System could help you out in bringing in the design of your purchased template into the latest version of osCommerce as well as let you do the HTML editing that you are wanting to do.

 

See the following thread:

http://www.oscommerce.com/forums/index.php?sho...p;#entry1131089

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

The Simple Template System could help you out in bringing in the design of your purchased template into the latest version of osCommerce as well as let you do the HTML editing that you are wanting to do.

 

See the following thread:

http://www.oscommerce.com/forums/index.php?sho...p;#entry1131089

 

Thank you bkellum for you help. I will have a look at the link that you posted. In the meantime, here is the code that I now have on my index.php:

 

 

<?php

/*

$Id: privacy.php 1739 2007-12-20 00:52:16Z hpdl $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

 

define('NAVBAR_TITLE', 'WELCOME');

define('HEADING_TITLE', 'WELCOME TO OUR STORE, PLEASE TAKE A LOOK AROUND');

 

define('TEXT_INFORMATION', 'Thank you for stopping at Strings N Stones.');

?>

 

 

 

If there is any help you can give me that would be great.

 

Thank you again in advance

 

Cam

Link to comment
Share on other sites

Quite simply , if you use a template get support where you have bought or downloaded the template

 

(Most templates are poorly coded and have differences in structure and set-up compared to standard oscommerce)

 

Or follow bkellum's tip and use STS to adapt the template looks and you will get support in the STS support tread.

Link to comment
Share on other sites

Yes, Please tell me what does that mean Peter. I am sorry that I do not know how to configure this portion of the store

As a guess, you were given advice and you say Thank you bkellum for you help. I will have a look at the link that you posted. In the meantime, here is the code that I now have on my index.php:

 

Why post that code when it is not asked for, no one is going to look at. Also, did you notice what you posted

 

<?php

/*

$Id: privacy.php 1739 2007-12-20 00:52:16Z hpdl $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

Does it look like you are wasting everyones time?

Link to comment
Share on other sites

Frankly, I would prefer Peter to answer for himself.

 

Peter gave good advise but maybe the original poster did not fully understand where he was going with it.

We have to understand that not everyone who posts a question in this forum is at the same level of understanding or skill level as we are.

 

It also does not hurt for those who do understand to pop in and give some helpful advice no matter how many others may have done so beforehand. I did not post my response because I thought Peter was off target, not at all. He was right on. Maybe Peter was offended that I gave the original poster another option, an option that works. All I gave was another option, it was up to the original poster to choose which way to proceed from there.

 

Eitherway...at the end of the day hopefully we were able to help someone out. :rolleyes:

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

We have to understand that not everyone who posts a question in this forum is at the same level of understanding or skill level as we are.

Forgive me, I thought it was just plain laziness. If someone hasn't the ability to post the correct information, what hope is there?

Link to comment
Share on other sites

Not all problems have a solution limit of one so I have no problem with your post Bill. That said, the OP asked specific questions, that I tried to answer with some detail, regarding a TM template. If then he decides to specifically thank you for a one line answer that had nothing to do with his questions and then disregard it anyway, well, is it worth the effort?

Link to comment
Share on other sites

Not all problems have a solution limit of one so I have no problem with your post Bill. That said, the OP asked specific questions, that I tried to answer with some detail, regarding a TM template. If then he decides to specifically thank you for a one line answer that had nothing to do with his questions and then disregard it anyway, well, is it worth the effort?

 

I'll pull the positive from your comments and just say that you deserved equally as much thanks as I (even with my one line answer that just happened to lead to a very detailed step by step post regarding how to use a TM template without the loss of osC bug fixes, etc).

 

Sometimes I do ask my self the same question but occasionally you get someone who will come back and say thank you or even better yet, contribute to this forum in some way. That makes it worth it to me. Don't give up on trying to help others in this forum. You have a lot of knowledge to share. I know I appreciate your work.

 

Thanks for letting me know you were not offended in my post. I'm not here to make enemies.

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...