hey,
my webserver does not show the website, when there are XML errors..
for example an <input> Tag MUST end like this: <input .. .... >
with this backslash.
---------------------------
so, i want to use the "event_calendar" module.. in the .SS files there are codelines like:
<% require css(event_calendar/css/calendar.css) %>
and my website is not shown, This is displayed:
XML-Verarbeitungsfehler: nicht wohlgeformt
Adresse: http://mydomain.de/new-calendar/?stage=Live
Zeile Nr. 94, Spalte 5:
...................<% require css(event_calendar/css/calendar.css) %>
--------------------^
when i make IF or CONTROL stuff with <% %> and there is an error with the syntax, maybe like <% if Photo%> (here is missing a space before the last %), then i get the same XML error what shows to the first %..
so i think the <% require ... %> is maybe not correct or my silverstripe does not convert it?
i am using 2.2.3, but in the "event_calendar" infopage there they say it works with 2.2.0 and higher. hummm?!?
In the Calendar.ss there are there lines...
<% require css(event_calendar/css/calendar.css) %>
<% require javascript(event_calendar/javascript/calendar_core.js) %>
and i deleted this line and added this lines to Calendar.php:
Requirements::javascript("event_calendar/javascript/calendar_core.js");
Requirements::css("event_calendar/css/calendar.css");
after doing this the
XML-Verarbeitungsfehler: nicht wohlgeformt
Adresse: http://mydomain.de/new-calendar/?stage=Live
Zeile Nr. 94, Spalte 5:
...................<% require css(event_calendar/css/calendar.css) %>
--------------------^
error is not shown, but another codeline from CalendarWidget.ss.
so i think this works, BUT the CalendarWidget.ss hab no PHP file, so i cant change its lines into a PHP file like in Calendar.ss..
can someone help me? ;)