Grixx templates

Friday, September 09, 2005

Mude o texto de seus comments

ou como personalizar os comentários do blogger

O Blogger não fala português e, além disso, não sabe diferenciar singular de plural mesmo em inglês.
Digo isso porque no fim dos meus posts sempre aparece

0 comments
1 comments
20 comments


Isso é fácil de resolver:

No seu template procure por
<$BlogItemCommentCount$> comments.

Substitua esse texto por

<script type="text/javascript">var a = <<$BlogItemCommentCount$>;
if(a == 0) {document.write('Nenhum comentário');}
else if(a == 1) {document.write('1 comentário');}
else {document.write(a+' comentários');}<
/SCRIPT>


Vc pode configurar as partes em negrito.
A primeira frase em negrito aparecerá quando ninguém tiver comentado ainda.
A segunda frase em negrito aparecerá quando houver apenas um comentário.
A terceira frase em negrito aparecerá quando houver dois ou mais comentários, onde a é o número de comentários.


Vc pode configurar também para aparecer mensagens específicas para quando houver um número específico de comentários, por exemplo:


<script type="text/javascript">var a = <<$BlogItemCommentCount$>;
if(a == 0) {document.write('Nenhum comentário');}
else if(a == 1) {document.write('1 comentário');}
else if(a == 2) {document.write('Só duas pessoas comentaram');}
else if(a == 3) {document.write('Ainda temos poucos comentários');}
else if(a == 4) {document.write('Gente, vamos colaborar!!');}
else if(a == 5) {document.write('Está melhorando');}
else {document.write(a+' comentários');}<
/SCRIPT>

OU

<script type="text/javascript">var a = <<$BlogItemCommentCount$>;
if(a == 0) {document.write('Nenhum comentário');}
else if(a == 1) {document.write('1 comentário');}
else if(a >= 10) {document.write('Ainda temos poucos comentários');}
else {document.write(a+' comentários');}<
/SCRIPT>

A frase Ainda temos poucos comentários aparecerá quando o número de comentários for menor ou igual a 10 e diferente de 1 ou de 0.


Acho que deu pra entender o negócio. : )


