开发者

Template Variables do not update from default values

I'm new to ModX, but I have created a Template Variable (TV) for an Image ( image-1 ) .

Then I set a def开发者_运维百科ault value, and assign the TV to my Home_Template, click save.

Create some simple html in that template:

<li>[*image-1*]</li>

As expected, the template variable is available on this screen. So I select the image I want to display, and save. It appears in the preview for this template screen, but not on the actual website.

Any ideas?


check your caching settings ~ probably best to turn off caching completely during development.

also try calling your snippets & variables as 'uncached' ex:

[!*image*] 

this looks like evolution code, best to switch to revolution if at all possible.

-sean

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