The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How to change to another language buttons theme.

View previous topic View next topic Go down

Solved How to change to another language buttons theme.

Post by smurfavr on October 24th 2014, 4:14 pm

These inscriptions are circled in red and numbered want to change.
avatar
smurfavr
Active Poster

Male Posts : 1548
Reputation : 13
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: How to change to another language buttons theme.

Post by Ramdaman on October 24th 2014, 4:16 pm

Those are buttons. You can change them in the Administration Panel => Display => Pictures and Colors => Pics Management
avatar
Ramdaman
Active Poster

Male Posts : 1614
Reputation : 98
Language : English, Albanian, Macedonian, Russian | HTML, CSS
Location : New York City

http://ndihme.forumotion.com/forum

Back to top Go down

Solved Re: How to change to another language buttons theme.

Post by smurfavr on October 24th 2014, 4:34 pm

I want to change the labels on the buttons in another language not photos.
avatar
smurfavr
Active Poster

Male Posts : 1548
Reputation : 13
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: How to change to another language buttons theme.

Post by Ramdaman on October 24th 2014, 4:39 pm

I meant for the send and preview button. My apologies for not being clear.
avatar
Ramdaman
Active Poster

Male Posts : 1614
Reputation : 98
Language : English, Albanian, Macedonian, Russian | HTML, CSS
Location : New York City

http://ndihme.forumotion.com/forum

Back to top Go down

Solved Re: How to change to another language buttons theme.

Post by SLGray on October 24th 2014, 5:13 pm

@Ramdaman wrote:I meant for the send and preview button. My apologies for not being clear.
Those are not in Pics Management.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 39198
Reputation : 2628
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: How to change to another language buttons theme.

Post by Hagoromo Otsutsuki on October 24th 2014, 5:53 pm

Cant be changed they are meant to be like that for a reason.
avatar
Hagoromo Otsutsuki
Forumember

Male Posts : 573
Reputation : 23
Language : English
Location : Between Time and Space

http://fictionalomniverse.forumotion.com/

Back to top Go down

Solved Re: How to change to another language buttons theme.

Post by Ange Tuteur on October 24th 2014, 8:22 pm

Hello smurfavr,

Try this for the buttons :
Administration Panel > Modules > JavaScript codes management > Create a new script

Title : Your choice
Placement : In all the pages
Paste the code below :
Code:
$(function() {
 var preview = 'Preview',
  send = 'Send';
 
 $('input[value="Preview"]').attr('value',preview);
 $('input[value="Send"]').attr('value',send);
});

Modify these variables to change the texts :
Code:
var preview = 'Preview',
  send = 'Send';
avatar
Ange Tuteur
Forumaster

Male Posts : 13174
Reputation : 2871
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: How to change to another language buttons theme.

Post by smurfavr on October 24th 2014, 9:16 pm

These two have changed. Other signs that I numbered the picture 2,3,4 can you change?
avatar
smurfavr
Active Poster

Male Posts : 1548
Reputation : 13
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: How to change to another language buttons theme.

Post by Ange Tuteur on October 24th 2014, 10:06 pm

See if this works :
Administration Panel > Modules > JavaScript codes management > Create a new script

Title : Your choice
Placement : In all the pages
Paste the code below :
Code:
$(function() {
  var oneormore = 'You can attach one or more files with the following form :',
      filename = 'File name',
      comment = 'Comment',
      maxsize = '(Max size per file : $1 Mb)';
 
  if (!document.getElementById('attachment_show')) return;
  var a = document.getElementById('attachment_show');
  a.innerHTML = a.innerHTML.replace(/You can attach one or more files with the following form :/,oneormore).replace(/File name/,filename).replace(/Comment/,comment).replace(/\(Max size per file : (\d+) Mb\)/,maxsize);
});

At the top there are variables with the text you want to modify, as always. Wink
avatar
Ange Tuteur
Forumaster

Male Posts : 13174
Reputation : 2871
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: How to change to another language buttons theme.

Post by smurfavr on October 24th 2014, 11:30 pm

Many, many thanks Ange Tuteur


Can you last tell me how to change those signs in the image.

avatar
smurfavr
Active Poster

Male Posts : 1548
Reputation : 13
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: How to change to another language buttons theme.

Post by Ange Tuteur on October 25th 2014, 3:33 am

For those, try this :

Title : Your choice
Placement : In all the pages
Code:
$(function() {
  var title = 'Title of the topic',
      ticon = 'Topic Icon',
      enterchoice = 'Enter choices and separate them by a line break.<br>Maximum number of choices : $1.',
      multichoice = 'Multiple choice',
      votecancel = 'Vote cancelling is allowed';
 
  if (!document.getElementById('pollitems_show')) return;
  $('form[action="/post"] table.forumline:first').html( $('form[action="/post"] table.forumline:first').html().replace(/Title of the topic/,title).replace(/Topic Icon/,ticon) );
  $('#pollitems_show').html( $('#pollitems_show').html().replace(/Enter choices and separate them by a line break.<br>\nMaximum number of choices : (\d+)./,enterchoice).replace(/Multiple choice/,multichoice).replace(/Vote cancelling is allowed/,votecancel) );
});

Variables to edit text are at the topic. ^^
avatar
Ange Tuteur
Forumaster

Male Posts : 13174
Reputation : 2871
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: How to change to another language buttons theme.

Post by smurfavr on October 25th 2014, 11:25 am

Thank you Ange Tuteur.
avatar
smurfavr
Active Poster

Male Posts : 1548
Reputation : 13
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: How to change to another language buttons theme.

Post by Base on October 25th 2014, 2:31 pm

Solved => Archived
avatar
Base
Forumaster

Male Posts : 10386
Reputation : 1689
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

View previous topic View next topic Back to top


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