Thanks message above the articel

migland 01 Oct, 2011
hi
on begginning I want to thanks for very usefull component and plugin chronoforms.In http://wgg.org.pl/szukasz-pomocy/jestes-pracownikiem I have prepared a form, everything work fine without 1 thing: I want to make then thanks message show above or instit of art and not below.

Is it possible? Thank a let in advance.
GreyHead 02 Oct, 2011
Hi migland,

You can do it with a Joomla! System Message if your template supports them.
<?php
$mainframe =& JFactory::getApplication();
$mainframe->enqueuemessage('Thanks for subbmitting our form.');
?>



Bob
migland 02 Oct, 2011
Thank you but where exactly paste this code? After pasting it to template file nothing change, maybe I did something wrong? I understand that is imposible to seetup this behavior in plugin settings??
GreyHead 03 Oct, 2011
Hi migland,

The code would go in ChronoForms in the On Submit After Email box in CFv3 or on a Custom Code action in the On Submit event in CFv4.

You are correct - you can't set this in the plug-in paramters.

Bob
migland 03 Oct, 2011
Hi thanks a lot; its almoust OK except 1 thing. In proportly place I have message:
Wiadomość
Dziękujemy za wysłanie formularza
Secend line its that what I wanted but how to remove first line (english "message")
thanks in advance
migland 03 Oct, 2011
Hi
thanks a lot, this solution work fin but I cant remove 1 line of messege (I thing titel "message"). In propertly place I have info:
"Wiadomość
Dziękujemy za wysłanie formularza"
Secand line its that what I wanted. But how to remove first line?
Thanks in advance
GreyHead 04 Oct, 2011
Hi migland,

I don't think that you can remove that. It's a part of the Joomla! system message. You can change it to read 'Info', 'Error', or 'Alert' I think - but not remove it. You can try checking the Joomla! docs to see if there are any other options.

Bob
migland 04 Oct, 2011
Hi
thanks a lot, I have deal with in another way, I just remove translationa ("")of word "message" and now dont appear, very very big thanks to you
This topic is locked and no more replies can be posted.