Jump to content
Sign in to follow this  
BlueYon

Meta Tag Controller Support

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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!


SolarFrenzy

Solar powered gadgets at down to earth prices.

 

CheekyNaughty

Promoting British Design

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

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!!!

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×