Zen Follower
- Join Date:
- Apr 2014
- Posts:
- 154
- Plugin Contributions:
- 0
Winchester Responsive
rbarbour:
The reason it was not working is because it was looking for a $_SESSION on page load which did not exist, I fixed that!
Now the php-detect class renders the proper responsive files on page load and YES, sets the $_SESSION after a link is clicked.
My fix will be added to the update of the DIY Responsive Template Default for v1.5.x package, Anne may use or choose to go your route or any other as she sees fit. Just looking at what you provided, I'm sure it works but have not tested.
Got it. Just wanted to mention the fix in case anyone was developing a site and depended on the switches to test the layouts. Just did not want anyone to waste their development time to only find out later they were not modifying the correct files.
A note to Anne is that the fix you implemented has not solved the switches. The demo site looks like it is using the updated version you submitted, but if you were to use the switches on the homepage, it will not work. The files being pulled are static. If you don't have the fix from rbarour, you can use the workaround I posted above by including the session is blank and it will now allow the switches to change display. I have tested it this and works fine.
And your templates are top notch that is very user friendly for customers and shop owners.