Hi all !
I tryed sitemap snippet without success. I sure I’m so close but...
I don’t know if it’s because I’m running MODx Revolution under MAMP, but...
Grad, on the Wiki page, maybe you should add several things for the Newbies :
- Say that it works only on MODx Revolution
- Explain shortly the installation of sitemap as a snippet in MODx revolution with the name in lowercases : "sitemap"
- change the piece of code you provided for the right one under Revolution (I think it is [[!sitemap? &format=`sp`]], but am I right ?)
- Explain that you have to choose "XML" not "text/xml" (because there isn’t such an option) under Page Settings > Content Type.
- And re-read this superb documentation to see if you haven’t forgotten something that would make newbies to fail. All is too simple for you developers...
I notice a last thing that made me crazy for a while : the "//<?php" at the beginning of the file. Do I need to remove "//" or not ? I don’t see the php ending tag, is it normal also ?
I didn’t understand the procedure to read the file on a browser to check if it’s ok neither... :-((
Sorry if it sounds completely silly but all this prevent me from succeeding beacause all I get is a blank page. When I save it I got just a html-like heading and nothing inside...
My config : Mac OS X 10.6.6 - MAMP 1.9.1 - MODx Revo 2.0.4
Hope this help newbies like me...
Thank you !