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.

Changing the Quote text, "wrote"

View previous topic View next topic Go down

Solved Changing the Quote text, "wrote"

Post by Kazegami on March 8th 2016, 1:21 am

Hello,

When I use the "Quote" tag, it writes "**** wrote".

As per the image below:


I want to remove this wrote.

I can navigate myself to using the Display > Templates and the Display > Colors > CSS Stylesheet.

But I don't know how I can change this particular thing.

I thank you in advance for your attention!


Last edited by Kazegami on March 8th 2016, 2:11 am; edited 1 time in total

Kazegami
New Member

Posts : 7
Reputation : 1
Language : English

http://elitetriforce.4umotion.com

Back to top Go down

Solved Re: Changing the Quote text, "wrote"

Post by An on March 8th 2016, 2:04 am

That's probably not in the templates, but the script below can remove what you want.
Code:
$(function() {
  $('cite').each(function() {
    var html = this.innerHTML,
        regex = /\s\w+:$/;
       
    if (regex.test(html)) {
      this.innerHTML = html.replace(regex, ' :');
    }
  });
});

Install it via javascript code management under the modules tab.

An
Forumember

Posts : 42
Reputation : 23
Language : English

http://help.forumotion.com

Back to top Go down

Solved Re: Changing the Quote text, "wrote"

Post by Kazegami on March 8th 2016, 2:10 am

Hello An,

It worked wonders.

Thank you very much for your quick reply!

Kazegami
New Member

Posts : 7
Reputation : 1
Language : English

http://elitetriforce.4umotion.com

Back to top Go down

Solved Re: Changing the Quote text, "wrote"

Post by SLGray on March 8th 2016, 2:31 am

Topic solved and archived


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


SLGray
Administrator
Administrator

Male Posts : 36705
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

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