Using widgetkit map (external component by yootheme) in joomla 2.5, joomla detect when I insert an email address and give me this error
This email address is being protected from spambots. You need JavaScript enabled to view it.
Javascript obviously is enabled.
do you have the plugin Content - Email Cloaking active ?
Disable it and everything should be fine.
If you're a programmer or webdesigner, you should look for any JavaScript error messages with a tool of your choice, which will help you to identify the problem.
There are several possible causes. Here are two of them:
Sometimes, a content plugin interferres with the tags or output of
another plugin. Obviously, the email cloak plugin is called and
executed correctly (thus the message), but the JavaScript to display
the email address seems to be corrupted. You could try to re-order
the plugins, so that the email cloak plugin is executed after all
3rd party (i.e., not default Joomla) plugins.
A JavaScript library is not loaded. This often happens in
conjunction with templates. To check this, switch your installation
to a standard template (e.g. Beez2). If the problem vanishes,
correct your template.
You can solve this in three ways.
Email Cloaking plugin Disable.
While using custom Module Prepare content Disable.
Using Place holders to fix the issue on particular article.
For more about Joomla spambots error
Hope its helps someone.
Related
how to remove this type of warnings in wordpress blog in console debug page A Parser-blocking, cross site (i.e. different eTLD+1) script wordpress
check attached image , how can i remove this warnings?
There is not so much detail but I am assuming that you are embedding Google Publisher tags script into your website.
You probably are using some old embed method for GPT which uses document.write as its basis and therefore causes this error.
What you need to do is to use newer embed method like asynchronous one.
Here you can find more information
https://support.google.com/dfp_premium/answer/1638622?hl=en&ref_topic=4389931
On one of the sites i need to do some changes on for a client i am having trouble finding something.
On the standard Joomla 3 registration system a custom field was added to the form, but that form does not email to the admin when someone registers, please can someone point me in the correct direction on where i can make that field be sent in the email.
I have looks on quite a few pages on the net but have not come right with any of the answers that i found. I have also tried going to most of the php files to see if i cant find something but i am not having much luck.
Unfortunately that email is hard coded; it is really a legacy from Joomla 1.0. What you would probably want to do is turn off the core notification system and instead use a plugin that would be triggered with the onUserAfterSave event and use similar code to what is in the core. You will find that in the activate($token) method in the frontend registration model for com_users.
The plugins/user/joomla plugin gives an example of how to build an email, bit in your case you would want to build it when the user is created in the site application (isSite() == true). You can also look at the contactcreator plugin in the same folder; it also uses the onUserAfterSave event.
Normal when i try to customise WP style i would use inspector view in Chrome and this would allow me to locate style code easily.
i was wondering how i can do the same for HTML or PHP code in WP such as plugins and the CMS it self?
Thank you
PHP is server side code and can't be found in the browser. If you want to see the code for WP plugins then you'll need to either download the plugin to your local machine or view the files on the server hosting WP.
Iassume you run it on your own root-/ webserver,...
so if you want to add HTML Elements to a post or site just do it in the text few like you would in an HTML-Editor like for some link thing for instance (you should allready know that..'pretty shure it also works for js).
However if you want to customize the way every page on your blog looks, you can also do this manually, but it won't be as easy.
There should be a section under the theme customization part where you could upload your own css and php (at least with a lot of styles it's like that).
I WOULD NOT mess with the files on your server, if you don't know what you are doin, cause - to be honest - you can make a great blog/ website by using the tools it gives to you. ;)
I recommend using the stylesheet from your wordpress theme for a custom HTML-document based on the source of a blog page, if you go for the looks... and in every other case just use plugins! :P
I've been assigned to create a captcha verification for a custom component in joomla, but I'm stuck at how to do it properly.
I'm aware of the fact that there are many captcha plugins like recaptcha available but I am required to use a custom captcha created by the company.
It saves the image text in a session and creates the image in a component so calling index.php?option=com_captcha directly in the browser will output a captcha image.
The problem is that I'm completely new to joomla and can't seem to find a proper way to create code that could be reused through out the system. I tried to do this by creating a module that would call the captcha component, then do the logic and check if captcha was correct.
The problem I faced with doing this was the fact that I couldn't find a way to pass variables to my module, thus I couldn't pass the session variable that's required by captcha component.
I've looked at plugins but I'm not sure that you can call a plugin directly from a component.
I'm currently stumped and got no ideas which direction to go to and what to search for. Any help will be appreciated, thanks.
You don't mention your Joomla! version but if it's 1.6+ why not use a captcha plugin?
Then any third party extension can use it automatically if you set it as the sites default captcha mechanism.
Plugins are also a lot easier to write than a component... captcha plugins only have a few required methods — onInit($id), onDisplay($name, $id, $class) and onCheckAnswer($code)
Hey, I'm quite new to Drupal and am having some issues with implementing a node form on the front page of the site.
I want to have a really simple quick post form on the users front page when they are logged in, just a few fields and a submit button, no advanced options or anything.
Is there a really simple way to do this by placing some php in the front-page.tpl.php file?
I think what you are looking for is http://drupal.org/project/webformblock. (also requires the webform module)
Create a region on the front page and just put this block in it. You can set options in the block to only appear on the front page.
Or you could just invoke the block directly in the tpl.php file.
http://drupal.org/node/26502
Yes and no. This is not the drupal way of doing things- although you COULD make it work this way.
If you are looking for a simple solution, try a module like webform and put it on the front page. You can do this by either creating a page and setting it as the front page (under site information in the admin menu), or by creating a block, putting it in the 'content top' region of your theme, and in the configure block setting it only to display on (a special keyword that means frontpage).
Hope this helps!
Chris.
If your login goes to the /user page you can use the webformblock module (http://drupal.org/project/webformblock) to configure a Webform to only show up on the "user" page under site building > blocks > configure (next the the webform block). You can also check the option there to only show the block for authenticated users or another role of your choice.
You do not want to create a form without going through Drupal's form API, as you lose a lot of security features and there are many tools out there already that make it easy to generate and maintain forms through the Drupal interface. As the above answers suggest, webform is the Drupal way to create quick forms. And I think you will love the interface.
http://drupal.org/project/webform
Thanks for all your help guys. I tried the webformblock module and whilst it did fit the bill, it required me to create a new content type (maybe I wasn't using it right?).
In the end, after searching I found the Form Block module http://drupal.org/project/formblock which fitted my needs perfectly. It can be configured for existing content types really easily.