Thanks Qphoria.
Ok, I made it work. I think (still not sure) that I am using 1.2.9
I uploaded the following pages from 1.3.4 into my older installation:
Code: Select all
/admin/controller/feed/google_sitemap.php
/admin/view/template/feed/google_sitemap.tpl
/admin/language/english/feed/google_sitemap.php
/admin/language/hungarian/feed/google_sitemap.php
(Hungarian language pack is for a very old version - I had to edit it even to make it work with even 1.2.9...so I just copied the google_sitemap.php from EN to HU folder - I use admin in EN anyway)
Next, I had to create a record in table "setting" in the database:
settings_id: selected an arbitrary number
group: feeds
key: google_sitemap_status
value: 1
Last step:
copied global function
from
Code: Select all
/shop/catalog/model/catalog/product.php
in 1.3.4 to my 1.2.9 file
and voila index.php?route=feed/google_sitemap outputs an XML sitemap. Have submitted in Google webmaster tools Sitemaps, and it has accepted it...shows 414 URLs submitted, though hasn't indexed anything yet.