Mustafa-Online

How To Use PW API With Other PHP Scripts?

Recommended Posts

Hi There, I'm Trying To Implement "jQuery-PHP Slider" Called Smart Slider Into ProcessWire Site & Every thing works fine, But I wanna Protect The Slider Page With PW Login,,
I wanna use "$user->isLoggedin( )" .. How To Make The Slider Index Page Aware Of PW API ??

.

 

smart_.PNG

Share this post


Link to post
Share on other sites

i don't really fully grasp what the setup is, but you definitely shouldn't put anything inside the wire folder.
I'm guessing this is a separate script that is used to create/edit slides;  it should work completely fine in the root directory, i use a few separate scripts like that.

 

  • Like 1

Share this post


Link to post
Share on other sites

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.