Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * - 2 votes

cDynamic Meta Tags


384 replies to this topic

#321 jdice

  • Community Member
  • 105 posts
  • Real Name:Janet Dice

Posted 03 December 2007, 03:16

View Postjdice, on Dec 2 2007, 12:30 AM, said:

I am not even sure how to describe this. I uploaded the contribution. And when I go to my domain name...it ask for username and password....and I am thinking....WHAT? my store no longer shows up.

I have bts template already installed...but that is the only other contribution I have made prior to the cDynamic_Meta_Tags contribution.

Is this a permissions problems? How do I fix this?
Okay...I feel silly. I misunderstood the directions. The directions of the contribution said...

cache/ should be uploaded to your *catalog*/ directory

So...I did not have a cache file. I needed to create a cache file and then put the htaccess file in the cache file... NOT REPLACE the catalog htaccess file with the cache one.

Gosh that was so confusing me. I haven't got the contribution to work yet. But my site is showing and once I figure out how to use...I hopefully can get it all to work.

Lah Lah Diggy Me :rolleyes:

#322 Ken44

  • Community Member
  • 223 posts
  • Real Name:Ken
  • Gender:Male
  • Location:UK

Posted 13 December 2007, 20:35

Hi.

Thanks for a great contribution.

I have installed cDynamic Meta Tags v1.4

It is working fine except that it is changing all my decimal points to commas

So 4.5 is changing to 4,5

Is there some reason for this?

I would be most grateful if you could point me to the code to correct this

Thanks.

Ken.

Edited by Ken44, 13 December 2007, 20:37.


#323 Ken44

  • Community Member
  • 223 posts
  • Real Name:Ken
  • Gender:Male
  • Location:UK

Posted 14 December 2007, 20:14

I thought I had found the answer

In /includes/functions/meta.php about line 98

I changed

$splitstr = @explode("~`~`~`~`", truncate_string(meta_simple_strip_tags(str_replace(array(",","."),",", $str)), $length));

to this

$splitstr = @explode("~`~`~`~`", truncate_string(meta_simple_strip_tags(str_replace(array(","),",", $str)), $length));

This seems to work but the results no longer cache

My php skills are not that good. Is there any way to keep my decimal points and still cache the results?

Thanks

Ken.

#324 Amer786

  • Community Member
  • 64 posts
  • Real Name:Amer

Posted 16 December 2007, 20:25

I have just downloaded cDynamic_Meta+Tags_v1.6. In the readme file it says to run the sql file. I have done this. Now when I log onto my admin there is a section called Dynamic Meta Tag in the Mystore section. These are the values for the option.


Cache options 0
Show Manufacturer in Title ? true
Show Model in Title ? true
Chemo Cache Class set lifetime of cache 30/days
Pages to use HEADING_TITLE for title 'product_reviews.php', 'contact_us.php', 'product_reviews.php'



Do I need to do anything else to get this working, how do I know it is working ie adding files to a driectory or soemthing. I am new to this and confused. I want my site ot show up in search engine, what more do o have to do to make this possible.

Great help is always appreciated.

#325 jdice

  • Community Member
  • 105 posts
  • Real Name:Janet Dice

Posted 17 December 2007, 15:17

Hi....My name is Janet.

I have uploaded the latest version of cDynamic Meta Tag. I would have left a reply on the forum for this contribution...but it is 17pages long...and I doubt you or anyone would find me at the very end. So...I hope I have not interupted you too terribly. I don't normally write people.

I uploaded the latest version and I have a BTS template. On step 3..where it says STEP 3 - Edit pages you want to use meta tags on (like index.php, product_info.php etc)

I went to my index.php page but could not find the code
<title><?php echo TITLE; ?></title>


to even replace it.

However, I did find it under templates/Css-fluid-1/main_page.tpl.php

So I replaced the code above with the code
<?php 
# cDynamic Meta Tags
/*<title><?php echo TITLE; ?>*/
require(DIR_WS_INCLUDES . 'meta_tags.php');
#
?>

After doing this...I get this error

Fatal error: Cannot redeclare meta_create_title() (previously declared in /home/electron/public_html/catalog/includes/meta_tags.php:30) in /home/electron/public_html/catalog/includes/meta_tags.php on line 36

I have spent several days looking at this...I even looked over the other instructions CRE installation to see if I should have used those instructions...but again...I don't find the code in the main_page.tpl.php to change it. So I must not use those instructions either.

If you can be of help...I would appreciate any you can offer. I plan of leaving a fee for this contribution once I can figure it out.

Thanks and Have A Blessed Holiday.

Janet

