Sunpress plugin problems.
Hi
I am currently playing with a holiday search plug-in (sun press) however there appears to be some conflicting issues that I can't seem to rectify and was hoping someone might be able to help? Website:http://www.sharm-el-sheikh-travel.com/ 1. When you have clicked search and are waiting for the results to come back the loading graphic doesn't appear? I have tried removing content from the home page in case it was conflicting with this but still not joy. Is there anything I can change to the below template search code which might work? Unfortunately I'm fairly new to web development and I'm certainly not familiar with php. Examples of the loading graphic working on other templates: * http://expo3.sunshines.co.uk/ * http://expo2.sunshines.co.uk/ * http://expo1.sunshines.co.uk/ * http://expo.sunshines.co.uk/ // output loading image echo "<div id=\"imageloader\" align=\"center\"><img src=\"". get_bloginfo('url') ."/wp-content/plugins/sunpress/images/aniloader.gif\" /></div>"; // flush out the loading image, so visitors realise the site is doing something during search times. ob_flush(); flush(); echo "<script>document.getElementById('imageloader').st yle.display='none';</script>"; 2. When using the search form the right hand sidebar and footer disappears whilst waiting for the results? Any idea how I can prevent this from happening? 3. Searching in IE causes the whole page to disappear whilst waiting for the results? Any help with the above would be much appreciated. I have also contacted the plugin developer for any suggestions but I feel this is more likely an issue with the theme. Thanks Joe |
Just in case this is not just a typo in this post: You have a space in this line
echo "<script>document.getElementById('imageloader' ).st yle.display='none';</script>"; |
Hi Flynn,
Sorry this was just a typo! |
Unfortunately the guys who developed the plug-in are not able to help with this issue. Can anyone point me in the right direction with any of these problems?
Thanks Joe |
According to one of the sunpress developers it looks like the plugins .php object flush is just being skipped over with regards to the loading image not showing.
The idea is, that when the soap call is made to the xml services, PHP normally pauses waiting for a response, hence not executing the display='none'; javascript code. However on your server it appears that it just skips right over the soap call. There could be several site wide PHP config issues that could cause this. Not sure if this helps anyone? |
All times are GMT -6. The time now is 11:45 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.