Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: An rss_google_map Hack
Here is a version with the map in the center column msd_google_map in center column
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
#14 2009-04-08 14:54:01
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Re: An rss_google_map Hack
Hi MattD
I am having problems using your plugin in the center column.
The one you made for the left column displys ok, but the one in the center doesnt show up.
Offline
Re: An rss_google_map Hack
Does the word “Map” show up? Try clicking it and see if the map displays. If not I’ll try to check it out a bit later today.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
#16 2009-04-08 15:19:15
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Re: An rss_google_map Hack
No, the map displays perfect on the leftside plugin, but not on the center version of the plugin.
By the way, I am already using custome 1 and 2 for something else, can I just change that editing the plugin?
like:
$replace2.='x = document.getElementById("custom-7").value;'."\n";
$replace2.='y = document.getElementById("custom-8").value;'."\n";
Or is there something else to do? because those 2 fields are not filling up after I click on the map.
Thanks!
Offline
Re: An rss_google_map Hack
Here is an updated version that will let you change the fields in one place.
The map displays fine on my install. Maybe there are other plugins installed that are causing an issue. Let me know what else you have installed and I can look at it more.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
#18 2009-04-08 16:15:35
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Re: An rss_google_map Hack
These are all the plugins :) sorry, too many but I am sure only a couple can be causing that, like tinymce or hide in admin…
bp_admin_library
glz_custom_fields
hak_tinymce
ied_hide_in_admin
l10n
lam_image_uploader
msd_google_map
rss_article_edit
rvm_counter
rvm_maintenance
sed_plugin_library
sed_section_fields
smd_gallery
smd_if
smd_lib
upm_image
wlk_helpful
zem_contact_lang-mlp
Thanks for updating the plugin!
It works great in the left side, the only thing is that the map frame is really small (easy change).
Maybe a cool new feature could be integrate a custom image directly in your plugin to display in the maps instead of the default googlemap icons. (maybe?)
Offline
Re: An rss_google_map Hack
Do you get a javascript error? The only one I would imagine might interfere would be hak_tinymce. Try disabling it and see if it works.
If you are getting javascript errors let me know what they are.
This is how it looks on my install and when I click the word “Map” the map is then displayed.
Last edited by MattD (2009-04-08 16:31:16)
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
#20 2009-04-08 23:29:06
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Re: An rss_google_map Hack
Hi,
Thanks for sending the image
I dont get a “Map” link
but I dont even have the “Title” or “Body” titles either.
I will check the plugins and see if something is hiding them.
This is the source of that page:
<td id="article-main"><p><input type="text" id="title" name="Title" value="" class="edit" size="40" tabindex="1" /></p>
<p><textarea id="body" name="Body" cols="55" rows="31" tabindex="2"></textarea></p>
<p><label for="excerpt">Claim</label> <a target="_blank" href="http://rpc.textpattern.com/help/?item=excerpt&language=es-es" onclick="popWin(this.href); return false;" class="pophelp">?</a><br /><textarea id="excerpt" name="Excerpt" cols="55" rows="5" tabindex="3"></textarea></p><input type="hidden" name="from_view" value="text" /></td><td id="article-tabs"> </td><td id="article-col-2">
As you can see there is no label for Title or Body, and Map doesnt even show up, they are not hiden either.
Last edited by mlarino (2009-04-08 23:40:30)
Offline
Re: An rss_google_map Hack
The plugin replaces the body label so if its missing it wouldnt work.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
#22 2009-04-14 09:53:08
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Re: An rss_google_map Hack
Hi Matt,
I dont know why my body label is missing, but is not the only textpattern instalation I have and none of them have the body label.
All of them are 4.0.6
Where should that body label be? maybe I can just write it myself.
Thanks!
Offline
Re: An rss_google_map Hack
I developed it in 4.0.7 so maybe it changed. You can replace
$find2 = '<p><label for="body">';
with
$find2 = '<p><textarea id="body"';
and it should work.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
#24 2009-04-14 14:21:36
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Re: An rss_google_map Hack
:( No, didnt work at all,
$find2 = '<p><textarea id="body"';
or
$find2 = '<p><textarea id="body">';
are not doing anything at all… any idea why this is happending?
I even replaced it with a bunch of other different labels I am seeing in the source but nothing changes…
Thanks
Last edited by mlarino (2009-04-14 14:51:16)
Offline