• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: mapping plugin - merge two fields into one article

mapping plugin - merge two fields into one article 15 years 1 week ago #7304

  • strgg
  • strgg's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
Hi

i would like to achieve this:

field 1: textarea
field 2: graphicupload1
field 3: graphicupload2
field 4: name (textfield)
field 5: city (textfield)

merging all this into a joomla article automaticly.

if you already know-how or would like to take the challenge ...
i consider donating for this.

is help regarding this granted if i purchase 2 more licenses?

thanks,

drazen
:woohoo:
The administrator has disabled public write access.

Re:mapping plugin - merge two fields into one article 15 years 1 week ago #7315

  • bogdanc
  • bogdanc's Avatar
  • OFFLINE
  • Moderator
  • Posts: 669
  • Thank you received: 11
Hello Drazen,

you should paste this code in the Script called after form process:
$article_text = $_POST['form']['field1']."<br/>".$_POST['form']['field2'];//so on add all the fields
$db=JFactory::getDBO();
$db->setQuery("INSERT INTO #__content (title,fulltext) VALUES ('some article','".$article_text."')");
$db->query();
Last Edit: 15 years 1 week ago by bogdanc.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!