WordPress.org

Ready to get started?Download WordPress

Forums

Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)
[Plugin: Leaflet Maps Marker] Specifiec formatted Content (11 posts)

  1. Yattaa
    Member
    Posted 2 years ago #

    Hey dude,

    i really appreciate your plugin. But i need an addional feature and i'm just wondering if it is easy to add to the plugin.

    Question: Is it possible to show specific formatted information in bubbles (in map) and in the list (with all places)?

    What i need is not a single textarea, but input fields, and the input fields are saved in different cells of db, so i get relevant information easily out of database, without doing a lot of string manipluation to separate information.

    For example:
    Leader: Firstname(string) Lastname(string), Phone(string), Email(string)
    Co-Leader: Firstname(string) Lastname(string), Phone(string), Email(string)
    Website: url(string)
    Facebook: fb-url(string)
    Meeting: We meet every thursday in blbla at blubblub.(textarea-string)

    (string) = short information written in input field
    (textarea-string) = text written in textarea

    ----
    And i easily change output format, without editing ~160 entries, but just change one single part of the script...

    So, is it possible for me? Is it just to activate custom fields in your post type and change output..?

    Output could maybe be similar to: http://wordpress.org/extend/plugins/companion-map/screenshots/

    cu
    yaattaa

    http://wordpress.org/extend/plugins/leaflet-maps-marker/

  2. RobertHarm
    Member
    Plugin Author

    Posted 2 years ago #

    Hi yaattaa,
    thanks for your feedback (a rating on wordpress.org would also be very nice ;-)

    ad custom fields: currently not possible but a good idea for further develop the plugin into a full-featured geo-cms. custom post types for maps will probably developed by a friend over the summer - perhaps he can take into account your considerations too.
    regards,
    Robert

  3. Yattaa
    Member
    Posted 2 years ago #

    Hi Robert,

    may you can give me a website/link to the projekt etc. of your friend?

    rating .done

    regards,
    yattaa

  4. RobertHarm
    Member
    Plugin Author

    Posted 2 years ago #

    I dont have a link yet - we currently just talked via email about this...

  5. Yattaa
    Member
    Posted 2 years ago #

    Do you know what he's planning exactly? He's doing it? How much time will it need?

  6. RobertHarm
    Member
    Plugin Author

    Posted 2 years ago #

    not really, sorry

  7. Andrexj
    Member
    Posted 2 years ago #

    Hi Yattaa
    I've been doing custom fields to add content in the cloud.
    you have to edit a file leaflet-marker.php
    Instead starndartnogo input field
    add Input

    my example

    <td>

    <span id='span_swf'>HDD:<input type="text" class="url_swf" id="popuptext1" name="popuptext1" value="" /> <input type="hidden" class="url_swf1" id="popuptext" name="popuptext" value="" /><span id="error"></span></span>

    <div id="result_load"></div>
    <input type="submit" id="sub_swf" style="display:none;"/>

    </td>

  8. RobertHarm
    Member
    Plugin Author

    Posted 2 years ago #

    thanks for the tip - I will take a look into this

  9. RobertHarm
    Member
    Plugin Author

    Posted 2 years ago #

    I dont quite understand your example - can you please post the full content of your leaflet-marker.php somewhere?

  10. Andrexj
    Member
    Posted 2 years ago #

    no problem
    http://all3d.com.ua/w1/wp-content/uploads/2012/08/leaflet-marker.rar

    but it is in my example
    the input field - for reference focused on specific files

  11. RobertHarm
    Member
    Plugin Author

    Posted 2 years ago #

    thanks - I think I understand what you´re doing. Problem is only if I understand your approach right, that you are using the default marker database field for popuptext to save your info. I think a better approach would be to use custom fields but that would require another solution...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic