September 4, 2012 at 8:04 pm #34578Eyal FitoussiMember
Hi Eyal.. Just noticed the new version of your plugin. I’ve been developing a map app based on the previous wppl, and I’m wondering if I will upgrade. Doing a little testing, I’m not seeing any option to use the previous styles. Is the standard light blue results page style you had on wppl still available? I’ve developed my current app around that style.
I also did some hacking on get-places.php and wppl_results and their styles. Im wondering how hard it will be to port the changes. The new plugin seems to have different structure.
Thanks…September 5, 2012 at 12:59 pm #34579Eyal FitoussiMember
Yes, I have made lot of changes in the last update but it shouldn’t be too hard for you to adopt it to your app.
I didn’t like the structure of the styling and I had to change it but the base styling is still the same.
I’ll try to explain better:
The way it was the plugIn had one stylsheet with all the deferent styles in it. For example wppl-single-wrapper-default or wppl-single-wrapper-blue and so on. It was a mess and hard to keep changing or updating it. it was also using the same wppl_results.php which made it difficult to give different structure to the results for each style.
Now I change it so each style have its own results.php (instead of wppl_results)and it own CSS.
Most of the DIV tags are still the same but without the name of the style. So instead of wppl-single-result-blue it will be wppl-single-result. So first you need to remove all the “-blue” form your DIV tags in your stylesheet.
Also the result.php page Looks different but it is only because I wrapped each part of the results into its on function. so for example wppl_the_title() is a function that includes the DIV that wraps the title and the code that displays the function. I tried to made it easy for users to just move the functions around or to add and remove them in order to give a different look to the results.
If you’ll look at template_function.php you’ll see all the functions of the results page. If you’ll go to the folder “themes” you’ll see the different styles in there. Just go to the folder of the style that you want and see the result.php page. I believe that It won’t be too difficult for you to adapt the new version. You’ll have to do some adjustments but you should be fine. Anyway
Make sure you make a backup of your current version of the plugin before you update.
Also I can help you with anything you need. Just let me know if you have any other questions.
You must be logged in to reply to this topic.