Thanks Mark,
Unfortunaly, I used exactly the same options and I just added `rss`.
I have my news with the normal call but none as soon as I put `rss`, just header as I said.
May be I should remove some options cause I suppose we don’t need some with rss format like &tpl ?
Hi folks outthere,
i got a little newbie-question about the V.6.3.3. I didn’t found the the right solution by reading this thread. So, here it is:
I wanna use the snippet to show in the startpage(id=1) the last written document in the folder ’news’ (id=29, a subfolder of ’profile’).
In this case i use the snippet in that way:[[NewsListing? &total=`1` &startID=`29` &datetype=’createdon’ &tpl=`nl_pages`]].
Everything I get is a double "No entries found.". By using this snippet in the news folder, everything works fine. So whats the problem?
thank. le block
le_block is Member of
FUTY | Medienagentur aus Leipzig mit Schwerpunkt Marketing, Branding, Print und Webdesign
-
MODX Staff
- 12,272 Posts
You might try turning on the debug mode (instructions in the header i think) and see what it outputs.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Try summarize instead of total
When i try to valid the RSS feed outputed by NewsListing I get an error saying;
This feed does not validate.
line 36, column 0: XML parsing error: <unknown>:39:0: junk after document element [help]
</item>
</channel>
</rss>
<body id="EMANZ"></body>
So seems to be that for some reason it is picking up the body tags and removng all content from in between. anyone else having the same problem?
http://validator.w3.org/feed/
http://www.emanz.ac.nz/rssfeed.xml
(Feed still seems to work, just not validating)
As I said in my previous post, I tried to used rss without any success so I used newsfeed snippet even if it is less powerfull
This must be at the bottom of your document or template (if you didn’t set the template to (blank) like you are instructed to): <body id="EMANZ"></body>
Quote from: Mark at Mar 01, 2006, 09:20 PM
This must be at the bottom of your document or template (if you didn’t set the template to (blank) like you are instructed to): <body id="EMANZ"></body>
It is a blank template and worked fine with Newsfeed.
The <body id="EMANZ"> is at the top od the "Briggsys" template and the </body> is at the bottom. no idea why they are being used when it
IS set to blank.
Are you using a Rich Text Editor (FCKeditor)?
Quote from: Mark at Mar 02, 2006, 09:57 PM
Are you using a Rich Text Editor (FCKeditor)?
Nope, but that promted me to start disabling plugins, and that highlighted what is causing the problem, its the phpGiggle plugin I’m testing with Garry.
it used to remove body tags, the fix for it must now force tags even in the blank template.
How do you set a plugin to run only in some templates?