43 Comments:

  • Sempre via esses comentários engraçadinhos ou imagens no lugar do tradicional "X comments" e não sabia como fazer.
    Valeu Grixx!



    Bjus

    By Anonymous Patty, at 6:46 AM  

  • no novo blogger não estou achando o código. vc pode ajudar? Abs!

    By Blogger Fabiana Gonçalves, at 4:31 AM  

  • [b][url=http://www.cheapuggbootsonlineshop.co.uk/]www.cheapuggbootsonlineshop.co.uk[/url][/b] Matthew Langille is really a prolific youthful artist residing in New york. He was when fond of glass-blowing just like a child. He joined the art set up in France and undertook ceramic creating and everyday living drawing while in the Usa in advance of turning to print-making and drawing in schools.

    [b][url=http://www.bestonlinesalestore.com/]louis vuitton outlet[/url][/b] The corporate philosophy is centered all over holistic health and fitness and respecting the world with materials sourced from biodynamic farms and agricultural cooperatives. It truly is useful and helpful. The Sobe clutch would be the outstanding addition for working day to night put on..

    [b][url=http://www.bestonlinesalestore.com/]www.bestonlinesalestore.com[/url][/b] Nonetheless, we all not basically grateful due to tiffany wedding ceremony rings. Could you like that guideline? Noticeable frizzy and likewise curly hair that would be damaged because of chemical compounds is precisely all of us would need to manage. By way of ceramic straightening irons, you can truly develop slim and in many cases inside a straight line your hair.

    [b][url=http://www.cheapuggbootsonlineshop.co.uk/]ugg boots[/url][/b] The vermiform appendix or normally referred to as the Appendix is actually a tube linked to the cecum that's a pouch like section of the colon, near on the intersection of your small and large intestine within the decreased part of your abdomen. This certain portion of the human body does not have any definite function while in the entire body however it is famous to provide health care concerns just like carcinoid tumors, appendix cancer and appendicitisDuring the premature phase, of the appendix problem you can begin to come across gentle symptoms. Quite possibly the most easily recognized symptom is usually a discomfort experienced close to the navel.

    [b][url=http://www.bestonlinesalestore.com/]louis vuitton outlet[/url][/b] Everyday living is just like a desire. After we desire, anything which is in it we carry not once we get up, Except the working experience of it. Identical is legitimate together with the life we're now occupying. One specific on the internet retailer of cheap purses is Eurohandbag, which also provides personalised sorts for its prospective buyers. In the event you ought to unique in excess of just one Prada bag, that may be a fantastic solution as part of your scenario. It's potential to shop for assorted variants of Prada bags at Eurohandbag at fairly significantly less highly-priced prices.

    By Anonymous Anonymous, at 5:01 PM  

  • Texans JJ Watt Jersey

    When you are hurt or frightened (physically, emotionally, or mentally), a message goes to your brain stem, the threat is recognized, fear is created, and you move into the same mode ? fight, flight, or freeze Breaking a corona wire can be a costly mistake Is there anyone out there who doesn't feel like they have some purpose on this Earth? Do you feel embarrassed by thinking that, feel it's too lofty? Some voices in your head telling you all those lovely things, who do you think you are?, yeah right, you, hah! and on and on Once you've chosen a name, try it out for a day or so

    Frank Gore Red Jersey

    Rather than saying no, a word that doesn't really mean anything to a dog, try growling in a deep, throaty voice the next time you're unhappy with something he's done The typical result of the Name That Tune - shorten the session for my people Game, is training that is little more that exposure to a topic area - not training which can transfer real skills, with real practice time in the classroom We sin, not because we are told not to sin, but because it is in our natureHow Much Are You Worth: Your mind may have already begun to drift toward your last bank statement or the assessed value of your home by now

    Brandon Marshall Youth Jersey

    By Anonymous Anonymous, at 7:48 AM  

  • qW2H4q http://www.japanbootsvip.com sA8A6j [url=http://www.japanbootsvip.com]ugg[/url] rU3I2y ugg pA5J4y
    oH3Z5p http://www.bottespaschershop.info uQ0D3m [url=http://www.bottespaschershop.info]bottes ugg[/url] bS8E6i bottes ugg lT4D7t
    bH9M5g http://frbottesspascher3.webnode.fr vH6W9s [url=http://frbottesspascher3.webnode.fr]bottes ugg[/url] eZ3P4c ugg hV2R3z
    yA7L5r http://www.vipbottespascher.com cP2Q5g [url=http://www.vipbottespascher.com]ugg pas cher[/url] iZ3E0m uggs pas cher fR7C9h
    iU8V0m http://www.isabelmarantde.info lL5Q0n [url=http://www.isabelmarantde.info]isabel marant boots[/url] kC8Y1c isabel marant qY3V1o
    cT9I5b http://goedkopeboots.jouwweb.nl xB3S2g [url=http://goedkopeboots.jouwweb.nl]uggs online bestellen[/url] kU9T5m goedkope uggs dQ7T7t

    By Anonymous Anonymous, at 2:52 AM  

  • top [url=http://www.001casino.com/]001casino.com[/url] hinder the latest [url=http://www.realcazinoz.com/]casino games[/url] autonomous no deposit perk at the foremost [url=http://www.baywatchcasino.com/]no lay reward
    [/url].

    By Anonymous Anonymous, at 1:23 PM  

  • Adult сервис [url=http://aftertube.net.ua/tags/%E4%F0%FE%F7%E8%F2%F1%FF/]дрючится[/url] Посмотри про то как [url=http://aftertube.net.ua/tags/%EE%ED%EB%E0%E9%ED/]онлайн[/url]
    со слабыми нервами вход воспрещен!

    By Anonymous Anonymous, at 5:21 AM  

  • Did you [url=http://www.onlinecasinos.gd]roulette[/url] about that you can dally with Revolving Villa after a while from your mobile? We be torture with a implement unfixed casino elbow against iPhone, iPad, Android, Blackberry, Windows 7 and Smartphone users. Be borne your gaming with you and be a prizewinner [url=http://www.adults.gd]buy anal toys online[/url] wherever you go.

    By Anonymous Anonymous, at 8:11 PM  

  • viagra without prescription viagra dosage young - order viagra usa

    By Anonymous Anonymous, at 7:59 AM  

  • order viagra online viagra online store review - buy cheap viagra online usa

    By Anonymous Anonymous, at 8:43 AM  

  • viagra online without prescription generic viagra super force - buy viagra online australia legally

    By Anonymous Anonymous, at 12:06 PM  

  • top [url=http://www.001casino.com/]casino bonus[/url] coincide the latest [url=http://www.realcazinoz.com/]online casinos[/url] autonomous no deposit reward at the best [url=http://www.baywatchcasino.com/]casino bonus
    [/url].

    By Anonymous Anonymous, at 5:46 AM  

  • generic viagra viagra information - buy viagra vietnam

    By Anonymous Anonymous, at 12:44 AM  

  • viagra online without prescription best generic viagra online - mail order viagra review

    By Anonymous Anonymous, at 9:08 AM  

  • We [url=http://www.casinosaction.com]casino online[/url] be suffering with a large library of utterly unconditional casino games as a replacement for you to play right here in your browser. Whether you appetite to procedure a provisions recreation scenario or honest try out a insufficient original slots first playing in the direction of real filthy lucre, we possess you covered. These are the rigid same games that you can play at true online casinos and you can join in them all quest of free.

    By Anonymous Anonymous, at 4:03 AM  

  • top [url=http://www.c-online-casino.co.uk/]uk casino bonus[/url] check the latest [url=http://www.casinolasvegass.com/]casino bonus[/url] manumitted no set aside hand-out at the best [url=http://www.baywatchcasino.com/]casino online
    [/url].

    By Anonymous Anonymous, at 8:06 PM  

  • buy soma cheap parking soma sf - soma generic dosage

    By Anonymous Anonymous, at 12:28 AM  

  • order soma soma no prescription needed - soma push up bras

    By Anonymous Anonymous, at 12:06 PM  

  • buy soma day remember soma san diego - soma muscle relaxer alcohol

    By Anonymous Anonymous, at 5:16 AM  

  • buy soma soma bras embraceable - buy somatropin in usa

    By Anonymous Anonymous, at 9:41 AM  

  • soma cheap buy soma drink - illegal buy soma online

    By Anonymous Anonymous, at 7:11 PM  

  • buy soma online soma perfect drug - buy cheap soma online

    By Anonymous Anonymous, at 9:36 PM  

  • generic cialis generic cialis nz - buy cialis online with no prescription

    By Anonymous Anonymous, at 12:13 AM  

  • online soma cheap hotels soma - cheap eats soma

    By Anonymous Anonymous, at 4:11 AM  

  • buy cialis online order generic cialis online - can i buy cialis over the counter in the us

    By Anonymous Anonymous, at 5:22 AM  

  • buy cialis online buy cialis online pharmacy - cheap cialis fast shipping

    By Anonymous Anonymous, at 8:22 PM  

  • buy tramadol cod next day delivery tramadol 50 mg get high - tramadol for dogs with food

    By Anonymous Anonymous, at 3:58 PM  

  • buy cialis online buy cialis online in new zealand - buy cialis in usa online

    By Anonymous Anonymous, at 6:43 AM  

  • generic xanax can you really buy xanax online - xanax side effects anger

    By Anonymous Anonymous, at 5:29 PM  

  • generic xanax many xanax pills overdose - alprazolam 0.5 mg and alcohol

    By Anonymous Anonymous, at 10:28 PM  

  • buy carisoprodol carisoprodol 350 mg street value - carisoprodol 350 mg strong

    By Anonymous Anonymous, at 7:31 AM  

  • buy tramadol online no prescription cheap best place to buy tramadol online reviews - tramadol hcl hcl

    By Anonymous Anonymous, at 6:52 PM  

  • buy cialis online order cialis online pharmacy - reputable online pharmacy for cialis

    By Anonymous Anonymous, at 9:45 AM  

  • cialis no rx cheap cialis generic us - cialis 8cpr riv 20mg

    By Anonymous Anonymous, at 7:48 PM  

  • cialis online cialis price in thailand - cialis online viagra

    By Anonymous Anonymous, at 5:42 PM  

  • http://landvoicelearning.com/#63987 order tramadol online from usa - 6 50 mg tramadol

    By Anonymous Anonymous, at 11:47 AM  

  • klonopin for anxiety klonopin 2mg side effects - klonopin xr

    By Anonymous Anonymous, at 6:43 AM  

  • buy generic klonopin klonopin recreational use snort - can order klonopin online

    By Anonymous Anonymous, at 8:47 PM  

  • carisoprodol buy carisoprodol 5 panel drug test - carisoprodol drug test

    By Anonymous Anonymous, at 5:12 PM  

  • carisoprodol 350 mg 350 mg of carisoprodol - carisoprodol 75mg

    By Anonymous Anonymous, at 1:08 PM  

  • http://southcarolinaaccidentattorney.com/#77410 carisoprodol online cod - carisoprodol online

    By Anonymous Anonymous, at 5:12 AM  

  • Small bird cautionSmall bird caution" bell bell …… " at that moment the lesson bell voice rings out suddenly, classmates go to to outside the classroom already, suddenly, sees the black" shadow" in a to flew to come in outside from the classroom. Classmates settle the [url=http://www.montblancpensdiscount.co.uk]mont blanc routes[/url] on seeing, is on wearing the green the small bird that pack only, it still have the red and small in a , black and small claw in ash son, the feather of the belly is green [url=http://www.montblancpensdiscount.co.uk]mont blanc fake pens[/url] to take Huang inside.Classroom in seethe immediately, the war whoop, excited scream shouts the [url=http://www.montblancpensdiscount.co.uk]mont blanc glasses[/url] voice rings one.The small bird is rattled the ground flies to face the classroom wall clock [url=http://www.montblancpensdiscount.co.uk]mont blanc [url=http://www.montblancpensdiscount.co.uk]mont blanc cartridges[/url] cufflinks[/url] ascends, hiding at clock with wall, face the all these, it are already the have to scare to death.But, classmate be not willing to still well give up, try very hard to yell to shout loudly.Finally, the small bird was been noisy by the sharp interjection nowhere to stay, again a time flew to face the platform above, the wall hides into the red flag to is inside with wall blind side. The small bird that is at this time very of have no to [url=http://www.montblancpensdiscount.co.uk]montblanc pen[/url] help, send out the miserable interjection often, however, round the classmate of the view more and more, Lee a still takes the broom goes to the it, helpless under, it jump up on flying, faint the dizziness brain flew to face on the rapid rotary fan, it is original to think is to hide in the abovely, can old an outside for heartlessly, fan cover too breadth, in it falling at a leaf," ' a small for, seeing our straightly falling to dropping down, layer after layerly falling off in icy cold floor, my heart fiercely first jumping, classmates rounding going up, seeing it that small leg drive flying soon revolving a ground ofly a leaf interrupts, a feet with amiability leak out blood, it painfully body, from its look in the eyes, I saw its sorrow, hate.Finally, it shut the top it forever that double of exhausted eyeses …… lookings at the small bird of the dying, I heading up silently the of the day tells:Small bird, caution!(

    http://www.montblancoutletsale.co.uk

    Our updates Recent articles:
    [url=http://www.52wanli.com/forum.php?mod=viewthread&tid=217519]cheap beats by dre outlet http://www[/url]
    [url=http://huatai123.cn/home.php?mod=space&uid=19694&do=blog&id=172232]montblanc fountain pens ralph lauren polo uk by bo[/url]
    [url=http://223.4.2.143/forum.php?mod=viewthread&tid=534217]chanelコスメ gtho www[/url]
    [url=http://reee.sacities.net/home/news1#comment-206153]mont blanc meisterstuck longchamp taschen[/url]
    [url=http://ecuniversity.net/forum.php?mod=viewthread&tid=227288&extra=]mont blanc pens discount TRX FORCE Kit Tactical instead of a time-c[/url]
    [url=http://www.dangrom.com/24haitaonet/forum.php?mod=viewthread&tid=479791]chanelコスメ Coach Factory Outlet Payday Loans[/url]

    By Anonymous Anonymous, at 11:37 PM  

  • Music For DJ House Techno Trance Hardstyle -
    Music for Dance - Best Club Music
    http://2013.0daymusic.org/
    www.uploaded.lt
    www.0daymusic.eu
    www.filestube.eu
    www.filestube.lt
    www.mediafire.lt
    www.oron.cz
    www.oron.dk
    www.oron.ee
    www.oron.lt
    www.oron.se
    www.0daymusic.org

    By Anonymous Anonymous, at 12:05 AM  

Post a Comment

<< Home