• Site: Directory
    Plugins: Formidable Pro
    Issue: Syntax

    My users post with formidable pro.
    Once they posted I collect the long/lat fields and they are then pulled from the entries as: [frm-field-value field_id=x user_id=current] with x being the field id which is 116.

    Here is an example of my code I am trying to display in a HTML Block on the site:

    [google-map-v3 shortcodeid=”b7fec70f2e” width=”450″ height=”450″ zoom=”12″ maptype=”roadmap” mapalign=”center” directionhint=”false” language=”default” poweredby=”false” maptypecontrol=”true” pancontrol=”true” zoomcontrol=”true” scalecontrol=”true” streetviewcontrol=”true” scrollwheelcontrol=”false” draggable=”true” tiltfourtyfive=”false” enablegeolocationmarker=”false” enablemarkerclustering=”false” addmarkermashup=”false” addmarkermashupbubble=”false”

    addmarkerlist=”[frm-field-value field_id=116 user_id=current],[frm-field-value field_id=115 user_id=current]

    {}1-default.png” bubbleautopan=”true” distanceunits=”miles” showbike=”false” showtraffic=”false” showpanoramio=”false”]

    Now, the problem I have is that the shortcode syntax bracket ] breaks the code. Making the whole thing think it should close prematurely at the first closing ] (bracket). So I need to know if there is any way to wrap this : [frm-field-value field_id=116 user_id=current],[frm-field-value field_id=115 user_id=current] without breaking the code?

    Your help is really appreciated.

    Regards,

    H

    https://www.ads-software.com/plugins/comprehensive-google-map-plugin/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Just curious if you ever got this resolved as I am also interested in using this with Formidable Pro.

    Thanks.

    I use CGMP with FP and haven’t had this problem. Here’s an example of my shortcode:

    [google-map-v3 shortcodeid=”123098797435987435092-98475-32457234587″ width=”938″ height=”350″ zoom=”14″ maptype=”roadmap” mapalign=”center” directionhint=”false” language=”english” poweredby=”false” maptypecontrol=”true” pancontrol=”false” zoomcontrol=”true” scalecontrol=”true” streetviewcontrol=”false” scrollwheelcontrol=”true” draggable=”true” tiltfourtyfive=”false” enablegeolocationmarker=”true” enablemarkerclustering=”false” addmarkermashup=”false” addmarkermashupbubble=”false” addmarkerlist=”[if 361][361] [/if 361][if 362][362], [/if 362][if 363][363][/if 363]{}1-default.png{}[85]” bubbleautopan=”true” distanceunits=”miles” showbike=”false” showtraffic=”false” showpanoramio=”false”]

    I don’t think the problem is coming from either plugin because I’ve always understood that WP processes shortcodes from the inside out. Maybe the syntax is off and you’re not spotting it?

    In the OP’s shortcode they are missing a double quote after the Formidable Pro shortcodes to close out the addmarkerlist parameter.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Using it with Formidable Pro’ is closed to new replies.