Jump to content
Sign in to follow this  
BlueYon

Meta Tag Controller Support

Recommended Posts

I tried that, and you get the NAVBAR_TITLE bug pointed out by Ieng.

 

The order of the includes is very important, so that the NAVBAR_TITLE is correctly defined. If you include meta_tags.php in application_top, NAVBAR_TITLE is not yet defined. Hence it shows up in your title bar.

 

Installed as documented, this works as advertised... so far for us anyway!

 

 

Did anyone figure this out? I get the same thing.

 

Tom

Share this post


Link to post
Share on other sites
Did anyone figure this out? I get the same thing.

 

Tom

 

 

More info:

 

It seems like the code in meta_tags.php is not seeing the filename in the switch function,

 

switch (basename($_SERVER['SCRIPT_FILENAME']))

 

It always drops to the default value, no matter the page. Is it not finding the values in the application_top.php? The require('includes/application_top.php'); is at the top of the page, yet it seems like the the metatag functions can't see the global variables.

 

I'm on a Windows box, and my store is off the root in a /catalog folder. Anyone?

Edited by tommygun

Share this post


Link to post
Share on other sites

I was wondering how to use this, I uploaded meta-tag.php to my catalog/includes but where do I find the keywords I cant find any header-tags.php files in anywhere, not in the catalog/includes/languages I cant find them.

Share this post


Link to post
Share on other sites
I was wondering how to use this, I uploaded meta-tag.php to my catalog/includes but where do I find the keywords I cant find any header-tags.php files in anywhere, not in the catalog/includes/languages I cant find them.

 

It does not have a language file..it generates all metas automatically without any edits needed...

 

if you want to have more manual controll, use Header Tags or c-dynamic metas instead

Share this post


Link to post
Share on other sites
With header tags you add the meta information when you add products...

 

With Meta Tag Controller Support, you do not add any meta information manually when you add products...the meta tags are generated automatically from the exisiting product information .

 

Isn't it better / more precise if the header tags are edited manually?

 

I like the idea of this module, can any who has intall this tell me if this meta tage controller allows the header tags to be manually edited as well?

Share this post


Link to post
Share on other sites

Meta Tag Controller Support does it all automatically based on 1 file, meta-tags.php

 

No manual insertion of meta info is done by you.

 

Very easy install.....

 

cDynamic Meta Tags - creates the metas automatically , but you can do some adjustments and add some of the metas manually in the language file.

 

Easy install and lets you cache the meta info to improve the site speed

 

 

Header Tags Controller - this one lets you input all the metas in your shops admin on a pr. product and category basis.

 

Does require some install time and effort.

 

 

 

Custom META Tags per Item another alternative for manuall insertion of metatags.....

 

Have not tried it yet, so i could not give an estimate of the complexsity level of the install

Share this post


Link to post
Share on other sites

in the keywords for the product page, it lists all categories plus the default (index.php) page title.

 

how can i get rid of this?

Share this post


Link to post
Share on other sites
in the keywords for the product page, it lists all categories plus the default (index.php) page title.

 

how can i get rid of this?

 

 

You can edit the values for the product page in includes/meta_tags.php

Share this post


Link to post
Share on other sites
i'm not sure what i am looking for in meta_tags.php?

 

If you are using BlueYon's Search Engine friendly Url's , look in the section under:

 

case FILENAME_DEFAULT:

