OK,
This should be a softball for you advanced themers out there. I must be missing something very obvious.
So I have some form errors being set and the messages show up just fine when I set my theme to garland. However, my custom theme is missing something and preventing the messages from showing up?
I have looked through some theming info, but I am not seeing anything obvious as to what I am missing from my theme.
Thanks in advance for the help!
Comments
Comment #1
pedrofaria commentedWhat? fapi_validation is causing it? i didn`t understood you...
Comment #2
tannerg commentedI don't know what is causing it, perhaps I have the wrong project name in my request.
This is a support request, so if I knew what I was talking about, I wouldn't need support.
I am using the resource_conflict module to detect conflicts in reservations for nodes of a certain type. The module is using form_set_errors to set the error message for the form when a conflict is detected.
If set the garland theme as default before submitting a node of the type in question and schedule a resource already scheduled during the same time, the error message is displayed. When I use the custom theme I have created, the form is not submitted, but the error message is not displayed.
Comment #3
tannerg commentedI knew there was something really easy that I was missing.
My page.tpl.php file was missing the $messages variable. I added it and all is well with the world now.
Comment #4
pedrofaria commentedCrazy guy!
Comment #5
deviantintegral commentedGlad to hear you figured it out (and that this module is working for you).