pantsman28 Posted August 13, 2007 Share Posted August 13, 2007 I didn't remove any code, I just reverted back to the original (before I tried the contrib code) in the index page.Sorry ... wrong word choice there! What I probably should've said was "I sorted the problem by reverting back ..." LOL. i did try to revert back but found the meta tags for description and keywords still didnt work. Do they still work for you? Quote Link to comment Share on other sites More sharing options...
digilee Posted August 13, 2007 Share Posted August 13, 2007 OK. On my site (not currently live) I have <title><?php echo TITLE; ?></title> - (not sure if this is the same as the basic install as I have made tons of changes to the original code). I changed this to the code in the contrib but found that it worked fine on every product page, but on the index page gave the NAVBAR error. As I don't really need it on the index page I simply reverted back to the original <title><?php echo TITLE; ?></title>. I hope that's clearer now! Quote SolarFrenzy Solar powered gadgets at down to earth prices. CheekyNaughty Promoting British Design Link to comment Share on other sites More sharing options...
cuebux Posted September 24, 2007 Share Posted September 24, 2007 Solution to the meta_tag_title problem: SOLUTION TO YOUR META TAG PROBLEMS Simply modify index.php Find "require('includes/application_top.php');" around line 3 and place require('includes/meta_tags.php'); Under it Quote Link to comment Share on other sites More sharing options...
cuebux Posted September 24, 2007 Share Posted September 24, 2007 Solution to the meta_tag_title problem:SOLUTION TO YOUR META TAG PROBLEMS Simply modify index.php Find "require('includes/application_top.php');" around line 3 and place require('includes/meta_tags.php'); Under it I dont have the time right now.. (Just spent 4 hrs on my contrib (STS + SEO Friendly + Metatag + Multipic) installing and creating file dirs for upload and easy install of all at once) but I found that this soulution does not work for the product page.. Im sure that I will find out how to do it.. Probably insert the same code "require('includes/meta_tags.php');" in to another file... IF SOMEONE ELSE WANTS TO DO THE LEG WORK .. PLEASE DO,, I HAVE TO GO TO WORK OTHERWISE I WOULD FAK AROUND WITH IT Quote Link to comment Share on other sites More sharing options...
cuebux Posted September 24, 2007 Share Posted September 24, 2007 Ok Im back and i figured it out add require('includes/meta_tags.php'); at the top under <?php in includes/header.php Quote Link to comment Share on other sites More sharing options...
cuebux Posted September 24, 2007 Share Posted September 24, 2007 LOL Another error... Take out the line in index.php that i told you to add before and just add the line to header.php WHEW.. I THINK ITS WORKING PERFECTLY NOW YAY!!! Quote Link to comment Share on other sites More sharing options...
bati Posted August 12, 2011 Share Posted August 12, 2011 Guys please help. I dont know what Im doing wrong or not doing... Can someone in very short make it simpler to understand than install.txt for the newbies please? 1- I put the metatags.php in my includes folder 2- Edited all the listed .php files adding: <?php require(DIR_WS_INCLUDES . 'meta_tags.php'); ?> <title><?php echo META_TAG_TITLE; ?></title> <meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>" /> <meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>" /> 3- Now what? Thanks in advance for any help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.