if (isset($HTTP_GET_VARS['products_id'])) {

 

If you are using osc urls or any of the other seo/sef url contribs, look in the section under:

 

 

case FILENAME_PRODUCT_INFO:

Share this post


Link to post
Share on other sites

I want to use this contribution, looks very good, but i have one problem, when i turn on web friendly urls i can not get to any of my products on my site. Has anyone else had this problem and know how to fix it?

 

Cheers,

 

Phil :(

Share this post


Link to post
Share on other sites

When i turn on web friendly urls i can not get to the products i have added. i can see them in admin but not when i go to the shop. Any ideas?

 

Cheers,

 

Phil

Share this post


Link to post
Share on other sites

Hi, I have Just installed the New Meta tags, but cant seem to work how to use it. For instance my index page comes wit index.php, Please help.

Share this post


Link to post
Share on other sites

Hi from germany,

 

i installed the contrib it was a fun but then i realized that

it was not working. I searched and i found out that it is

cause i use the syslesheet sts contrib.

 

Did anyone has an idea to get this contrib running with the

stylesheetsts conrib together ?

 

The STS contrib has a few lines with especialy take care

on the Header Tag Controller contrib (wich i do not want)

I guess for a expierienced php programmer this lines are

easy to modify to run this conrib also with sts together.

 

The lines are in sts_display_output.php:

 

/////////////////////////////////////////////

////// Capture <title> and <meta> tags

/////////////////////////////////////////////

 

// STS: ADD: Support for WebMakers.com's Header Tag Controller contribution

// Capture the output

require(STS_START_CAPTURE);

 

// BOF: WebMakers.com Changed: Header Tag Controller v1.0

// Replaced by header_tags.php

if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) {

require(DIR_WS_FUNCTIONS . 'clean_html_comments.php');

require(DIR_WS_FUNCTIONS . 'header_tags.php');

require(DIR_WS_INCLUDES . 'header_tags.php');

} else {

echo "<title>" . TITLE . "</title>";

}

 

// EOF: WebMakers.com Changed: Header Tag Controller v1.0

 

$sts_block_name = 'headertags';

require(STS_STOP_CAPTURE);

 

// STS: EOADD: Support for WebMakers.com's Header Tag Controller contribution

 

 

 

Would be great if someone can solve the problem and adds this to this and

the sts contrib.

 

If i am wrong with my idea please let me know

 

 

Best Regards

 

Michael

Share this post


Link to post
Share on other sites
I?m using the contribution Extra pages-info box w/ admin.

 

On these pages I get NAVBAR_TITLE in the title of my pages. Does anybody know how I can get the extra pages to show the correct title.

 

Thanks in advance.

 

Couldn?t edit my post so I had to post a new one.

Figured I would add the code for my info_pages.php.

 

<?php
/*
 $infopageid: info_pages.php,v 1.22 2003/06/05 23:26:22 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

require('includes/application_top.php');



$infopageid = (int)$HTTP_GET_VARS['pages_id'];



$page_query = tep_db_query("select 
						  p.pages_id, 
						  p.status,
						  s.pages_title, 
						  s.pages_html_text							   
						from 
						  " . TABLE_PAGES . " p LEFT JOIN " .TABLE_PAGES_DESCRIPTION . " s on p.pages_id = s.pages_id
						where 
						  s.language_id = '" . (int)$languages_id . "'
						and
						  p.pages_id = $infopageid");



$page_check = tep_db_fetch_array($page_query);
$breadcrumb->add($page_check[pages_title], tep_href_link('info_pages.php?pages_id=' . $infopageid));

?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<?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; ?>">
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->

<!-- body //-->
<table border="0" width="100%" cellspacing="3" cellpadding="3">
 <tr>
<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->
</table></td>
<!-- body_text //-->
<td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
	<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
	  <tr>
		<td class="pageHeading"><?php echo $page_check[pages_title]; ?></td>
	  </tr>
	</table></td>
  </tr>
  <tr>
	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  </tr>
  <tr>
	<td class="main"><?php echo stripslashes("$page_check[pages_html_text]"); ?></td>
  </tr>
  <tr>
	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  </tr>
  <tr>
	<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="">
	  <tr class="infoBoxContents">
		<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
		  <tr>
			<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
			<td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>
			<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
		  </tr>
		</table></td>
	  </tr>
	</table></td>
  </tr>
</table></td>
<!-- body_text_eof //-->
  </tr>
</table>
<!-- body_eof //-->

<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->
<br>
</body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

 

Thanks again

Share this post


Link to post
Share on other sites

Does anyone know how to implement this contrib with Simple template system (sts) contrib?

Share this post


Link to post
Share on other sites

Hi,

 

A newbie here. I want to use this contribution and I have Ultimate SEO URLs installed. I need to know if both contribs are compatible. Please advise.

 

Thanks

Share this post


Link to post
Share on other sites
Hi,

 

A newbie here. I want to use this contribution and I have Ultimate SEO URLs installed. I need to know if both contribs are compatible. Please advise.

 

Thanks

 

I'm sure there is no conflict.

Share this post


Link to post
Share on other sites

noob here, i have installed this add on and experiencing the same problem as others regarding NAVbar_title showing on all pages. I know this question as popped up on a number of times, but cant see a clear reply to this problem. it appears not to be showing the proper meta tags for each product like it does on www.itchi-tech.co.uk

 

i have already installed seo-g web friendly urls contrib.

 

really need help with this one before i remove it and try another one which might work.

 

example of it not working www.banksidetackle.com/shop/

Share this post


Link to post
Share on other sites

Installed and working almost perfectly.

 

2 things - I get the old NAVBAR_TITLE but on the index page only, plus the price is displayed as £ instead of £.

I've sorted the NAVBAR problem by removing the code from the index page but cannot find how to have the £ displayed correctly.

 

Any ideas?

 

thanks.


SolarFrenzy

Solar powered gadgets at down to earth prices.

 

CheekyNaughty

Promoting British Design

Share this post


Link to post
Share on other sites
Installed and working almost perfectly.

 

2 things - I get the old NAVBAR_TITLE but on the index page only, plus the price is displayed as £ instead of £.

I've sorted the NAVBAR problem by removing the code from the index page but cannot find how to have the £ displayed correctly.

 

Any ideas?

 

thanks.

 

What line of code did you remove?

Share this post


Link to post
Share on other sites

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 ..."


SolarFrenzy

Solar powered gadgets at down to earth prices.

 

CheekyNaughty

Promoting British Design

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  

×