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

ladyhotchkiss

  • Beginner
  • *
  • Posts: 11
Cannot load!

When I go to install (via the extensions manager, I get this error:  Error! Could not find an XML setup file in the package.

Should be installing another way?

Forrest

  • Full Member
  • ***
  • Posts: 1972
  • Me and my baby
    • Web Developer
Yes, this is a HACK. You will need to read instructions included in zip file. You will be over-writing core files, and running database scripts to make this work. Pls don't use if you are noob. Get familiar with VM first. Otherwise, if you proceed, please Backup First!

ladyhotchkiss

  • Beginner
  • *
  • Posts: 11
Thank you!  This will have to wait . . .wish it wasn't a HACK!

Everest

  • Beginner
  • *
  • Posts: 4
Great job, pal, keep on doing it. I didn't expect much from auto-generated meta data but manual editing for sure does the magic. So far i didn't experience any hurdles to make it run - everything's slick. You have some minor issues with non-Latin automatically generated meta keys, though. Any ways I attest that it's fully operational for folks not using English as primary language and with some efforts you can get pretty decent results. I'd love to share my thoughts with others on your official virtuemart extension page but for some reason in order to make it one has to have a different account there so instead I appreciate your great job here. Thanks again.

Forrest

  • Full Member
  • ***
  • Posts: 1972
  • Me and my baby
    • Web Developer
Thanks for the feedback Everest :)

scothern99

  • Jr. Member
  • **
  • Posts: 54
So, I copied over the files and backed up my originals.  This did NOTHING.  Not a single change.  I mean nothing showed up at all.  So I guess I missed something?  I'm running VM 1.1.3, but didn't see any errors when copied over the files, so I'm guessing I have to manually edit all 6 of these files?  How do I know exactly where to put the info in the files then and what info do I put there?  A Little help would be appreciated.  Thank you.

Forrest

  • Full Member
  • ***
  • Posts: 1972
  • Me and my baby
    • Web Developer
Please search this thread regarding VM1.13

You can find a note about this on the first post of this thread as well. You need to adjust a certain file accordingly... as it has been addressed in this thread!

And make sure you run the sql included in the download as well.

james123

  • Jr. Member
  • **
  • Posts: 96
So I got anxious and tried this out. Works amazing so far. I did notice that the appending text on the title for the categories is doing a double (--) dash...so

<title>Category Tittle -  - Appended text here.</title>



Anything on this Forrest?

scothern99

  • Jr. Member
  • **
  • Posts: 54
Please search this thread regarding VM1.13

You can find a note about this on the first post of this thread as well. You need to adjust a certain file accordingly... as it has been addressed in this thread!

And make sure you run the sql included in the download as well.

It works wonderfully actually.  I had an FTP error and it missed a couple of files.  Thanks again.

Forrest

  • Full Member
  • ***
  • Posts: 1972
  • Me and my baby
    • Web Developer
@james123: I'll have to look into this over the weekend. It's something minor.

@scothern99: glad it's working for you now :)

tax

  • Beginner
  • *
  • Posts: 5
First excuse my bad English. This translator Google.
Forest, your job is very helpful for me. However, this hack does not work with cyrillic words. example in the picture.
Database in UTF8 encoding
Need your help.
Thanks

[attachment cleanup by admin]

spottedsparrow

  • Beginner
  • *
  • Posts: 40
    • www.spottedsparrow.com
Thanks for the great hack.  Does this auto-update metadata when you change a product description?
The Spotted Sparrow
eco-friendly, vintage inspired paper goods

3NDG4M3

  • Beginner
  • *
  • Posts: 1
Everything is working nice, Great job!! ;)

ningpa

  • Beginner
  • *
  • Posts: 5
hi, nice hack :)
didn't have any problems making changes to core files, everything went smooth...

i'm also having some problems with multi lingual site.
everything is fine when my default language is selected, but if you select some other language my title (part of the title with vm category/product name) and my meta tags are displayed in defalut language.
(this is of course if "Turn On Manual Edit of Meta Title/Description/Keywords/Abstract (Global)" is ticked)

is there a way to somehow 'disable' this hack for other than default languages if not make it work with joomfish?

thanks once again for this.


ningpa

  • Beginner
  • *
  • Posts: 5
i managed to make this work.

first you i got currently active language with:
Code: [Select]
$lg = &JFactory::getLanguage();
$language = $lg->getBackwardLang();

and then i just made if statement:

if( $language != 'your_default_language' ) {
 // default vm code goes here
}
else {
 // hack code goes here
}

hope it helps someone ;)