I’ve recently discovered Shaun McCormick’s detailed tutorial on creating a blog using ModX Revolution and after seeing it in action on his own site, I became interested in applying it on a site I’m building. The tutorial, if you’re interested, is located here:
http://rtfm.modx.com/display/revolution20/Creating+a+Blog+in+MODx+Revolution
Now, please keep in mind that I am a complete newbie with ModX (working with it for a few days). I’ve followed the tutorial to the letter, with the exception of differing id numbers, which I adjusted in the correct places. Unfortunately, all I get is a blank screen where there should be at least one blog posting.
After looking around for where I went wrong, I noticed something that I don’t know if it can be the cause of my problem, and that is where I’m asking your help:
There are a few parts in the tutorial that call for creating a new resource and then adding some code in the content area (for instance, the part on ’Creating the Sections’ and/or ’Setting Up Your Blog Home’). I go to the Resources tab in the left-hand side, click on the ’Create Resource’ button and in the content area, I use the html editor to paste the code. When I add the code, either by copy/pasting or by manually typing it in, using either the html editor or the content area, all of the ampersands come out as the HTML name code
...not the glyph character itself. No matter what I do, after I make the change and save/update the page, the resulting code still shows the ampersand as the named code.
In other words, sample code comes out looking like:
[[!getResourcesTag?
&element=`getResources`
&elementClass=`modSnippet`
&tpl=`blogPost`
&hideContainers=`1`
&pageVarKey=`page`
&parents=`[[*id]]`
&includeTVs=`1`
&includeContent=`1`
]] ... etc.
Instead of:
[[!getResourcesTag?
&element=`getResources`
&elementClass=`modSnippet`
&tpl=`blogPost`
&hideContainers=`1`
&pageVarKey=`page`
&parents=`[[*id]]`
&includeTVs=`1`
&includeContent=`1`
]] ... etc.
Is that normal or is that enough to sabotage the project?
Thank you in advance.