Mustafa-Online Posted November 13, 2017 Posted November 13, 2017 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 ?? .
Orkun Posted November 13, 2017 Posted November 13, 2017 Perhaps bootstrapping Processwire inside the Slider Script.https://processwire.com/api/include/ 1
Mustafa-Online Posted November 13, 2017 Author Posted November 13, 2017 @Nukro .. You Are A Life Saver .. Many Thaaaaaaaanks
Mustafa-Online Posted November 13, 2017 Author Posted November 13, 2017 @Nukro .. Just One Issue, When I Logged-In I Can't Access The Slider URL.. It Redirects Me To Admin Should I Put The Slider Folder Inside "Wire" ??
Macrura Posted November 14, 2017 Posted November 14, 2017 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. 1
Mustafa-Online Posted November 14, 2017 Author Posted November 14, 2017 @Macrura - I Fixed It - It Was an issue with "File Including" Order .. Thank You
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now