@sgt1973:
It looks like your call is incorrect. I have the following points for you to consider:
1. The call should be placed in a document, not in a snippet. I assume that you have it in a snippet since there are php tags in your example as shown below.
<?php
[!Calendar? &emails=`[email protected]` ’/assets/snippets/calendar/’;
include $basePath .&offset=`-2 hours` &display=`calendar` &template=`ical`!]
?>
If we remove them and place the call in a document field, the call would look like this:
[!Calendar? &emails=`[email protected]` ’/assets/snippets/calendar/’;
include $basePath .&offset=`-2 hours` &display=`calendar` &template=`ical`!]
2. Next, no line breaks are allowed so remove those if they exist:
<?php
[!Calendar? &emails=`[email protected]` ’/assets/snippets/calendar/’; include $basePath .&offset=`-2 hours` &display=`calendar` &template=`ical`!]
?>
3. Next, there are unfamiliar parameters in the call. All parameters used in the call should look like this:
¶m=`value`
If we remove the unfamiliar parameter code, the call would look like this:
[!Calendar? &emails=`[email protected]` &offset=`-2 hours` &display=`calendar` &template=`ical`!]
This call is properly formed. All of the other text has been removed. Now, if you intended to call this from php code, you would have to use the MODx API and the call would not look like this format at all. If that is your intent, you should study the MODx API to learn how to call snippets from php code.
Hope this helps.