Welcome, Guest
Username: Password: Remember me

TOPIC: [How to] Integrate Email notification

[How to] Integrate Email notification 12 Mar 2013 19:32 #6935

  • Meyerchen
  • Meyerchen's Avatar
  • Offline
  • New Member
  • Posts: 5
  • Thank you received: 1
  • Karma: 0
Hello Cooks,

I have the need for Email Notification if some new records will be saved.

Mail should be contain all record data.

How can I include this function?


Best regards,
Sandro
The administrator has disabled public write access.

Re: [How to] Integrate Email notification 16 Mar 2013 11:37 #6954

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
  • Karma: 30
Hello,
You should search the forum man ;-)

www.j-cook.pro/forum/14-news-a-chillout/...l-after-saving-#6822

Hope it helps,
V.
The administrator has disabled public write access.

Re: [How to] Integrate Email notification 19 Mar 2013 17:51 #6979

  • Meyerchen
  • Meyerchen's Avatar
  • Offline
  • New Member
  • Posts: 5
  • Thank you received: 1
  • Karma: 0
Thanks for the tip, I searched the forum but I have not found a useful answer.

The described solution (your link) doesn't help, I'm using jquery.


Best regards,
Sandro
The administrator has disabled public write access.

Re: [How to] Integrate Email notification 19 Mar 2013 18:37 #6980

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
  • Karma: 30
It works with whatever, because it's Jcook native stuff.
Unless i'm not understanding exactly what you're trying to do.
The administrator has disabled public write access.

Re: [How to] Integrate Email notification 20 Mar 2013 17:28 #6985

  • Meyerchen
  • Meyerchen's Avatar
  • Offline
  • New Member
  • Posts: 5
  • Thank you received: 1
  • Karma: 0
OK, let me explain.

My component is a database to collect church-book entries about foreign persons.
What I need:
If anyone (including guest) creates a new entry, I want to be informed by email with the entire contents of the new record set.

By the way. I have tested the code but it doesn't work.
I put the code as described to "administrator/components/name_of_my_component/tables/name_of_table.php"
but after saving the component doesn't work anymore.

Regards,
Sandro
The administrator has disabled public write access.

Re: [How to] Integrate Email notification 20 Mar 2013 18:51 #6986

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
  • Karma: 30
Are DB automatisms set to Table in the builder's config tab ?
Do you add the code at the bottom ?
The administrator has disabled public write access.

Re: [How to] Integrate Email notification 22 Mar 2013 15:22 #6995

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
VeCrea wrote:
Are DB automatisms set to Table in the builder's config tab ?
Do you add the code at the bottom ?
I don't think that it'll matter since the table->store() will always be called no matter where your wizards are instanced.

@Meyerchen

Can you dump the contents in the store method? Either var_dump(); or print_r(); on your $data...

Are you calling parent::store(); in this method?

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.
Time to create page: 0.083 seconds

Get Started