Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter robertocmcosta

    (@robertocmcosta)

    Now I don’t see the error, but no minification yet.
    Maybe I’m the one to blame. The way I’m entering the style handles maybe wrong.
    I’m entering “style, formidablepro” in the Style minification queue(s) form. Is it right?
    I also tried entering “jquery, utilities (a custom script)” in the Script minification queue(s) and it works (scripts only)! A file named ?minqueue-349ff3a7-cb2d6813.js is called. However jquery.js is being loaded separately. Shouldn’t it disappear since it’s included in the minified version?
    As for the styles, do I have to enter style names in another way to make it work?

    Thread Starter robertocmcosta

    (@robertocmcosta)

    Hi Matthews,

    First, thanks for taking the time to answer me. No, I’m on the front-end of the site. On the software side:
    wordpress’ default jquery 1.10.2 loaded
    wordpress 3.7.1
    and a bunch of plugins.

    The full log in inspector is:
    Uncaught TypeError: Cannot call method ‘appendChild’ of null (index):472
    MinQueue.insertButton (index):472
    MinQueue.init (index):485
    (anonymous function) (index):493

    I can see minqueue scripts in those lines but nothing else happens. I mean I enabled the minification of styles putting in the handlers “style, formidablepro” to see the plugin in action. So far all I get is the error above.
    I also tried installing the plugin on the live site (server config different from MAMP) with the same results.

    Thread Starter robertocmcosta

    (@robertocmcosta)

    Thanks. I’ll be looking forward.

    Thread Starter robertocmcosta

    (@robertocmcosta)

    don’t mention it. btw, do you intend to update the wp fullcalendar as well?

    Thread Starter robertocmcosta

    (@robertocmcosta)

    Sorry Marcus. I made the mistake.
    What I mean is that accented characters should not be included in your code, like ó, á and ê. Instead they should be encoded for html as &oaculte;, &oaculte; and ê.
    That’s just it.
    Hope this helps.

    Thread Starter robertocmcosta

    (@robertocmcosta)

    It didn’t fix. Please, beware of this when using this code. Accent marks should be ‘ó’, for instance, to be rightly rendered as ó.
    Sorry for the little mess.

    Thread Starter robertocmcosta

    (@robertocmcosta)

    Sorry, I forgot to wrap to the code. Some accent marks got messed up. Here’s the right code:


    'pt_BR'=>array('closeText'=>'Fechar','prevText'=>'Anterior','nextText'=>'Próximo','currentText'=>'Hoje','monthNames'=>array('Janeiro','Fevereiro','Março','Abril','Maio','Junho','Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'),'monthNamesShort'=>array('Jan','Fev','Mar','Abr','Mai','Jun','Jul','Ago','Set','Out','Nov','Dez'),'dayNames'=>array('Domingo','Segunda','Terça','Quarta','Quinta','Sexta','Sábado'),'dayNamesShort'=>array('Dom','Seg','Ter','Qua','Qui','Sex','Sáb'),'dayNamesMin'=>array('Do','Se','Te','Qu','Qu','Se','Sa'),'weekHeader'=>'Sem','dateFormat'=>'dd/mm/yy','firstDay'=>1,'isRTL'=>false,'showMonthAfterYear'=>false,'yearSuffix'=>'')
    );


    'pt_BR' => array('buttonText' => array('today'=>'Hoje','month'=>'Mês','week'=>'Semana','day'=>'Dia')),

    Thread Starter robertocmcosta

    (@robertocmcosta)

    Hi, thank you for the hint. I changed these bits in my local files and it seems to be working fine now. The file missed strings for pt_BR language. Here’s what I included in the file:

    Right after line 131 and before the comment “//extra WP FUllCalendar translations here please”:

    ‘pt_BR’=>array(‘closeText’=>’Fechar’,’prevText’=>’Anterior’,’nextText’=>’Próximo’,’currentText’=>’Hoje’,’monthNames’=>array(‘Janeiro’,’Fevereiro’,’Março’,’Abril’,’Maio’,’Junho’,’Julho’,’Agosto’,’Setembro’,’Outubro’,’Novembro’,’Dezembro’),’monthNamesShort’=>array(‘Jan’,’Fev’,’Mar’,’Abr’,’Mai’,’Jun’,’Jul’,’Ago’,’Set’,’Out’,’Nov’,’Dez’),’dayNames’=>array(‘Domingo’,’Segunda’,’Terça’,’Quarta’,’Quinta’,’Sexta’,’Sábado’),’dayNamesShort’=>array(‘Dom’,’Seg’,’Ter’,’Qua’,’Qui’,’Sex’,’Sáb’),’dayNamesMin’=>array(‘Do’,’Se’,’Te’,’Qu’,’Qu’,’Se’,’Sa’),’weekHeader’=>’Sem’,’dateFormat’=>’dd/mm/yy’,’firstDay’=>1,’isRTL’=>false,’showMonthAfterYear’=>false,’yearSuffix’=>”)
    );

    Right after the item starting with ‘pt’ below the above mentioned comment:
    ‘pt_BR’ => array(‘buttonText’ => array(‘today’=>’Hoje’,’month’=>’Mês’,’week’=>’Semana’,’day’=>’Dia’)),

    I hope you find it useful and once again thank you for this nice piece of plugin.

    Thread Starter robertocmcosta

    (@robertocmcosta)

    I mean both EM calendar and WP fullcalendar alone. Week days (monday, tuesday etc) and months apear in English although my wordpress installation is the pt_BR downloaded from the localized brazilian wordpress site.
    So it should show months and week days in portuguese, just as dates show in pt_BR, shouldn’t it? It’s not happening.
    For a personal project it makes no difference, but for a professional project, it does.
    Do you know how to address this?

    Thread Starter robertocmcosta

    (@robertocmcosta)

    Sorry. Here’s the link to the code in pastebin:
    https://pastebin.com/SuDkGxeS

Viewing 10 replies - 1 through 10 (of 10 total)