Example #1
0
 public function __construct(&$params, FoxMessageBoard &$messageboard, &$fieldsbuilder)
 {
     parent::__construct($params, $messageboard, $fieldsbuilder);
     $this->Name = "FAcyMailing";
     $this->prefix = "acymailing";
 }
    echo JText::_("COM_FOXCONTACT_ADDITIONAL_SETTINGS_REQUIRED") . ' <a href="http://www.fox.ra.it/forum/22-how-to/10274-nested-modules.html">' . JText::_("COM_FOXCONTACT_SEE_DOCUMENTATION") . "</a>";
    return;
}
// Fields properties
$page_subheading = $params->get("page_subheading", "");
// Module xml
$xml = JFactory::getXML(JPATH_SITE . '/modules/' . $app->scope . "/" . $app->scope . '.xml');
$messageboard = new FoxMessageBoard();
$submitter = new FSubmitter($params, $messageboard);
$fieldsBuilder = new FieldsBuilder($params, $messageboard);
$ajax_uploader = new FAjaxUploader($params, $messageboard);
$fcaptcha = new FCaptcha($params, $messageboard);
$antispam = new FAntispam($params, $messageboard, $fieldsBuilder);
$jMessenger = new FJMessenger($params, $messageboard, $fieldsBuilder);
$DatabaseDispatcher = new DatabaseDispatcher($params, $messageboard, $fieldsBuilder);
$newsletter = new FNewsletter($params, $messageboard, $fieldsBuilder);
$acymailing = new FAcyMailing($params, $messageboard, $fieldsBuilder);
$jnews = new FJNewsSubscriber($params, $messageboard, $fieldsBuilder);
$adminMailer = new FAdminMailer($params, $messageboard, $fieldsBuilder);
$submitterMailer = new FSubmitterMailer($params, $messageboard, $fieldsBuilder);
// Build $FormText
$form_text = "";
$form_text .= $fieldsBuilder->Show();
$form_text .= $ajax_uploader->Show();
$form_text .= $acymailing->Show();
$form_text .= $jnews->Show();
$form_text .= $fcaptcha->Show();
$form_text .= $antispam->Show();
// Usually we want the submit button at the bottom
$form_text .= $submitter->Show();
// Build $TopText and $BottomText
Example #3
0
 public function __construct(&$params, FoxMessageBoard &$messageboard, &$fieldsbuilder)
 {
     parent::__construct($params, $messageboard, $fieldsbuilder);
     $this->Name = "FJNews";
     $this->prefix = "jnews";
 }