The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Preview/Send Button

3 posters

Go down

Solved Preview/Send Button

Post by Mineko July 7th 2021, 1:23 pm

Hello ^^

So, um ... I have a question that I want to solve the code in HTML as shown in the picture. However, what is code in the image is not included in the HTML. Because in the picture, only a temporary transcription, unfortunately it does not remain so permanently.


Preview/Send Button LDCXIjF

HTML code: viewtopic_body:
Mineko
Mineko
Forumember

Female Posts : 57
Reputation : 1
Language : Hungarian
Location : Hungary

https://blackmoonfrpg.hungarianforum.com

Back to top Go down

Solved Re: Preview/Send Button

Post by tikky July 7th 2021, 2:52 pm

Hello @Mineko,

In your stylesheet (CSS) use:
To "Nézd meg":
Code:
form[action="/post"] .liteoption {

}
To "Küld el":
Code:
form[action="/post"] .mainoption {

}
tikky
tikky
Forumember

Posts : 897
Reputation : 157
Language : 🇵🇹

https://www.forumotion.com/create-forum/modernbb

Back to top Go down

Solved Re: Preview/Send Button

Post by Mineko July 7th 2021, 4:39 pm

Um, okay ... But, uh ... What should I paste? Or do I not have to rewrite anything into this? I just paste it smoothly and that's it? ^^"
Mineko
Mineko
Forumember

Female Posts : 57
Reputation : 1
Language : Hungarian
Location : Hungary

https://blackmoonfrpg.hungarianforum.com

Back to top Go down

Solved Re: Preview/Send Button

Post by tikky July 8th 2021, 9:21 am

From what I understand from your image is the difference appearance in the buttons right? Because you cannot edit the source code of the editor. In your template you can find this part here (is a variable):
Code:
<!-- BEGIN switch_user_logged_in --><a name="quickreply"></a>{QUICK_REPLY_FORM}<!-- END switch_user_logged_in -->
Your only solution is to use the code above. Sorry if I didn't understand your question correctly
tikky
tikky
Forumember

Posts : 897
Reputation : 157
Language : 🇵🇹

https://www.forumotion.com/create-forum/modernbb

Back to top Go down

Solved Re: Preview/Send Button

Post by Mineko July 8th 2021, 10:09 am

Yeah, I think I get it. So I can't rewrite the names of the buttons. If I understand correctly. ^^ "
Mineko
Mineko
Forumember

Female Posts : 57
Reputation : 1
Language : Hungarian
Location : Hungary

https://blackmoonfrpg.hungarianforum.com

Back to top Go down

Solved Re: Preview/Send Button

Post by tikky July 8th 2021, 11:21 am

Mineko wrote:Yeah, I think I get it. So I can't rewrite the names of the buttons. If I understand correctly. ^^ "
By script you can:
Code:
(function($) {
    'use strict';

    $(function() {

        var $form = $('form[action="/post"]');

        if (!$form.length) return;

        $form
            .find('.liteoption')
            .attr('value', 'button 1')
            .end()
            .find('.mainoption')
            .attr('value', 'button 2');

    });
}(jQuery));
tikky
tikky
Forumember

Posts : 897
Reputation : 157
Language : 🇵🇹

https://www.forumotion.com/create-forum/modernbb

sivastar, SLGray and TonnyKamper like this post

Back to top Go down

Solved Re: Preview/Send Button

Post by Mineko July 8th 2021, 7:33 pm

Thank you <3 @pedxz
Hug I love you
Mineko
Mineko
Forumember

Female Posts : 57
Reputation : 1
Language : Hungarian
Location : Hungary

https://blackmoonfrpg.hungarianforum.com

Back to top Go down

Solved Re: Preview/Send Button

Post by skouliki July 8th 2021, 8:05 pm

Problem solved & topic archived.
Please read our forum rules: ESF General Rules
skouliki
skouliki
Manager
Manager

Female Posts : 15133
Reputation : 1696
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum