VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me

How can I assign an item id to a contact form?
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: How can I assign an item id to a contact form?

How can I assign an item id to a contact form? 24 Jun 2019 15:47 #11628

Hello!

I was wondering if it is possible to assign an item's id to a contact form. For example, unregistered user is browsing the site and he wants to ask via email a specific question regarding a specific item.

I see it in two ways:
- either to edit "Email this link to a friend" to a contact form
- or to add a button which opens the contact us form and add the link of the item in the message body..

Can you help, please?
Last Edit: 24 Jun 2019 15:49 by Strunz. Reason: typing error

  • Posts:2
  • Strunz
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: How can I assign an item id to a contact form? 26 Jun 2019 02:46 #11634

Hello,
You can use comment form at the bottom of item to send a question.

joomfreak

  • Posts:2835
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: How can I assign an item id to a contact form? 26 Jun 2019 11:49 #11636

Yes, but I want to keep the comment form too and I cannot use it twice.

I managed it by adding some code in the following :

/templates/jf_creativia/html/com_k2/jf_creativia/item.php
/templates/jf_creativia/html/com_contact/contact/default_form.php

  • Posts:2
  • Strunz
  • Fresh Boarder
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
Time to create page: 0.82 seconds
Saturday 14 December 2019

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.