Hydrilla Posted December 28, 2008 Share Posted December 28, 2008 I have done a search and found nothing that I can understand. I am new to this all. I paid to have my site set-up and now am trying to figure some of the basics out. I know this is a stupid question but I am lost. Where is the HTML code written? What folder. I cannot locate any HTML. Am trying to add a friends site to my links page and cannot figure it out. Also on my home page Shopping Cart is spelt wrong. How do I change this? Last but not least. Thank you for your time and help. My site is www.hydrillagear.com Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted December 28, 2008 Share Posted December 28, 2008 Try looking in the /catalog directory. The files all end in .php. Normally text displayed on the screen is in the directory /includes/languages/english.php or a file deeper in the "tree". 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...
FIMBLE Posted December 28, 2008 Share Posted December 28, 2008 Most of the writing comes from calls in your language files like in your catalog / includes / languages / english.php you will find define('HEADER_TITLE_CREATE_ACCOUNT', 'Create an Account'); the part you change is Create an Account. Anywhere in your store that this bit of text is called for by HEADER_TITLE_CREATE_ACCOUNT it will display the part at the end. There are lots of these in the english.php (also for German & Spanish) Some in the english.php will look like define('TITLE', STORE_NAME); this type in drawn from the database, in this case you can change it in admin / configuration / my store >> store name. On level down in your english folder there are copies of the files form the top level. index.php account.php. in here you will find lots of things you are able to change too Make a back up before you start, i would imagine you will break the files a few times! Beware of the ' ' ); types they mean something and will throw up an error if deleted by accident Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
musicmaestro Posted December 28, 2008 Share Posted December 28, 2008 I struggled with this in the early days but found a very easy way to locate and replace text. There are many php editors about but Crimson Editor is free and spyware free and has a very good facility for searching out text within php files. So for example if you were looking to replace "Special Offers" with something else, using Crimson Editor you just click on Search > Find in files > Special Offers Once it finds the file or files containing the text you simply replace it, then upload the saved file in your usual way. I appreciate your question refers to HTML but I also found it much easier to search for keywords that were close to areas where I wanted to change HTML coding and this made it very easy. Hope that helps Link to comment Share on other sites More sharing options...
♥14steve14 Posted December 28, 2008 Share Posted December 28, 2008 Nearly everey page in oscommerce has an equivalent page in the language folder. This also applies to the admin folder. So, most of the text on your index page can be altered it the corresponding language page. You need to add html code, such as <br> <p> </br> and things like that, to get your text looking proper. REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
Hydrilla Posted December 29, 2008 Author Share Posted December 29, 2008 Gotcha, Ok will look into this. Thank you for your help. Link to comment Share on other sites More sharing options...
Guest Posted December 31, 2008 Share Posted December 31, 2008 Gotcha, Ok will look into this. Thank you for your help. Links to your mates site: This can be added in catalog/includes/boxes/links.php You can edit this file with dreamweaver or use the adinistration section of your website. Tools, filemanager, then go to the right directory and edit the links.php box to add the links in HTML language. On you website the links box is not activated!! In catalog/includes/colomn_left.php or catalog/includes/colomn_right.php and the sentence "require(DIR_WS_BOXES . 'links.php');" somewhere under another similr sentence. Good luck Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted December 31, 2008 Share Posted December 31, 2008 Tools, filemanager, then go to the right directory and edit the links.php box to add the links in HTML language. Would not use this method to edit files, it has been known to corrupt the files. G 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...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.