Relation titre d'un élément et formulaire de contact

More
9 years 8 months ago #52983 by Laurentfrom47
Bonjour à tous,

serait-il possible avec un champ que lorsque qu'on clique un lien par exemple "Se renseigner sur ce produit" on arrive sur la page de formulaire de contact avec comme sujet et/ou début de message Renseignement sur "Titre de l'élément" ?

Merci.

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

More
9 years 8 months ago #52986 by ggppdk
Hello

the solution is to
1. display any contact form (from any such extension)
-- in a module position,
or
-- inside item via the "load module" field

2. then use our replacements plugin to add current item data into the fields of the contact form

e.g. add as default value of the contact for the title field:
Code:
{flexi_FIELD:6 item:current method:display}


-- to also add the id, create a text field with prefix of value
Code:
{item->id}
... or {{item->id}}
-- and set it to have default value behavior ('load instead of default')
and default value:  

The replacements plugin is not yet public, here it is:
[attachment=0:1jvm1wdy]<!-- ia0 -->flexisyspro.zip<!-- ia0 -->[/attachment:1jvm1wdy]


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Attachments:

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

More
9 years 8 months ago #52987 by ggppdk
Enable the plugin in the extension manager
and open it, click "show full description" link to see full instructions about usage and examples


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
9 years 8 months ago #52988 by Laurentfrom47
Excellent thanks but i need to create a specific field to do this ? and how integrate this with the joomla contact form ?

Sorry and thanks

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

More
9 years 8 months ago #52989 by ggppdk
Hello

as i said in the configuration of the contact form add some text that will be replace

e.g. for title field of item in current item view:
-- add default value in the configuration of the contact form:
Code:
{flexi_FIELD:6 item:current method:display}


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.431 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline