Jump to content

Archived

This topic is now archived and is closed to further replies.

MobileParity

DMS 2 Map Shortcode

Recommended Posts

MobileParity+    0
MobileParity

Hello all,

 

I am testing DMS 2 on Flywheel. I added the DMS 1.x shortcode syntax for a Google Map however it is not rendering on the screen. I only see the actual shortcode. I have use the sections for Text Box, Post Loop, and Media Box however the shortcode still will not work. Do I have to use DMS 2 Pro in order to use the Google Map functionality?

 

See the image here: http://screencast.com/t/jm3i9JIQwj

 

Regards,

 

AG

Share this post


Link to post
Share on other sites
GetMeWebDesign+    115
GetMeWebDesign

Shortcode wont render in a textbox ... which is for text. However, that shortcode works for both Mediabox and when added within a post for post link. Not sure whether this isnt available for the free version. However, if it isnt, just emebd a Google map?

 

Looking at the image, it looks as if you have you have pasted incorrectly. Make sure you either paste as plain text or into something like Notepad to ensure you are not pasting this:

 

<ol class="linenums">
<li class="L0" style="color: #bebec5;"><code class="html" style="color: inherit;"><span class="pun" style="color: #93a1a1;">[</span><span class="pln" style="color: #48484c;">googlemap width</span><span class="pun" style="color: #93a1a1;">=</span><span class="str" style="color: #dd1144;">"100%"</span><span class="pln" style="color: #48484c;"> height</span><span class="pun" style="color: #93a1a1;">=</span><span class="str" style="color: #dd1144;">"300"</span><span class="pln" style="color: #48484c;"> address</span><span class="pun" style="color: #93a1a1;">=</span><span class="str" style="color: #dd1144;">"San Francisco,CA"</span><span class="pun" style="color: #93a1a1;">]</span></code></li>
</ol>

Chrome Developer tools - please use them. If you are not sure how, then it is easy to learn

Be inventive in your keyword search of the forum ie Navi > Navbar > menu > tabs > font > color. Your answer lies there somewhere!

Share this post


Link to post
Share on other sites
MobileParity+    0
MobileParity

Thanks for the help, however its still not working. I have also used the Text Box to enter short codes with DMS 1x. Not sure what could be the problem.

Share this post


Link to post
Share on other sites
GetMeWebDesign+    115
GetMeWebDesign
  1. [googlemap width="100%" height="300" address="San Francisco,CA"]

 

Above is what it looks like in the screenshot. Please check you are adding just the shortcode. It definitely looks as if you are pasting in correctly. Have you tried pasting Google map embed. If that isnt working then you have a bug. Paste this into a mediabox or within the text/html of a post:

 

<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d100940.14245968236!2d-122.43759999999999!3d37.75769999999999!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x80859a6d00690021%3A0x4a501367f076adff!2sSan+Francisco%2C+CA!5e0!3m2!1sen!2s!4v1401778184189" width="600" height="450" frameborder="0" style="border:0"></iframe>


Chrome Developer tools - please use them. If you are not sure how, then it is easy to learn

Be inventive in your keyword search of the forum ie Navi > Navbar > menu > tabs > font > color. Your answer lies there somewhere!

Share this post


Link to post
Share on other sites
MobileParity+    0
MobileParity

I took your advice and pasted the shortcode into Notepad first however it still does not work. However the iframe embed you provided works just fine in the Media Box and text/html of the post. I'm now just curious as to why the shortcode does not work as I would rather use a shortcode than using this method to embed a map every time. Thanks for the help!

Share this post


Link to post
Share on other sites
GetMeWebDesign+    115
GetMeWebDesign

Really need one of the Moderators to look at this. Do you have a link to the site you are testing with? First things first. All plugins, with the exception of the pagelines plugins should be deactivated and any custom CSS you have added removed. Assuming you have done this already, do other shortcodes, for instance buttons, youtube etc work, or is it just this google maps shortcode that is failing?


Chrome Developer tools - please use them. If you are not sure how, then it is easy to learn

Be inventive in your keyword search of the forum ie Navi > Navbar > menu > tabs > font > color. Your answer lies there somewhere!

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

You should not use the TextBox section for shortcodes, that section is supposed to be used for text and nothing more. If you want to use shortcodes, HTML then you will want to use either a MediaBox section or the NextBox section (club only).

 

In my image below you can see that I have simply copied and pasted the code provided above by GetMeWebDesign into a MediaBox HTML textarea and the code worked just fine.

 

https://cloudup.com/c6KQBhProMV


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
MobileParity+    0
MobileParity

Right on, I appreciate the feedback. Once I go Pro/Club I will check out the NextBox

Share this post


Link to post
Share on other sites
GetMeWebDesign+    115
GetMeWebDesign

MobileParity Something isnt quite right if the shortcode wont work. after all it is just shortcode for the longer Google embed code. It should work in the WP Loop etc. I am not saying your issue is related, but you might want to follow this topic http://forum.pagelines.com/topic/35313-shortcode-not-working-dms2/#entry209824


Chrome Developer tools - please use them. If you are not sure how, then it is easy to learn

Be inventive in your keyword search of the forum ie Navi > Navbar > menu > tabs > font > color. Your answer lies there somewhere!

Share this post


Link to post
Share on other sites

  • Similar Content

    • bnapoli
      By bnapoli+
      On my site www.anewbeginning.com the "toggle" function mysteriously stopped working.  I have tried all browsers, tried disabling plugins, removing all the relevant CSS but still cant understand why it isn't working.
      The toggle is placed on this page: http://anewbeginning.com/?page_id=15965 and http://anewbeginning.com/?page_id=10779 but it does not display.
      On my other Platform5 websites, that exact code works fine: see here http://4aa.d11.myftpupload.com/?page_id=123
      Code is the same. Please help, thank you!
    • micstepl
      By micstepl+
      Pagelines seems to "disallow" the (a) usage and/or (display) of shortcodes.
      Specifically I need shortcodes in "description" of "tag/catagory" in order to display images/fontawsome, before a category.
      Please can you provide a fix for me to allow. 
    • mrhinsh
      By mrhinsh
      Guys,
       The ProPricing plugin does not seam to render shortcodes.

       
      I am using WP-Types, and as you can see the shortcode is rendered in the "Elements" but not in the "ProPricing".
      Can we get a fix?
    • micstepl
      By micstepl+
      @Simon I do have an urgent request for a client Projekt. After migrating (before it worked) my site to anpother Server I get problems will all ShortCode Sections.
      See this Problem here: http://www.baumeister-scheidl.at/map-try
      thanks in advance!
      Maybe ist a User (MY) fault.
    • globalnative
      By globalnative+
      Hi everyone
      I used to love the Pagelines DMS shortcodes for creating tabs and accordians. 
      It doesn't seem to work in this version of pagelines 5?
      Is there another way to get that functional?
      Thank you kindly
      Nate
×