- Posts: 39
COMMUNITY FORUM
contact author about an item
- Voiceconnect Internet Solutions
-
Topic Author
- Offline
- Junior Member
Less
More
12 years 6 months ago #106766
by Voiceconnect Internet Solutions
contact author about an item was created by Voiceconnect Internet Solutions
i have had a look on the forum but could not really find a solution. i want to use k2 as a directory component and as such the an item will basically be a listing on the directory. all seems to be fine except i can not find a solution for a visitor to contact the author about a specific item or listing in my case.
so i basically want a contact form to contact the author about a specific item - any clever boys... or girls out there that could assist me with this?
so i basically want a contact form to contact the author about a specific item - any clever boys... or girls out there that could assist me with this?
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
12 years 6 months ago #106767
by william white
Replied by william white on topic Re: contact author about an item
I am sure that the title of the item and other bits of information including the author can be autopopulated into a form.
Usually that form (from a form component) gets emailed to the site owner
I am not sure if the authors email address is exposed
Usually that form (from a form component) gets emailed to the site owner
I am not sure if the authors email address is exposed
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
12 years 6 months ago #106768
by william white
Replied by william white on topic Re: contact author about an item
after looking closer, the created_by in the item gets the joomla user id
you will have to expose the email address of the user by using
$user =& JFactory::getUser(id);
and
$user->email
you will have to expose the email address of the user by using
$user =& JFactory::getUser(id);
and
$user->email
Please Log in or Create an account to join the conversation.
- Voiceconnect Internet Solutions
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 39
12 years 5 months ago #106769
by Voiceconnect Internet Solutions
Replied by Voiceconnect Internet Solutions on topic Re: contact author about an item
thanks for the reply, i am however not much of a coder and can build forms with breezing forms using the quick mode but that is about that. is there no way that you could give more info on how to do this or maybe someone else out there that might already have a solution for this. I am sure if someone can get this feature to work, there would be a lot of use of k2 as directory component because of all the other great features it have.
Please Log in or Create an account to join the conversation.
- Voiceconnect Internet Solutions
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 39
12 years 5 months ago #106770
by Voiceconnect Internet Solutions
Replied by Voiceconnect Internet Solutions on topic Re: contact author about an item
i have found a commercial plugin that does this for me if someone else would like to know.
demo.webself.it/ext25/extensions/k2contact-revolution.html
demo.webself.it/ext25/extensions/k2contact-revolution.html
Please Log in or Create an account to join the conversation.