|
Written by Mike Reumer
|
|
Tuesday, 12 June 2007 23:48 |
|
You can place the {mosmap} inside the content of article. Doesn't need to be in the html of the content.
Check the following parts:
- Check at the parameters of the plugin if the parameter published (on right side) is Yes.
This parameter is default 'No'. The parameter is necessary so we can remove the {mosmap} code if you want the plugin to be unpublished.
- The preview in the backend won't show the map, because the plugin isn't called. You will see the code {mosmap} in the preview.
- Check the html of the content item so there are no < br> or & nbsp; between { } or in the html a return.
If you work with pure html code, be sure that there isn't any " \r\n " tags in the mosmap string between { } in your database code. Place it at the start of a line. The plugin works for one line!
- In the text parameter don't use (double) quotes in html-tags.
- The plugin doesn't work correctly with the WYSIWYG editor JCE, because JCE doesn't place the code in one line and translates quotes and other special characters.
For JCE have a look into your setup-Section under Joomla-Admin-Backend Components]-[JCE-Admin]-[JCE-Configuration] in Section [Entity Encoding]. There are the possible options [Numeric], [Named], [RAW]. Try the option and see what's working bet for the plugin. But pay Attention: If you work with other Authors or Publisher, you maybe in trouble with some of Features, or Plugins by JCE.
- Validate your page to see if it's valid html (see: http://validator.w3.org)
- Place in your template all <meta> entities directly behind the <head> together.
- Also check the css-file of your template and if it exists remove the following:
div { overflow:hidden; }
- If you get a message the the Google API key isn't valid, check the URL of the websiteby by entering: "javascript:alert('http://'+window.location.host)" in the addressfield of your browser.Check if this is the same as registred or as referer defined.
- If you have special characters in your IDN-domain then the key for google maps will not work allright. See Issue 12 of GMaps API.
For example: www.østerhøj.dk won't work.
You can use Firefox with Firebug to inspect the styling on the specific object on the page to see what styling interferes with the corners.
Or you must debug your template by:
- Save the source of your page (generated by joomla) as a html page
- Now you can edit it and open it in a browser.
- Maybe you need to add a <base href="/www.yourdomain.com" /> when design is not allright or javascript and image are not found.
- Step by step remove javascript to see if problem disappear.
- If you found the right javascript check if you really need it otherwise try to solve the problem.
- If not found the problem remove the one by one the link to css files.
- If you found the right css-file then you have to debug this and remove one by one the defined styles to see if the problem disappear.
|
|
Last Updated on Saturday, 31 December 2011 13:38 |