Jump to content

Manan

New Members
  • Posts

    6
  • Joined

  • Last visited

Manan's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Try this for your mail requiremnt <?php $to = 'nobody@example.com'; //set your email id $subject = 'the subject'; $message = 'hello'; $headers = 'From: webmaster@example.com' . "\r\n" . 'Reply-To: webmaster@example.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($to, $subject, $message, $headers); ?>
  2. I am using Joomla2.5.14 and I want to add some more server side validation like: a) Please enter your email address. (Outline email address box in red). b) Your email address is not registered with Us. (Outline email address box in red). c) Your email address is invalid. (For invalid email address which is different from registered email address - Outline email address box in red). d) Please enter your password. (Outline password box in red). e) Your password is incorrect. (Outline password box in red). in Joomla login page. For my project I have added "awoelogin" to login with email address. Can somebody guide me where to apply changes in Joomla files. I want to show error like this style (http://docs.joomla.org/Display_error_me ... nd_notices). Currently I am getting only one error. (Check my attachment) Thanks
  3. I am working on Instagram module Now I want like counts of the photos. For example I have account in Instagram and I want to know how many I likes the photos with my account. Is there any Instagram API thats help me regarding my quertion. Any ideas or suggestions? Thanks.
  4. Hello All I am generating new session value every time when page is reload. I am getting session result like this: compare_session_281,147,136 ⇒ 281,147,136 compare_session_96,46,30 ⇒ 96,46,30 compare_session_29,27,26 ⇒ 29,27,26 compare_session_281,147,136, compare_session_96,46,30 and compare_session_29,27,26 are my sessions. Now I want to concate session value like this: compare_session = 281,147,136,96,46,30,29,27,26 Any ideas or suggestion? Thanks
  5. Let’s assume that I have php mail function in my custom component. I have set mail function in components/com_cron/controller.php and I want to execute this file. My controller.php code: <?php /** * @version 1.0.0 * @package com_cronjob * @copyright Copyright (C) 2013. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ // No direct access defined('_JEXEC') or die; jimport('joomla.application.component.controller'); class CronjobController extends JController { function runCronJob(){ $to = 'xxxx@xxxxx.xx' . ', '; // subject $subject = 'Cron Job Testing'; // message $message = ' <html> <head> <title>Hello Cron Job</title> </head> <body> <p>Cron Job is runing good</p> </body> </html> '; // To send HTML mail, the Content-type header must be set $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; // Mail it mail($to, $subject, $message, $headers); } }
  6. Hello everyone I am not very familiar with Cron Job in Joomla. I have created custom component from http://www.component-creator.com/. I have created two field 1. Title and 2.Cron. Now i want to disable that title when Cron(Date field) and current date is match. I will thankful If anyone can help me. Thanks, Manan
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.