Keyword

Contact popup form in k2 item

  • Justin Place
  • Justin Place's Avatar Topic Author
  • Offline
  • Senior Member
More
10 years 9 months ago #124530 by Justin Place
Contact popup form in k2 item was created by Justin Place
Hi,

I am looking for a way to add a contact popup form to each K2 item.

I have looked on JED and there are may free and paid contact forms but dont know which would have k2 support.

If anyone could give a suggestion or maybe point me into the right direction would help greatly

Thanks!

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
10 years 9 months ago #124531 by Yiota
Replied by Yiota on topic Re: Contact popup form in k2 item
If all you need is just a form, with no fields filled in automatically with K2 information then you can do it yourself. Use the default joomla's contact component, create a menu to that form. Then get the link of that form and add it in a button on the item.php file of your K2 template overrides (read here about K2 template overrides: getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates) along with a "modal" class, check how the modal of the item's image work.

An addition to the link will be to have a different layout and not load the whole site in it so you might need to add ?template=component or ?template=raw right after the url.

Please Log in or Create an account to join the conversation.

  • Justin Place
  • Justin Place's Avatar Topic Author
  • Offline
  • Senior Member
More
10 years 9 months ago #124532 by Justin Place
Replied by Justin Place on topic Re: Contact popup form in k2 item
Hi

Thanks for the reply,

Here is the item page i have made for one of my categories:
www.borderlearning.co.za/index.php/categories/accommodation/bnb/item/114-2palms

By the General Information column, i don't want to show their email address, where the extra field value is,
But by the contact business button i just want a simple popup contact form to appear, sending the message to the emaill address specified in the email extra field value :)

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
10 years 9 months ago #124533 by Yiota
Replied by Yiota on topic Re: Contact popup form in k2 item
So you want the value of the extra field to dynamically be added to the form's submit...

I think this is something that only with a custom extension can be achieved.

Please Log in or Create an account to join the conversation.

  • Justin Place
  • Justin Place's Avatar Topic Author
  • Offline
  • Senior Member
More
10 years 9 months ago #124534 by Justin Place
Replied by Justin Place on topic Re: Contact popup form in k2 item
Yes thats correct, i dont mind paying for one,

do you think this contact form would do the job:
extensions.joomla.org/extensions/extension-specific/k2-extensions/17637

Thanks

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
10 years 9 months ago #124535 by Yiota
Replied by Yiota on topic Re: Contact popup form in k2 item
This could be used but still you need to solve the part that you need the email extra field to be taken from K2.

You could search for freelancing developers through this forum to help you out with this custom work of yours.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum