error_reporting(E_ALL);
ini_set("display_errors", 1);
include("function.php");
Sunday, April 30, 2017
Saturday, April 29, 2017
SMTP connect() failed Solution: change to $mail->isMail() instead of isSMTP()
SMTP connect() failed Solution: change to $mail->isMail() instead of isSMTP()
ob_start to include file
ob_start ();
include 'email_template/'.$pdf_card[$choose_template];
$output = ob_get_contents ();
ob_end_clean ();
include 'email_template/'.$pdf_card[$choose_template];
$output = ob_get_contents ();
ob_end_clean ();
Thursday, April 27, 2017
- 1. Log into your Joomla 3.0 administrative dashboard
- 2. In the top menu, click Extensions and then click Template Manager
- 3. In the tabs at the top of the page, click the Options tab
- 4. Under the Templates tab, find the following setting:
Preview Module Positions
Enable the preview of the module positions in the template by appending tp=1 to the web address. Also enables the Preview button in the list of templates. Please refresh the page after changing this setting.
Click Enabled next to this option, and then click the Save & Close button at the top of the page. - 5. Once again, in the top menu, click Extensions and then click Template Manager
- 6. Now that we have the Preview Module Positions setting enabled, you will see a preview icon next to your Site Templates. Click the preview icon next to the template you would like to view.
- 7. After clicking the preview icon, you'll see a new window appear that looks similar to the below (we are previewing the prostart template):
As you can see in the screenshot above, the red arrow points to position-7. If you wanted a module to show in this position, you would assign the module to position-7.
Tuesday, April 4, 2017
Subscribe to:
Posts (Atom)