Question about prefix

 
Petri Kosunen
 
Avatar
 
 
Petri Kosunen
Total Posts:  66
Joined  05-11-2014
 
 
 
18 November 2014 13:25
 

I just noticed that when you use prefix lets say [ how] it will come out as badge even what you add after the pre-set prefix in js.
So same result is with [how.an.earth.this.is.so.long.prefix]

Im using 2 letter long prefix and noticed that someone posted a post with extra info inside brackets and it shows up as a badge.

 
eeBootstrap Support Team
 
Avatar
 
 
eeBootstrap Support Team
Total Posts:  105
Joined  22-09-2014
 
 
 
18 November 2014 16:09
 

All that is inserted into the title with brackets is transformed into post prefix, if there are more square brackets in the same way, only the first is transformed.

 
 
Petri Kosunen
 
Avatar
 
 
Petri Kosunen
Total Posts:  66
Joined  05-11-2014
 
 
 
18 November 2014 16:32
 

Ok, is it possible to add default -> empty prefix so that there will not come other than meaningful prefixes as colored?

 
eeBootstrap Support Team
 
Avatar
 
 
eeBootstrap Support Team
Total Posts:  105
Joined  22-09-2014
 
 
 
18 November 2014 17:01
 

Yes you can, go to eeBoostrap.js and read the instrucion…

// END OF CASE
     
default: 
     
classPostPrefix '<span class="small btn btn-primary btn-xs">'// Blue 
 
 
Petri Kosunen
 
Avatar
 
 
Petri Kosunen
Total Posts:  66
Joined  05-11-2014
 
 
 
18 November 2014 17:53
 

Wonder why I missed that default… heh.
Have to do some testing so that prefixes are not used in the wrong way I want. Thanks for the note on this one smile