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.

ISSUE ABOUT PREFIX TOPIC TITLE

Go down

Solved ISSUE ABOUT PREFIX TOPIC TITLE

Post by cupcup on December 14th 2014, 11:50 am

Hello, i get problem about Prefix topic Title was created by @ange tuteur here http://help.forumotion.com/t133869-style-topic-title-keywords
My problem:
if i hover title on home page
its showing like this:


My qusetion:
How to remove the word
Code:
<span class""> and </span>
i mean if i hover title on home page its only showing [SOLVED] Topic title here, not with span class

cupcup
Forumember

Posts : 36
Reputation : 1
Language : english

Back to top Go down

Solved Re: ISSUE ABOUT PREFIX TOPIC TITLE

Post by Ange Tuteur on December 14th 2014, 9:01 pm

Hello cupcup,

What is the version of your forum ?

Thanks
avatar
Ange Tuteur
Forumaster

Male Posts : 13186
Reputation : 2893
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: ISSUE ABOUT PREFIX TOPIC TITLE

Post by cupcup on December 15th 2014, 9:54 am

punbb dude :'(

cupcup
Forumember

Posts : 36
Reputation : 1
Language : english

Back to top Go down

Solved Re: ISSUE ABOUT PREFIX TOPIC TITLE

Post by Ange Tuteur on December 15th 2014, 10:16 pm

Could you provide a link to where this is occurring on your forum ? I cannot seem to recreate the problem.
avatar
Ange Tuteur
Forumaster

Male Posts : 13186
Reputation : 2893
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: ISSUE ABOUT PREFIX TOPIC TITLE

Post by cupcup on December 16th 2014, 2:45 am

this my test forum
http://e-gaming.forumid.net/
but template, script, css, js a same

cupcup
Forumember

Posts : 36
Reputation : 1
Language : english

Back to top Go down

Solved Re: ISSUE ABOUT PREFIX TOPIC TITLE

Post by Ange Tuteur on December 16th 2014, 2:53 am

You're selecting the parent .statused and replacing its HTML content, this also replaces the content inside the anchors title. Try .statused a instead.
Code:
jQuery(document).ready(function () {
  jQuery('.module a, .topiclist a, .page-title a, .statused a').each(function () {
    jQuery(this).html(jQuery(this).html().replace(/#SOLVED/g, '<span class=\'perfix solved\'>[SOLVED]</span>'))
  })
});
avatar
Ange Tuteur
Forumaster

Male Posts : 13186
Reputation : 2893
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: ISSUE ABOUT PREFIX TOPIC TITLE

Post by cupcup on December 16th 2014, 2:55 am

thank you very much loove
#SOLVED

cupcup
Forumember

Posts : 36
Reputation : 1
Language : english

Back to top Go down

Solved Re: ISSUE ABOUT PREFIX TOPIC TITLE

Post by Ange Tuteur on December 16th 2014, 3:21 am

You're welcome ^^

Topic archived
avatar
Ange Tuteur
Forumaster

Male Posts : 13186
Reputation : 2893
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Back to top


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