Forum Post Submit button hidden

Forum Post Submit button hidden

by Antony Barela -
Number of replies: 8

I have Moodle Version 3.1 and Adaptable template

My Submit button dissapeard when i try to post new forum

the firebug shows:

<fieldset class="hidden">

<input name="submitbutton" ....">

</fieldset>

Its not a css property its just got a class name somewhere but for unwanted reasons.

When deleting the "hidden" class button appear again,i just dont know how to locate

the error cause.I was triing somewhere in the module/forum folder but havent found.

Where can i remove that unwanted class name?

Thank you for your kind help

Average of ratings: -
In reply to Antony Barela

Re: Forum Post Submit button hidden

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

Hello there. I will just move your post over to the Themes forum as you mention Adaptable.

In reply to Mary Cooch

Re: Forum Post Submit button hidden

by Antony Barela -

Are you sure that the issue is on the template side?And not on the forum post mod?

In reply to Antony Barela

Re: Forum Post Submit button hidden

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

This is not an Adaptable issue because the class is added by moodle not the theme.

Verify the user permissions that access the forum. Test it also with Clean.

In reply to Antony Barela

Re: Forum Post Submit button hidden

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi,

Is the Forum that had a problem in a course or on the Front page?

If its a course then which Course Format are you using?

In reply to Mary Evans

Re: Forum Post Submit button hidden

by Antony Barela -

Hello,


thank you for your help,the issue is on the front page.

temperarly i solved this issue by adding this line to the custome js:

$("form#mformforum.mform fieldset.hidden").removeClass("hidden");

But i would be more happy if i can find where the problem is

In reply to Antony Barela

Re: Forum Post Submit button hidden

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

This is not the best way to fix the problem because it looks a permission issue and not a moodle issue.

Could you post a screenshot to see which is the problem?

Frontpage only has a  special forum that is not managed by users and that could be the problem.

In reply to Antony Barela

Re: Forum Post Submit button hidden

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

I think what has happened here is that you have added .hidden { display: none;} in order to remove the duplicated topic headings in course topics pages.

Which in turn has hidden this button as well!

Just a thought...

Cheer

Mary

In reply to Mary Evans

Re: Forum Post Submit button hidden

by Antony Barela -

thank you for your answer.I dont know the real reason,it is noticeable that

if that hidden css is blocked by firebug the navigation panelis alo appear.

So i think that the problem would be that the navigation panel was set hidden

and than the button of discussion block has also dissapeard