Jump to content

Information Message before the form


01generator
 Share

Recommended Posts

Hello,

I think I found the answer to this in the past but I am not able to find the answer now. 

I am developing a module and I am using the helper class for the settings. 

What I want is to show a message box like this -> the info box(blue one) before the form and it will be constant. 

Can anyone point me to the piece of code I am looking for? 

Share this post


Link to post
Share on other sites

Hehe I found a solution

Well it was easy.

Typical form generation is 

$this->fields_form[0]['form'] = array(
	'tinymce' => true,
	'legend' => array(
		'title' => 'mpla mpla',
	),
	...and goes on

Well if you add a description with in this I get the result I was looking for

e.g.

$this->fields_form[0]['form'] = array(
	'description' => $this->l('mpla description'),
	'tinymce' => true,
	'legend' => array(
		'title' => 'mpla mpla',
	),

I hope I ehlp any others and if anyone has any better solutions I am all ears :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More