Recent Topics

1 Aug 30, 2007 23:49    

My b2evolution Version: Not Entered

Hi all.

Althoug this method is not complete as the plugin that personman is working, I think that it could be useful.

This week, google announced a new feature no google maps: if you want to embed a map in yout blog, just access the map, click on 'create link to this page', get the html code and copy/paste on your cms. But the generated code uses the iframe tag. Iframe tag is not allowed in b2evolution. Ouch.

A exemple of generated code:

<iframe width="425" height="350" frameborder="no" scrolling="no" marginheight="0" marginwidth="0" src=",-95.677068&output=embed&s=AARTsJqzARj-Z8VnW5pkPMLMmZbqrJcYpw"></iframe><br/><a href=",-95.677068&source=embed" style="color:#0000FF;text-align:left;font-size:small">Exibir mapa ampliado</a>

I have write a little plugin that justs allows the iframe tag. With the setting of $posts_allow_css_tweaks, it's easy to embed a map.

- Walter

2 Aug 30, 2007 23:50

Just one more thing: $posts_allow_css_tweaks requires 1.10.2 :D

3 Sep 03, 2007 22:25

I installed your plugin and changed post_allow_css_tweaks to true in conf/_config.php , but still no luck. Anything else I need to do?


4 Sep 03, 2007 22:43

What message does b2evo display when you try to post something with a map?

5 Sep 03, 2007 22:48

wow fast reply! I was just getting ready to post again that it was my stupidity that was causing it to fail! :) "preview" doesn't work, but "save" does, and that is all that matters.

Thanks very much for the plugin, I need those maps!

6 Sep 04, 2007 01:17

Just confirming that $posts_allow_css_tweaks is in conf/_formatting.php for version 1.10.2?

7 Sep 04, 2007 01:37

Yup, conf/_formatting.php for v 1.10.2

8 Sep 04, 2007 02:05

Walter wrote:

Just one more thing: $posts_allow_css_tweaks requires 1.10.2 :D

The variable does not depend on anything outside the file (../blogs/conf/_formatting.php) so if you have 1.9.3 or even 1.8.7 installed you may get away with borrowing a _formatting.php from a 1.10.2 download and use this file instead.
Mind you, I haven't tested this, so keep the old file as backup.

Good luck

9 Dec 09, 2007 19:51

Walter, any chance you can point me to the plugin you referenced in your initial post on this thread? Thanks.

10 Jan 14, 2008 19:39

Hey, sorry to reopen an old thread but I could also use this plugin. Still running 1.10.2 :)

Form is loading...

Secure CMS – This forum is powered by b2evolution CMS, a complete engine for your website.