#326 jdice

  • Community Member
  • 105 posts
  • Real Name:Janet Dice

Posted 18 December 2007, 14:01

In case I didn't make it clear to all....

It is the third step that is bugging me...

My mainpage.tpl.php page does not look the same as the regular installation instructions or the CREinstallation instructions....

My mainpage.tpl.php that has <title>...</ti..tle> looks different than the instructions.

Here is the top portion of my mainpage.tpl.php look like:

<?php require(DIR_WS_INCLUDES . 'counter.php'); ?>
<!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; ?>">
<title><?php echo TITLE; ?></title>
<?php require(DIR_WS_INCLUDES . 'meta_tags.php'); ?>
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>" >
<meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>" >
<link rel="stylesheet" type="text/css" href="<?php echo (bts_select('stylesheet','stylesheet.css')); // BTSv1.5 ?>">
<link rel="stylesheet" type="text/css" href="<?php echo (bts_select('stylesheet','main_layout.css')); // BTSv1.5 ?>">
<link rel="stylesheet" type="text/css" href="<?php echo (bts_select('stylesheet','print.css')); // BTSv1.5 ?>" media="print">
<style type="text/css">
<!--
<?php


#327 jdice

  • Community Member
  • 105 posts
  • Real Name:Janet Dice

Posted 18 December 2007, 14:49

View Postclarocque, on Feb 11 2005, 05:29 AM, said:

I am not sure as I have never looked at STS, it does work with BTS - if I get a chane I will take a look at STS and see what is different.

With out looking at it I believe the only difference for BTS is step 3, instead of having to do all pages you only have to do one tpl page.

I will try to look at STS soon.

Chris
Hi Chris...

I have a bts template and the only step that is different is step 3. However, my mainpage.tpl.php page is different than the one in the CREinstallation instructions. And I don't know what to change and what to change it to. So this really has me scratching my head. Can you help? Here is my first few line of my mainpage.tpl.php page:

<?php require(DIR_WS_INCLUDES . 'counter.php'); ?>
<!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; ?>">
<title><?php echo TITLE; ?></title>
<?php require(DIR_WS_INCLUDES . 'meta_tags.php'); ?>
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>" >
<meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>" >
<link rel="stylesheet" type="text/css" href="<?php echo (bts_select('stylesheet','stylesheet.css')); // BTSv1.5 ?>">
<link rel="stylesheet" type="text/css" href="<?php echo (bts_select('stylesheet','main_layout.css')); // BTSv1.5 ?>">
<link rel="stylesheet" type="text/css" href="<?php echo (bts_select('stylesheet','print.css')); // BTSv1.5 ?>" media="print">
<style type="text/css">
<!--
<?php

Thanks for your time,
Janet

#328 Amer786

  • Community Member
  • 64 posts
  • Real Name:Amer

Posted 18 December 2007, 18:10

View Postjdice, on Dec 18 2007, 02:49 PM, said:

Hi Chris...

I have a bts template and the only step that is different is step 3. However, my mainpage.tpl.php page is different than the one in the CREinstallation instructions. And I don't know what to change and what to change it to. So this really has me scratching my head. Can you help? Here is my first few line of my mainpage.tpl.php page:

<?php require(DIR_WS_INCLUDES . 'counter.php'); ?>
<!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; ?>">
<title><?php echo TITLE; ?></title>
<?php require(DIR_WS_INCLUDES . 'meta_tags.php'); ?>
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>" >
<meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>" >
<link rel="stylesheet" type="text/css" href="<?php echo (bts_select('stylesheet','stylesheet.css')); // BTSv1.5 ?>">
<link rel="stylesheet" type="text/css" href="<?php echo (bts_select('stylesheet','main_layout.css')); // BTSv1.5 ?>">
<link rel="stylesheet" type="text/css" href="<?php echo (bts_select('stylesheet','print.css')); // BTSv1.5 ?>" media="print">
<style type="text/css">
<!--
<?php

Thanks for your time,
Janet



Janet I do not think anyone is listening to our cries in the woods :-). I need help too with this contribution.

#329 jdice

  • Community Member
  • 105 posts
  • Real Name:Janet Dice

Posted 18 December 2007, 22:45

View PostAmer786, on Dec 18 2007, 01:10 PM, said:

Janet I do not think anyone is listening to our cries in the woods :-). I need help too with this contribution.

Yes I know....I don't think anyone is listening. It usually doesn't take so long for a reply...but it is the holidays...so I am trying to be patient. In the meantime, I have left this post all over oscommerce....hoping someone will have ran into this before. I have tried several things as far as changing the code...but what I am doing...just doesn't seem to do the trick.

