It is sad that Godaddy doesn't allow shared hosting to use 3rd party SMTP service,if you select SMTP mailer then you will get nothing but errors.But sendmail is enabled in Godaddy,now let's see the working settings in Joomla.
Mailer: select to sendmail
From mail: Your email address to send mail(only the email running on Godaddy is allowed,etc. This email address is being protected from spambots. You need JavaScript enabled to view it. )
Sendmail: Path:/usr/sbin/sendmail
SMTP Authentication: set to No
SMTP Security: set to NONE
SMTP Port: 25(In fact it can leave blank here,but Joomla deny for it)
SMTP Username: leave blank
SMTP Password: leave blank
SMTP Host: relay-hosting.secureserver.net
Sometimes you may get the error notice as "Another menu item with the same parent has this alias Error building Admin Menus" when tryING to install Joomla extensions,the extension is installed succesfully but could not find the admin menu.
The right way to solve the problem:
Firstly,uncompress the extension and open the manifest(xml file),find the menu label under <administration> as (just for example)
<menu img="..EXTENSION.png" view="items">COM_EXTENSION</menu>
remember COM_EXTENSION here.
Secondly,Login to your database,then go to the table #__menu,and try to find the line where alias named as "COM_EXTENSION" then delete.
Finally,install the extension again and every thing will be right!
When I tried to create a donate module in my website,I just paste the codes generated from paypal in Custom HTML and found the error occur when click the donate botton.I got the clue from the source code that the email address within codes was cloaked "This email address is being protected from spambots." How to avoid the unwilling protection? Here are three simple solutions:
Sometimes I just want to show some codes in my article,just like
<script language="javascript"><!-- some codes here... // --></script>
Unfortunately,the "script" was always filtered after I clicked the save button every time.I thought it was the editor (tinymce) filtered it,but the codes were still filtered even I set the default editor to None in global configuration.
Finally I found the reason,the codes were filtered by Joomla for security reason,so how to get rid of the filtering?
Go to Article Manager and click the Options then switch to Text Filters.
There is a blacklist for every group by default,set the Filters Type to No Filtering instead of Black List then save.
How to get rid of the session expire in Joomla. Joomla has added a function since 1.5 version to keep session alive while editing or creating articles,messages,managing media,etc.
The function lacated in libraries/joomla/html/html/behavior.php
If you want use the function to make your extension "keep alive",simply add
JHtml::_('behavior.keepalive');
at the beginning of the page.
See the code of the function of keepalive bellow:
/** * Keep session alive, for example, while editing or creating an article. * * @return void * @since 1.5 */ public static function keepalive() { static $loaded = false; // only load once if ($loaded) { return; } // Include mootools framework self::framework(); $config = JFactory::getConfig(); $lifetime = ($config->get('lifetime') * 60000); $refreshTime = ($lifetime <= 60000) ? 30000 : $lifetime - 60000; //refresh time is 1 minute less than the liftime assined in the configuration.php file // the longest refresh period is one hour to prevent integer overflow. if ($refreshTime > 3600000 || $refreshTime <= 0) { $refreshTime = 3600000; } $document = JFactory::getDocument(); $script = ''; $script .= 'function keepAlive() {'; $script .= ' var myAjax = new Request({method: "get", url: "index.php"}).send();'; $script .= '}'; $script .= ' window.addEvent("domready", function()'; $script .= '{ keepAlive.periodical('.$refreshTime.'); }'; $script .= ');'; $document->addScriptDeclaration($script); $loaded = true; return; }
Kee Huang
Email: This email address is being protected from spambots. You need JavaScript enabled to view it.