Good day again, I have some strange problem with DittoCal: when I make everything as in instruction, I start have problem with template - failed to open stream: No such file or directory or sometimes HTTP request failed 503.
What I make wrong? All files in normal places? Thank you for help to me & I’ll be pleasure a lot for more detailed answear.
Just a though - case-sensitive folder names!
-
MODX Staff
- 10,725 Posts
Post more details of the error and someone might be able to provide more insight.
Thank you friends, I just try to write more details
1. I make some document in admin panel & called "Calendar"
2. Make snippet DittoCal as in instruction
3. Put some document in Calendar
& start got a mistakes - 503 or files not found, may be something wrong in JSON I made? I first time try to release Calendar on my project.
Thank you much.
First learn how to call ditto with different parameter options and learn how to
output documents in different ways. This will learn you that sometime a snippet only works
like this [[ ]] instead of this [! !]. And that it is important that you use parameters without
accidental spaces and in right letter cases. E.g. [[ditto?parents = `2`... must be [[Ditto?parents=`2`... or
[[Ditto? &parents=`2`... Also test in different browsers and clear cache.
http://ditto.modxcms.com/
http://wiki.modxcms.com/index.php/Beginner’s_Guide_to_MODx
http://wiki.modxcms.com/index.php/Placeholders_used_by_MODx_Pages_and_Templates
Either show your snippet calls that don’t work or post a link to a development site.
Tell what’s working and what is not. Like -"I can visit this address or see this chunk if I call it outside the snippet"...
Ok, thanks, I’ll try, by the way - this links is known to me, and I never write forum before read manuals
You have this page
Create a new document with the following settings:
title: blog json output
template: blank
show in menu: no
published: yes
searchable: no
content type: text/plain
as your blog container? Right now your snippets try to call eachother...? Try
&calSource=`2`