- Posts: 6
- Thank you received: 0
Category name
- ankan
- Topic Author
- Offline
- New Member
-
Less
More
12 years 9 months ago #17634
by ankan
Category name was created by ankan
Hi!
I wonder if I can get the category name in Admin email body, User email body and so on?
I tried to apply [CATEGORY_NAME] without success, so.. Is this possible?
I wonder if I can get the category name in Admin email body, User email body and so on?
I tried to apply [CATEGORY_NAME] without success, so.. Is this possible?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
12 years 9 months ago #17649
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Category name
Hi
Right now, it is not possible to use [CATEGORY_NAME] tag in the admin email. This tag is not supported, so you cannot use it unless you editing the code . If you know programming, you can modify sendEmails function in components/com_eventbooking/helper/helper.php to enable this tag.
Regards,
Tuan
Right now, it is not possible to use [CATEGORY_NAME] tag in the admin email. This tag is not supported, so you cannot use it unless you editing the code . If you know programming, you can modify sendEmails function in components/com_eventbooking/helper/helper.php to enable this tag.
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- ankan
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
12 years 9 months ago #17670
by ankan
Replied by ankan on topic Re: Category name
I gues its more difficult then add this:
under //Supported tags
$replaces = $event->category ;
?
Anyone that have a solution to this?
under //Supported tags
$replaces = $event->category ;
?
Anyone that have a solution to this?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
12 years 9 months ago #17677
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Category name
It is more difficult than that, so your code is incorrect. I edited the code alitle (please note this change won't be added to latest release), so you can get this file below, unzip it, get the file and upload to components/com_eventbooking/helper folder. After that, you will be able to use the [CATEGORY_NAME] tag in the messages.
Regards,
Tuan
Regards,
Tuan
Attachments:
The following user(s) said Thank You: lukashajek
Please Log in or Create an account to join the conversation.
- lukashajek
- Offline
- Junior Member
-
Less
More
- Posts: 30
- Thank you received: 0
12 years 5 months ago - 12 years 5 months ago #22218
by lukashajek
Replied by lukashajek on topic Re: Category name
This is cool feature, I have been missing. But should it work for all messages or just for emails? I have tried that and it doesnt work for registration and confirmation messages.
Can I just copy/paste some lines from function sendEmails to other functions?
Thank you.
Can I just copy/paste some lines from function sendEmails to other functions?
Thank you.
Last edit: 12 years 5 months ago by lukashajek.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
12 years 5 months ago #22290
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Category name
Hi
The modification only works for email messages. It doesn't work for other messages .
Tuan
The modification only works for email messages. It doesn't work for other messages .
Tuan
The following user(s) said Thank You: lukashajek
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.