#330 Amer786

  • Community Member
  • 64 posts
  • Real Name:Amer

Posted 18 December 2007, 23:19

View Postjdice, on Dec 18 2007, 10:45 PM, said:

Yes I know....I don't think anyone is listening. It usually doesn't take so long for a reply...but it is the holidays...so I am trying to be patient. In the meantime, I have left this post all over oscommerce....hoping someone will have ran into this before. I have tried several things as far as changing the code...but what I am doing...just doesn't seem to do the trick.


I so want to get my site up an running. i have worked hard on the site desing and adding products. I just need ot market it now by SEOing it. You know I was quoted an arm and leg for a consultant to do this (the sponsor you see on this page), $7500. I said oh wow. I mean I know it is expensive..but almost $8K. But I used to work for a company and they were haivng their website optimized and they were paying $6K a month to keep the thing in the top of google's listings. I wish there was an inexpensive way to do this. I am just starting out and I do not have alot of money to spend on promotion.

PS I am sorry for posting this, I am sure you got an email alert someone responded to the forums. Its no one just me, ranting !!!

#331 jdice

  • Community Member
  • 105 posts
  • Real Name:Janet Dice

Posted 19 December 2007, 15:05

View PostAmer786, on Dec 18 2007, 06:19 PM, said:

I so want to get my site up an running. i have worked hard on the site desing and adding products. I just need ot market it now by SEOing it. You know I was quoted an arm and leg for a consultant to do this (the sponsor you see on this page), $7500. I said oh wow. I mean I know it is expensive..but almost $8K. But I used to work for a company and they were haivng their website optimized and they were paying $6K a month to keep the thing in the top of google's listings. I wish there was an inexpensive way to do this. I am just starting out and I do not have alot of money to spend on promotion.

PS I am sorry for posting this, I am sure you got an email alert someone responded to the forums. Its no one just me, ranting !!!
I understand. I bought this site fairly cheap from a guy. It had terrible search engine rankings. After doing alot of research, I found this $400 software that helps you to manually submit to search engines. You still have to check your information carefully before click the submit button...because computers do make mistakes. But after using this software...the site I bought is now 1 and 2nd in the search engines on some of my keywords. It took me 6 months to save for it though (this was when I was starting out). I also spent about 4 months compiling a long list free search engines and free directories I could submit to. I also spent alot of time studing how search engines work, metatags and why title/decriptions/keywords & why content is important.

There is this advertising/submission company that contacts me about once every few months offering me the same service I describe above... that I figured out on my own... for $150 per month OR $1500 per year. That is crazy.

More importantly, I have learned from any website I have ever built...it takes about 1 to 2 years to work your way up through search engine rankings to even start to get any sales. So, you have to be in it for the long haul. I give a hosting company $120 per year for hosting space that holds 5 websites. Then I use oscommerce to build the sites..that is free. While I wait for my site to work it's way up through search engine rankings once it is done...I build another site so I am not wasting time.
To date, I have built 8 sites in 8 years. 4 sites for me, 2 for my husband, 1 for my 16 year old and 1 for my 13 year old. I learn it all...then I teach it to my kids and husband.

I still have a full time job. And I love the challenge of building sites. I am still not making the big bucks I dreamed of. But with my profits last year... we put in an inground pool. And it bought Christmas this year.

My first two sites I built were html. However, every site after that has been oscommerce. The php code is still frustrating for me to understand sometimes. But it is worth it to learn it. And I believe SEO is the most important thing you can spend your time on. So it is worth to wait for a response from others in this forum and try to figure out contributions like cDynamics...etc....and how they work.

So hang in there....of course...All statements above are solely me opinions on what I have learned...nothing more.

And if anyone out there knows how to make cDynamics work with BTS template...please respond....Thanks.

#332 Amer786

  • Community Member
  • 64 posts
  • Real Name:Amer

Posted 19 December 2007, 15:20

View Postjdice, on Dec 19 2007, 03:05 PM, said:

I understand. I bought this site fairly cheap from a guy. It had terrible search engine rankings. After doing alot of research, I found this $400 software that helps you to manually submit to search engines. You still have to check your information carefully before click the submit button...because computers do make mistakes. But after using this software...the site I bought is now 1 and 2nd in the search engines on some of my keywords. It took me 6 months to save for it though (this was when I was starting out). I also spent about 4 months compiling a long list free search engines and free directories I could submit to. I also spent alot of time studing how search engines work, metatags and why title/decriptions/keywords & why content is important.

