Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Test if function is shown in console / Visual Editor?

$
0
0
1) As I recall you can check inside the view whether the functions is being rendered inside the Visual Editor / in the C1 console or if it's being rendered to a web user. Is that possible? How?
See http://docs.composite.net/Functions/Composite-C1-API/Rendering-Reason
2) After changing the output of the function the Visual Editor still prints the old data even though it prints correctly when I load it as a user on the webpage. Seems like a caching-problem. How can I solve this?
We do cache these images. A quick way to flush this cache should be to touch a css/less file.

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>