Hi kp52
Thanks for the good-oil!
I considered your strategy today (I downloaded and installed 0.9.6.3 - the whole bit). But then I looked at the Wiki about upgrading (
http://svn.modxcms.com/docs/display/Evo1/Upgrading) and for my level of experience, all the suggested backups and changing names of elements to ensure they wouldn’t be overwritten, etc, was just a little bit too much for me to be willing to undertake. Given a few months more experience, where the probability of success would be higher, I might have given it a crack. It’s surely a good solution. For the moment though, it just seemed too awesome a task to undertake.
In the meantime, I went over to the #MODx IRC channel. Piecing together fragmented ideas from three users, I was able arrive at my own solution which I think is considerably less demanding than installing an older version with the snippet then upgrading it. I will refer to it below and respond to some of the questions I posed in my original post, should there be others in the future in a similar situation to mine.
I have just created the NewsPublisher snippet on MODx 1.0.2. and confirmed that it operates, so that is a clear answer to the first question (of three) I posted.
To answer the third question: the NewsPublisher snippet (based on my experience and research thus far) does NOT have dependent files that have to be strategically planted in some deeply rooted directory. Once I had a valid copy of the NewsPublisher source code (
see below for link to location), it was simply a matter of creating a new snippet and copying and pasting the source code from the .txt file into the ’Snippet code (php)’ field of the ’Create/edit Snippet’ manager: in the manager panel for MODx follow: Elements -> Manage Elements -> Snippets -> New Snippet. Take note of the name you give when providing the ’Snippet name:’, as it will be what you need to use for the snippet call in the documents or templates that call the snippet.
And finally: the response to the second question. This link to a forum thread (
http://modxcms.com/forums/index.php/topic,3220.0.html) puts you within one click of the source code of the NewsPublisher snippet. In the very first post, by Mark, Topic: [Snippet] NewsPublisher; Title: Critical Patch. Under the last line of the post, "Please upgrade ASAP...", you will see a small download icon with the filename: snippet.newspublisher.1.4.txt This is the file with the snippet source code.
And that should be that.
I’m not suggesting that NewsPublisher is worth the effort for a person looking for a front-end blog tool. As kp52 pointed out, there are more up-to-date assets out there offering greater versatility, such as PubKitBlog. I merely needed NewsPublisher because it is a significant component of a dated tutorial resource I am using and for me to get the most out of the tutorial, it was important for me to try to get NewPublisher working on my system.
By the way, kp52, once I work through the tutorial book and have gathered more experience with MODx, I will be giving PubKitBlog a good looking at. I’ve already seen it mentioned on a few forum posts/threads.
Thanks again for your assistance and advice.
8) Woomera