Kamis, 21 Februari 2013

Mengatasi Error, Blank, Redirect di Edit HML New Blogger

Ingin share sobat tentang adanya error atau blank atau redirect pada edit html di salah satu blog saya.

Kenapa dan mengapa.
Sebelum aku pasang kode translate language dari google, keadaan aman-aman saja. Tapi setelah aku pasang dan suatu saat ingin mengedit html, wah jadinya kok blank. Penasaran ini kenapa ya.
Akhirnya aku ingat-ingat, apa yang telah aku lakukan pada widget sidebar di blogku. Dan ternyata oh ternyata aku telah memasang kode translate language terakhir kalinya.

Setelah kode aku hapus, bisa kembali normal dan edit html pun bisa aku jumpai dengan mudah.
Jadi kalau sobat ada yang mengalaminya, silahkan hapus kode translate language atau kode-kode frame lain dan lihat hasilnya.
Kalau masih belum bisa juga, ada cara lain yaitu dengan stop loading.
Caranya adalah pada saat klik template maka akan ada loading selanjutnya, maka segera stop proses loading itu dengan menekan tanda X di browsermu.

KODE Translate Language yang Aku pasang:

<br/>
<!-- GTranslate: http://gtranslate.net/ -->
<a href="#" onclick="doGTranslate('id|en');return false;" title="English" class="gflag nturl" style="background-position:-0px -0px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="English" /></a><a href="#" onclick="doGTranslate('id|fr');return false;" title="French" class="gflag nturl" style="background-position:-200px -100px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="French" /></a><a href="#" onclick="doGTranslate('id|de');return false;" title="German" class="gflag nturl" style="background-position:-300px -100px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="German" /></a><a href="#" onclick="doGTranslate('id|it');return false;" title="Italian" class="gflag nturl" style="background-position:-600px -100px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Italian" /></a><a href="#" onclick="doGTranslate('id|pt');return false;" title="Portuguese" class="gflag nturl" style="background-position:-300px -200px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Portuguese" /></a><a href="#" onclick="doGTranslate('id|ru');return false;" title="Russian" class="gflag nturl" style="background-position:-500px -200px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Russian" /></a><a href="#" onclick="doGTranslate('id|es');return false;" title="Spanish" class="gflag nturl" style="background-position:-600px -200px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Spanish" /></a>

<style type="text/css">
<!--
a.gflag {vertical-align:middle;font-size:16px;padding:1px 0;background-repeat:no-repeat;background-image:url('http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/16.png');}
a.gflag img {border:0;}
a.gflag:hover {background-image:url('http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/16a.png');}
-->
</style>

<br /><select onchange="doGTranslate(this);"><option value="" />Select Language<option value="id|af" />Afrikaans<option value="id|sq" />Albanian<option value="id|ar" />Arabic<option value="id|hy" />Armenian<option value="id|az" />Azerbaijani<option value="id|eu" />Basque<option value="id|be" />Belarusian<option value="id|bg" />Bulgarian<option value="id|ca" />Catalan<option value="id|zh-CN" />Chinese (Simplified)<option value="id|zh-TW" />Chinese (Traditional)<option value="id|hr" />Croatian<option value="id|cs" />Czech<option value="id|da" />Danish<option value="id|nl" />Dutch<option value="id|en" />English<option value="id|et" />Estonian<option value="id|tl" />Filipino<option value="id|fi" />Finnish<option value="id|fr" />French<option value="id|gl" />Galician<option value="id|ka" />Georgian<option value="id|de" />German<option value="id|el" />Greek<option value="id|ht" />Haitian Creole<option value="id|iw" />Hebrew<option value="id|hi" />Hindi<option value="id|hu" />Hungarian<option value="id|is" />Icelandic<option value="id|id" />Indonesian<option value="id|ga" />Irish<option value="id|it" />Italian<option value="id|ja" />Japanese<option value="id|ko" />Korean<option value="id|lv" />Latvian<option value="id|lt" />Lithuanian<option value="id|mk" />Macedonian<option value="id|ms" />Malay<option value="id|mt" />Maltese<option value="id|no" />Norwegian<option value="id|fa" />Persian<option value="id|pl" />Polish<option value="id|pt" />Portuguese<option value="id|ro" />Romanian<option value="id|ru" />Russian<option value="id|sr" />Serbian<option value="id|sk" />Slovak<option value="id|sl" />Slovenian<option value="id|es" />Spanish<option value="id|sw" />Swahili<option value="id|sv" />Swedish<option value="id|th" />Thai<option value="id|tr" />Turkish<option value="id|uk" />Ukrainian<option value="id|ur" />Urdu<option value="id|vi" />Vietnamese<option value="id|cy" />Welsh<option value="id|yi" />Yiddish</select>

<script type="text/javascript">
/* <![CDATA[ */
if(top.location!=self.location)top.location=self.location;
window['_tipoff']=function(){};window['_tipon']=function(a){};
function doGTranslate(lang_pair) {if(lang_pair.value)lang_pair=lang_pair.value;if(lang_pair=='')return;if(location.hostname!='translate.googleusercontent.com' && lang_pair=='id|id')return;var lang=lang_pair.split('|')[1];if(typeof _gaq=='undefined')alert('Google Analytics is not installed, please turn off Analytics feature in GTranslate');else _gaq.push(['_trackEvent', 'doGTranslate', lang, location.pathname+location.search]);if(location.hostname=='translate.googleusercontent.com' && lang_pair=='id|id')openTab(unescape(gfg('u')));else if(location.hostname!='translate.googleusercontent.com' && lang_pair!='id|id')openTab('http://translate.google.com/translate?client=tmpg&hl=en&langpair='+lang_pair+'&u='+escape(location.href));else openTab('http://translate.google.com/translate?client=tmpg&hl=en&langpair='+lang_pair+'&u='+unescape(gfg('u')));}
function gfg(name) {name=name.replace(/[[]/,"[").replace(/[]]/,"]");var regexS="[?&]"+name+"=([^&#]*)";var regex=new RegExp(regexS);var results=regex.exec(location.href);if(results==null)return "";return results[1];}
function openTab(url) {var form=document.createElement('form');form.method='post';form.action=url;form.target='_blank';document.body.appendChild(form);form.submit();}
/* ]]> */
</script>
<script type="text/javascript" src="http://joomla-gtranslate.googlecode.com/svn/trunk/gt_update_notes0.js"></script>