Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-04-20 10:15:53

Freeant
Member
Registered: 2012-04-16
Posts: 36

by default, the submit button is visible but disabled

textpattern/publish/comment.php

comment.php

...
// by default, the submit button is visible but disabled
		$comment_submit_button = fInput('submit', 'submit', gTxt('submit'), 'button disabled', '', '', '', '', 'txpCommentSubmit', true);
...

How to make a button invisible, in this step ?

Last edited by Freeant (2012-04-20 10:17:25)

Offline

#2 2012-04-20 11:13:55

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,258
Website GitHub Mastodon Twitter

Re: by default, the submit button is visible but disabled

No need to alter the core. in your css add .disabled {display:none}


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2012-04-20 12:15:44

Freeant
Member
Registered: 2012-04-16
Posts: 36

Re: by default, the submit button is visible but disabled

thx for u answer colak

Offline

Board footer

Powered by FluxBB