Twitter
how to display message in edit form PDF Send Print
Monday, 06 June 2011
StatusIcon Status On Hold
PriorityIcon Priority Normal

hello

can you tell me how i can display a message in edit form template please? example : message "how fill these fields"

thank you

clowrideAvatar
clowride VIP
Replies: 10
Hits: 597


Comments
KaterinaAvatar
Quote
- -
Written by Katerina STAFF on 07 Jun 2011

Hello!

The template of this form can be edited in \components\com_resource\views\article\tmpl\form_articleform_default.php or you need any other template that is installed on the site. 

If you need more information please ask.

Regards

-
maikkauneAvatar
Quote
- -
Written by maikkaune VIP on 07 Jun 2011

Do you mean a common message displayed in the joomla system message style? Or display a simple text hint for every field?

The latter is possible with the field's description parameter:

YOURfield -> Layout -> Description

It will output your text in a SPAN CLASS "small". I remember there was a Resources template, where this description field was displayed in a ToolTip... Sorry, I can´t recall it at the moment.

 

 

 

 

-
clowrideAvatar
Quote
- -
Written by clowride VIP on 07 Jun 2011

thank you i need to display a message like a joomla system message style i mean

when user submit an article, he can see a message (example : you have to fill all field, ect...)

thank you very much

-
maikkauneAvatar
Quote
- -
Written by maikkaune VIP on 07 Jun 2011

I see. But isn´t it done already by setting the field as "required" ?!

YOURfield -> General -> Required

-
clowrideAvatar
Quote
- -
Written by clowride VIP on 07 Jun 2011

yes but i would like to display some informations 

thank you

-
maikkauneAvatar
Quote
- -
Written by maikkaune VIP on 07 Jun 2011

I would suggest to use the Decription field for "input help and hints".

I don´t know exactly how the joomla message system is triggered on ME submission... checkout:

com_resource/views/article/tmpl/form.php

There is the common check for "required"... maybe you have to add your special fields there?! But its a core hack... maybe it is possible to do something similar in the custom article form template...

 

-
clowrideAvatar
Quote
- -
Written by clowride VIP on 07 Jun 2011

ok thank you veru much for your help

-
maikkauneAvatar
Quote
- -
Written by maikkaune VIP on 07 Jun 2011

Would be nice to see how it turns out. Please, post your results here ;-)

-
clowrideAvatar
Quote
- -
Written by clowride VIP on 07 Jun 2011

yes of course

 

-
KaterinaAvatar
Quote
- -
Written by Katerina STAFF on 08 Jun 2011

Hello!

Currently each field doesn`t have such parameter to place text how to fill it up. Usually all fields are have user-friendly interface and there wasn`t required 'right' filling up of them. It can be good Feature request query. Please add it if you need it: http://www.mightyextensions.com/support/feature-request

Regards

-
 
What is best way for Download/Installation MightyExtensions?
 


Member Area



Member Activity

We have 1471 guests and 2 members online


MightyTemplate - Professional Joomla Templates