Re: SitemapXML v4 [Support thread]
Thanks Dave - in the interim I can copy images into that large folder, so an easy fix :smile:
cheers,
Mike
Re: SitemapXML v4 [Support thread]
Quote:
Originally Posted by
lat9
FWIW, from the IH 5.1.9 readme:
If you are using IH
5 on a site that also uses
SitemapXML and have configured
SitemapXML to
Add Products Images, you'll need to edit one of the
SitemapXML's files to allow those images to be properly reported. Editing /includes/modules/pages/sitemapxml/sitemapxml_products.php, you'll see this code-block towards the top of the file:
define('SITEMAPXML_PRODUCTS_IMAGES_SIZE', 'large');
define('SITEMAPXML_PRODUCTS_IMAGES_ADDITIONAL', 'false'); // true false
define('SITEMAPXML_PRODUCTS_IMAGES_FUNCTION', 'false'); // true false
… and you'll make the highlighted change to instruct
SitemapXML to use the built-in Zen Cart function to create the images' links:
define('SITEMAPXML_PRODUCTS_IMAGES_SIZE', 'large');
define('SITEMAPXML_PRODUCTS_IMAGES_ADDITIONAL', 'false'); // true false
define('SITEMAPXML_PRODUCTS_IMAGES_FUNCTION', '
true'); // true false
I've not yet tried the SiteMapXML v4 to see if the same changes apply.
Hello Cindy - many thanks for your response - that change worked a treat!! - image url's are now correct.
thanks again,
Mike
Re: SitemapXML v4 [Support thread]
Quote:
Originally Posted by
shags38
Hello Cindy - many thanks for your response - that change worked a treat!! - image url's are now correct.
thanks again,
Mike
Really no change in the code is needed. I do need to change the comment for better understanding. Changing from false to true makes no difference if IH is not installed. I'm wondering now why width and height is in the code when nether is used in the xml or ror feeds.
Re: SitemapXML v4 [Support thread]
Quote:
Originally Posted by
davewest
uploading shortly a new update for Site Map XML to version 4 for ZC1.5.7 if accepted, should show up on it's own. If you are interested in helping out, got some ideas or just want something to play with,
GitHub location.
I still have some things I want to play with, but for now as is it's working as before on ZC1.5.7 and PHP7.4 with allot easier install. A number of files was changed or deleted, thus I would not suggest this as a easy update, but a new install.
Hi Dave. Is version 4 only available on github? I'm only seeing v2.1 in the plugin section.
Best regards.
Re: SitemapXML v4 [Support thread]
I went ahead and downloaded from github for my zc157b. Worked like a treat! Thank you! :hug:
Re: SitemapXML v4 [Support thread]
The github link is giving a 404. Anyone have the current github link?
Re: SitemapXML v4 [Support thread]
Quote:
Originally Posted by
dbltoe
The github link is giving a 404. Anyone have the current github link?
I was gone some day, lost all internet code too.. lost left mind and writing my mind right works... I was working on ROR and maybe work both. I thought mod was v4 but I think it was by some was doing v2 too, not did.
I'll work next time..
Re: SitemapXML v4 [Support thread]
Until such time as DaveWest gets the github back together, I've created a repository at https://github.com/dbltoe/Sitemap-XML-4
It is merely a copy of what I captured off github before it went 404.
Re: SitemapXML v4 [Support thread]
this does not look promising. i hope @davewest is ok...
personally, i have always valued his contributions.
best.
IMC
Re: SitemapXML v4 [Support thread]
Quote:
Originally Posted by
dbltoe
Until such time as DaveWest gets the github back together, I've created a repository at
https://github.com/dbltoe/Sitemap-XML-4
It is merely a copy of what I captured off github before it went 404.
Just the heads up for anyone trying to install this mod, the entire admin folder is missing on this repository.