\"Could not instantiate mail function\"
- DocChicago
-
- Offline
- KISS Programmer-in-Chief
-
The \'Contact\' button cannot be removed by settings, only by changing the code of the function \'getNavigationBar\' in the frontend file \'ksadvertiser.php\'.
Goto function getNavigationBar, and search for the following
case \'contact\':
$buttontext = JText::_(\'Contact\');
$link = JRoute::_(\'index.php?option=\' . $option . $linkItemid . \'&task=contact&id=\'.$row->id);
$img = JRoute::_($live_site.DS.\'components\'.DS.$option.DS.\'images\' . DS . \'icon-16-email.png\');
$msg = JText::_(\'TT Contact\');
$navbar .=\'<li><a href=\"\'.$link.\'\" \'.$warnmessage.\' title=\"\'.$msg.\'\"> <img src=\\\'\'.$img.\'\\\' border=\"0\" /> \'.$buttontext.\' </a></li>\';
...
$navbar .=\'<li><a href=\"\'.$link.\'\" \'.$warnmessage.\' title=\"\'.$msg.\'\"> <img src=\\\'\'.$img.\'\\\' border=\"0\" /> \'.$buttontext.\' </a></li>\';
//$navbar .=\'<li><a href=\"\'.$link.\'\" \'.$warnmessage.\' title=\"\'.$msg.\'\"> <img src=\\\'\'.$img.\'\\\' border=\"0\" /> \'.$buttontext.\' </a></li>\';
Ob ein Glas halb voll oder halb leer ist, ist mir egal. Hauptsache meine Zähne passen rein.
No matter whether a glass is half full or half empty - as long as my teeth fit in.
Please Log in or Create an account to join the conversation.
OK, I\'ve solved this by installing UddeIM which is incorporated by KSadvertiser seamlessly!
So, how an I remove the \'contact\' menu item in the component as it is now not required?
Cheers
Granular
Please Log in or Create an account to join the conversation.
Hi Doc et al,
I\'m just working with the latest advertiser (1.5.66) and Joomla 1.5.
I am getting system emails via Joomla for new registrations, both to the user adddress and admin.
But if I attempt to \'Contact the Advertiser\' I get the error message \"Could not instantiate mail function.\" but this shows above the message \"Your message has been sent.\" which is very confusing.
No email ever arrives, except one to admin with the new ad details on ad creation. Which suggests KSadvertiser is able to send mail.
Has anyone else found this?
Cheers
Granular
Please Log in or Create an account to join the conversation.