There is this advertising/submission company that contacts me about once every few months offering me the same service I describe above... that I figured out on my own... for $150 per month OR $1500 per year. That is crazy.

More importantly, I have learned from any website I have ever built...it takes about 1 to 2 years to work your way up through search engine rankings to even start to get any sales. So, you have to be in it for the long haul. I give a hosting company $120 per year for hosting space that holds 5 websites. Then I use oscommerce to build the sites..that is free. While I wait for my site to work it's way up through search engine rankings once it is done...I build another site so I am not wasting time.
To date, I have built 8 sites in 8 years. 4 sites for me, 2 for my husband, 1 for my 16 year old and 1 for my 13 year old. I learn it all...then I teach it to my kids and husband.

I still have a full time job. And I love the challenge of building sites. I am still not making the big bucks I dreamed of. But with my profits last year... we put in an inground pool. And it bought Christmas this year.

My first two sites I built were html. However, every site after that has been oscommerce. The php code is still frustrating for me to understand sometimes. But it is worth it to learn it. And I believe SEO is the most important thing you can spend your time on. So it is worth to wait for a response from others in this forum and try to figure out contributions like cDynamics...etc....and how they work.

So hang in there....of course...All statements above are solely me opinions on what I have learned...nothing more.

And if anyone out there knows how to make cDynamics work with BTS template...please respond....Thanks.


It sounds encouraging. Could you PM me the name of the softare you are referring to and I will look into it. I have contacted a copany charging $120/month for the service you descirbe. It seemed an ok charge form e in the short run while I figured things out on my own. I rather spedn some money now and get my search engine rankings up while learning in the background. I can see what they are doing by observing the code, correct? Do you have any resources that you found helpful in learning about search engines and how they work and meta tags etc. Again, PM me the info, lets not take up precious space on the forums.

Thanks,

Amer
asapcellphones.ca

#333 i2Paq

  • Community Member
  • 256 posts
  • Real Name:Norman

Posted 09 January 2008, 19:27

Do not use the 1.6 version!

It is incomplete, you also need the 1.5 version.

The GUI added in 1.6 does not work even with the changes mentioned on page 15 of this topic.

The 1.5 version works great!

Edited by i2Paq, 09 January 2008, 19:28.

Norman in 't Veldt

Moderator
osCommerce The Netherlands

#334 her_unlimited

  • Community Member
  • 38 posts
  • Real Name:Hernan

Posted 13 February 2008, 15:30

Hello, I installed the version 1.4, it's great, but...i wonder if is posible to it's appear the product_description (first 40 characters) instead of the product_name in product_info.php. I hope anyone can help me. Thanks!!

HernĂ¡n

#335 parksey

  • Community Member
  • 40 posts
  • Real Name:Rhys

Posted 19 February 2008, 16:26

Is their a way to get this contrib to take the product description and remove spaces add a ',' and insert them into the keywords list excluding a standard list of words ?

#336 adam777

  • Community Member
  • 101 posts
  • Real Name:Adam
  • Gender:Male
  • Location:Sydney

Posted 21 February 2008, 04:45

Hi

I've just installed version 1.6.

I have a problem when i try to change the cache type in the admin to

Quote

1-Chemo's osC Advanced Cache Class

...and I get


Quote

Fatal error: Call to a member function on a non-object in XXXXXXXXXXXXX/includes/meta_tags.php on line 57

Please help :huh:

#337 her_unlimited

  • Community Member
  • 38 posts
  • Real Name:Hernan

Posted 22 February 2008, 04:37

Hi, I install this contribution, I want to know how to include H1 an H2 tags using the title (H2) and description (h1), can I install it directly in the meta_tags.php file like this? Thanks!

define('HEAD_TITLE_TAG_ALL','<h2>Buy Cars</h2>'); # Title
define('HEAD_DESC_TAG_ALL','<h1>But Cars surfing on the web</h1>'); # Description

#338 wargaming

  • Community Member
  • 65 posts
  • Real Name:Chris
  • Gender:Male
  • Location:staffs / UK

Posted 24 February 2008, 00:50

Just installed and used the 1.4 version no problems what so ever thanks to the developers and anyone who helped great contribution your hard work is very much appreciated :)

#339 SamyT

  • Community Member
  • 345 posts
  • Real Name:Sam McIvor

Posted 05 March 2008, 07:03

Does anyone know why the source looks like this??

Quote

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">


<title>
With all the space I mean?

#340 SamyT

  • Community Member
  • 345 posts
  • Real Name:Sam McIvor

Posted 05 March 2008, 07:17

This contribution cuts my business name off or out almost for every product, is there a fix?