hmm.... don’t know if this is related. But seems there is something wrong with caching now.
Seems all content and all snippets are cached and clear cache doesn’t work. I can clear the cache only by deleting the cache-files???
-
MODX Staff
- 10,725 Posts
I cannot reproduce either issue.
ThaClown: please provide the content of the chunk settings_page_id...
-
☆ A M B ☆
- 350 Posts
It is just 5...
When I enter a direct link to it id does not work eather
I think I have the same issue.
Im using:
[[!getResources? &parents=`6` &tpl=`newfrontList` &limit=`1` &depth=`0` &sortdir=`ASC` ]]
Inside of tpl newfrontList I have
[[!If?
&subject=`[[+tv.movie-newthisweek]]`
&operator=`EQ`
&operand=`1`
&then=`<img src="assets/template/pur/images/new.gif" alt="New Film This Week">`
]]
[[+pagetitle]]
Initially I thought i was the If package but when I tested it individually they both work, but if I was using the IF statement inside a chunk i called with getResources it doesn’t work.
So my question to ThaClown is, are you using another snippet inside of your getResources template?
Quote from: Bruno17 at Jul 07, 2011, 02:02 PM
hmm.... don’t know if this is related. But seems there is something wrong with caching now.
Seems all content and all snippets are cached and clear cache doesn’t work. I can clear the cache only by deleting the cache-files???
sorry, all seems to work again. Was my fault with a custom-snippet for switching templates.
@ideas1:
did try the If-snippet in a getResources-tpl. did work without issues for me.
I think you need:
[[!getResources? &parents=`6` &tpl=`newfrontList` &limit=`1` &depth=`0` &sortdir=`ASC` &includeTVs=`1` ]]
hmm??? I wonder what I am doing wrong it was working up to 2.1.1...
I think you miss &includeTVs=`1`