WordPress.org

Ready to get started?Download WordPress

Forums

GEO my WordPress
[resolved] Results Page Layouts (8 posts)

  1. nerdforhire
    Member
    Posted 1 year ago #

    Is there a way to have custom coded layouts for the results pages for each form? I have 3 forms set up which I need to place the map in my right column and one search form that will have just the map in the main left content area.

    I was looking for solutions on your website support forums but they are now unavailable.

    http://wordpress.org/extend/plugins/geo-my-wp/

  2. Eyal Fitoussi
    Member
    Plugin Author

    Posted 1 year ago #

    Hi groldan,
    the only way i see is using CSS to move things around. However, there is no unique class for each of the forms right now which will cause the CSS changes you make to apply to all forms.
    what you can do is open the get-places.php file in the plugin's folder and look for that line:
    echo '<div class="id="wppl-output-wrapper" style="width:'; echo ($main_wrapper_width) ? $main_wrapper_width.'px' : '100%'; echo '">';

    and change it to :
    echo '<div class="wppl-output-wrapper-'. $_GET['wppl_form'] . '" id="wppl-output-wrapper" style="width:'; echo ($main_wrapper_width) ? $main_wrapper_width.'px' : '100%'; echo '">';

    this will add a unique class for each form by its form id for example:
    class="wppl-output-wrapper-1" for form number 1.

    this way you can apply different CSS styling for each of your forms.

  3. nerdforhire
    Member
    Posted 1 year ago #

    I have been able to style the forms and get the checkboxes working. I am now trying to stylize the results page so my results listing is on the left and the map is on the right in one result page and just have the map in the main left column in another result page template.

  4. nerdforhire
    Member
    Posted 1 year ago #

    You can check out the site here

    http://njtrails.ipower.com

    each of my forms is in the right hand at the top. Click on the "by county tab" and you can see that form click on the "by map" and it should take you to a page displaying a map.

    the results for by county, by use and zip code is what I am trying to work on

    Thank you so far for all your help :)

  5. Eyal Fitoussi
    Member
    Plugin Author

    Posted 1 year ago #

    You are welcome. And I really like the way you modified everything. The form and the results looks awesome. Definitely gave me few ideas how to improve te plugin.
    Thank you

  6. nerdforhire
    Member
    Posted 1 year ago #

    Sure I noticed you still have no instructions on installation pages or in the file downloads. I'm sure this project is pretty overwhelming and I do appreciate how much work you have done. If you need help with front end work, maybe making more custom themes or creating documentation, I'll lend a hand.

  7. nerdforhire
    Member
    Posted 1 year ago #

    I ended up just calling the results shortcode twice and hiding certain parts in each section's call. Seems dirty but I am short on time with this project. A few ideas I had were to have page templates were you could call the results loop and the results map separate.

  8. Eyal Fitoussi
    Member
    Plugin Author

    Posted 1 year ago #

    Overwhelming is not strong enough to describe it. :) i have been working around the clock specially over the past two months (after the last updated). I have been heavily working on cleaning up and improving the code, fixing lots of bugs and adding many new features. i am at the same time redoing the GEO my WP site. Giving it a new clean and shiny look, organizing the information and so on. i am trying to have this major update together with the new site ready by the new year. when done doing so i will then go back to the documentation and finish it up and hopefully start working on localization as well.

    I can probably add the ability to use multiple result pages to use with the different forms. so for example when creating a shortcode i will add a checkbox to use a unique results page. than all the admin will have to do is duplicate the results.php page and rename it results_1.php and that is the file the shortcode will upload.

    i will also think of a way to have the map displayed in one sections and the results in a different section.

    i have been also working on an ajax solution for the plugin. so instead of page reloading when running a search it will all dynamically happen.

    And if you have have themes that you can send i will be more than happy to add them to the plugin and i am pretty sure the users will be thankful as well.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.