Current date/time is November 14th 2024, 12:40 pm
Search found 5 matches for TEXT
Keyword problem not working..
skouliki wrote:jomarcabasag wrote:SLGray wrote:Do you have topic titles that have EMI?
Nope .
How to work that?
he means EHI
with this tutorial, you are able to highlight specific words in your topic titles
if you dont have topic titles with the word EHI then no keywords will be showed up
the reason you changed the word #Text to #EHI must be cause you have topic titles with this word
Ok thanks @Skouliki Solved.
- on September 11th 2017, 1:43 pm
- Search in: Garbage
- Topic: Keyword problem not working..
- Replies: 18
- Views: 1219
Keyword problem not working..
jomarcabasag wrote:SLGray wrote:Do you have topic titles that have EMI?
Nope .
How to work that?
he means EHI
with this tutorial, you are able to highlight specific words in your topic titles
if you dont have topic titles with the word EHI then no keywords will be showed up
the reason you changed the word #Text to #EHI must be cause you have topic titles with this word
- on September 11th 2017, 12:59 pm
- Search in: Garbage
- Topic: Keyword problem not working..
- Replies: 18
- Views: 1219
Keyword problem not working..
skouliki wrote:did you follow the instructions below ?#TEXT: replace this TEXT with the word you want to transform (but do not remove the # before it, or the css code won't style your word)
4. Modifications
In the javascript code you have this line:.innerHTML.replace(/#TEXT/g,'<span id="TEXT">TEXT</span>');
- #TEXT: this is the first TEXT you find. You have to replace it with the word you want to change
Note: It is important that the word you replace here is the SAME written in the title;
this part is CASE sensitive, so if you have Hello in the title and you write hello the code won't work- TEXT: the second TEXT you find. It is the ID used to style your keyword, if you have multiple keyword styles change it to the ID you want.
- TEXT: the third TEXT you find. Replace it with the word you want to change
Yes I follow it but...Not working. I change the #Text to #EHI . But I don't know how to work it.. what I put in the title to work?
Sorry for my bad English.,
- on September 11th 2017, 10:14 am
- Search in: Garbage
- Topic: Keyword problem not working..
- Replies: 18
- Views: 1219
Keyword problem not working..
did you follow the instructions below ?#TEXT: replace this TEXT with the word you want to transform (but do not remove the # before it, or the css code won't style your word)
4. Modifications
In the javascript code you have this line:
.innerHTML.replace(/#TEXT/g,'<span id="TEXT">TEXT</span>');
- #TEXT: this is the first TEXT you find. You have to replace it with the word you want to change
Note: It is important that the word you replace here is the SAME written in the title;
this part is CASE sensitive, so if you have Hello in the title and you write hello the code won't work- TEXT: the second TEXT you find. It is the ID used to style your keyword, if you have multiple keyword styles change it to the ID you want.
- TEXT: the third TEXT you find. Replace it with the word you want to change
- on September 11th 2017, 10:02 am
- Search in: Garbage
- Topic: Keyword problem not working..
- Replies: 18
- Views: 1219
Style topic title "Keywords"
Style topic title "Keywords" |
1. Definition Thanks to this tutorial, you will now be able to highlight specific words (let's call this "keywords") in your topic title. Just like the example shown below : 2. The JavaScript code To add the JavaScript, please follow the steps below :
Make sure javascript codes management is set to 'yes' then create a new javascript code Note: You have to choose the javascript code that corresponds to your forum version PhpBB3 Title: Your choice Placement: In the topics
Invision Title: Your choice Placement: In the topics
PunBB Title: Your choice Placement: In the topics
3. The style Please go to the following page :
and add the following code to your CSS stylesheet :
#TEXT: replace this TEXT with the word you want to transform (but do not remove the # before it, or the css code won't style your word) 4. Modifications In the javascript code you have this line:
You can style multiple keywords by adding another replace method after the first one :
Attention : There are some special characters that must be Escaped to be replaced as a keyword. Brackets must be written as : \[ and \] Parenthesis must be written as : \( and \) If your keyword is not being replaced use the escape character \ before newly added characters. |
This tutorial was written by Niko! |
- on June 23rd 2014, 1:57 pm
- Search in: Tips & Tricks
- Topic: Style topic title "Keywords"
- Replies: 0
- Views: 7216