This is a discussion on move title up in code? should be right after <head> within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; I need to know if there is a way to move the title tag up in the html code that ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I need to know if there is a way to move the title tag up in the html code that a client browser sees. I say this because the proper way to code a page in html is to have the title directly after the </head> tag. I tried moving the code up in the mainpage.tpl.php file but when viewed in a browser my title said something like <title> Meta_tags</title> so moving the code up in the main_page.tpl.php file obviously broke the code. Is there a way to make the titlecome directly after the <head> tag. You can go to http://www.fridgemags.com and check ... for any help. |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| You have to move 2 lines to just below the head tag: Code: <?php require(DIR_WS_INCLUDES . 'meta_tags.php'); ?> <title><?php echo META_TAG_TITLE; ?></title>
__________________ Michael Sasek osCMax Developer
|
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How 2 change <title>osCommerce</title> | vannelle | osCommerce 2.2 Modification Help | 3 | 06-08-2004 04:25 PM |
| Postal code label and input box shifted left after move | cvc505 | osCommerce 2.2 Installation Help | 0 | 06-09-2003 08:56 PM |
| Beating head on keyboard missing php | stasha | osCommerce 2.2 Installation Help | 2 | 03-29-2003 07:19 PM |
| How Do I Move Delete and Move Boxes Around? | OyedeleG | osCommerce 2.2 Modification Help | 2 | 03-18-2003 01:37 AM |
| How to edit <head> | pgowder | osCommerce 2.2 Modification Help | 5 | 01-03-2003 09:00 AM |