Author Topic: HACK: AutoGen Metadata Metatag. Product, Category. Title, Description, Keywords  (Read 409017 times)

tax

  • Beginner
  • *
  • Posts: 5
Hi, Forrest
Haсk ningpa not decided my problem.
Is it possible to add in the ANSI codepage UTF8 for metakey?

Thanks,
Nick

allan.backhouse

  • Beginner
  • *
  • Posts: 10
    • ROI Media
You'll need to change the files (html folder files), and specifically where in my hack calls out for "product_s_desc", and instead change all calls to the "product_desc".

Hi Forrest,

Finally I got it to work, thanks so much for the prompt help. I would definitely recommend this to anyone looking to add SEO to their Virtuemart component and its products etc.

Thanks,

Charles :)

gocartgo

  • Beginner
  • *
  • Posts: 28
Thanks, Forrest for this great functionality! Simply awesome!

I had some problems like others in this post about not getting meta name Description to update. It always showed my site name. It took me a while to find it, but I remembered editing index.php with the following:

Code: [Select]
<?php $this->setDescription('My Site Name Here'); ?>
Taking this out surely fixed my problem. Maybe other folks that still have a Description problem have done something similar.

Thanks again!

fewleh

  • Beginner
  • *
  • Posts: 41
Hi Forrest, firstly would like to say thanks for such a useful little hack. I've just been testing it, and it's all working 99% correctly...except, it seems to be over-writing the meta information for my hompeage that I have saved in "global configuration". It seems to be taking the meta data from another page all together...any ideas on how I can iron out this small wrinkle? Thanks again dude, people like you make the world go around!

fewleh

  • Beginner
  • *
  • Posts: 41
A little side note - my contact us page seems to be using the global config meta data...index.php seems to be using some old meta data...i'm a bit confused, have I missed something?

fewleh

  • Beginner
  • *
  • Posts: 41
Hi again...sorry, I had a module on the homepage that was overwriting the normal meta data, I deleted the meta from the module and it is now picking up the correct text. Now it is just the Contact us page, as far as I can tell that has the wrong meta data, but that's not the end of the world...just using the global meta data

Forrest

  • Full Member
  • ***
  • Posts: 1972
  • Me and my baby
    • Web Developer
@fewleh: please note, this metadata hack is for VM pages only. Contact pages, and other component pages that are NON-VM will not be altered by this hack. It's purely for product category and product details pages.

renton84uk

  • Beginner
  • *
  • Posts: 10
Hi, thanks this is a great hack, and works really smoothly.

The only thing i am confused about is the meta abstract. I cant seem to find that anywhere  in my pages?

renton84uk

  • Beginner
  • *
  • Posts: 10
Oh i found the option at the very bottom, silly me. All I would say in maybe change the description slightly at the top to point at the abstract is not enabled by default.

Thanks again for this great hack.

franzpeter

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 467
    • 2in1-online | Software, Mac, PC, Netzwerk, Drucker, Pad, Display
  • VirtueMart Version: Virtuemart 3.2.6
Before I did use the AuotGen Metadata Metatag, I did buy a 99$ Joomla extension to do that job. It did slow down the server performance and an uninstall did some very nasty things inside the virtuemart files. I had to close my store for one day to reinstall virtuemart. My Joomla installation is now protected by a firewall. I did try to reinstall the component and the installation was blocked by the firewall. So it seems to content some strange code. So I forget about that component.
Did find that AutoGen Metadata Metatag installed the database tables, backed up the virtuemart files as precaution but: it was not necessary. AutoGen Metadata Metatag works like a charm. It does not slow down the server performance and generates the Metadata without any problem.
Hope, that the virtuemart developers will integrate it as standard.

Dear Forrest,
You did an excellent work. Thanks for that great addition

Forrest

  • Full Member
  • ***
  • Posts: 1972
  • Me and my baby
    • Web Developer
@renton84uk & @franzpeter, glad to hear it's working well. Thanks for accolades :).

diastasi

  • Jr. Member
  • **
  • Posts: 65
    • e-magazi the greek eshop
forrest..

a) The UTF8 proble in Product Meta-keywords still exist, even if I tried everything here.
Everythink Greek in Meta-Keywords field is like:
Code: [Select]
kidbox, pc, ���������������, tft, monitor, gb, xp, windows, suite, rom, ram, optical, openoffice, mouse,
The same in Category Meta-Keywords
Code: [Select]
�������������, ��������, ���������, �������������, ��������, floral, �������, ����������, ����, city, ����������,
b) Is there a way to put in products pages the keywords of the category?
For me it is more simple that way because every product in my category could use the same keywords. The only thing changeable is the product name!


Thanks for the good work  ;)

spottedsparrow

  • Beginner
  • *
  • Posts: 40
    • www.spottedsparrow.com
This does not seem to be working.  I have not checked or turned on the manual edit option, but descriptions and meta tags are not being updated.

@spottedsparrow: Yes, if you update the description, and the
"Turn On Manual Edit of Meta Title/Description/Keywords/Abstract (Global)"
option is unchecked / off, then it will update on it's own.

If
"Turn On Manual Edit of Meta Title/Description/Keywords/Abstract (Global)"
is checked / on, then it always pulls from that admin form field. If you want the override to re-generate/re-populate the data in the admin form field, then you have to clear the field desired to re-generate and then save the form. Upon re-entry of the product admin form, the data will repopulate. Again, this is only for if you are using the override (checked) option.
The Spotted Sparrow
eco-friendly, vintage inspired paper goods

Forrest

  • Full Member
  • ***
  • Posts: 1972
  • Me and my baby
    • Web Developer
Then likely you did something wrong in your install, or you are using another metadata program that is overwriting the hack.

Forrest

  • Full Member
  • ***
  • Posts: 1972
  • Me and my baby
    • Web Developer
@diastasi: I'll take a look as this as well soon. I think I know the issue.