Jump to content

Display a list calendar using a date field


antknight

Recommended Posts

  • 1 year later...

@ Sakkoulas

create a new php file called json-events.php and upload it in your root folder.

But if I do that I am not able to call the variable $wire like "$eventdata=$wire->pages->get('/events/')->children();" like you post.

Notice: Undefined variable: wire in /home/.sites/24........

I have tried it but it only works if json-events.php is in the template folder. But if I put it into the template folder, I am not able to call this file directly - I will be redirected.

I took a look at your site and it it possible to call your json file via the browser.

What could be the cause for this problem?!?

Best regards Jürgen

Link to comment
Share on other sites

  • 5 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...