belajar dan berbagi

Edit osclass modern theme latest items

Edit osclass modern theme latest items. Pada dasarnya osclass modern themes yang asli pada bagian Latest ads / Iklan terakhir terakhir adalah dengan tampilan seperti dibawah ini;
osclass modern theme latest items
tampilan modern themes pada halaman home page osclass tersebut bisa diubah menjadi berbentuk tumbnail hanya tampil judul dan gambar serta harga seperti gambar dibawah ini :
Edit osclass modern theme latest items
Jika pembaca ingin coba otak atik membuat tampilan osclass moder themes seperti cerita diatas, mari ikuti langkah-langkahnya:
1. Login ke cpanel pada hosting anda
2. buka main.php tepatnya pada folder : /public_html/oc-content/themes/modern/main.php


3. Cari kode :
<div class="latest_ads">
...................
sampai ke
</div>
</div>
tepatnya diatas
<div id="sidebar">

4. Ganti dengan kode:
<div class="latest_ads">
<h1><strong><?php _e('Latest Listings', 'modern'); ?></strong></h1>
<?php if( osc_count_latest_items() == 0) { ?>
<p class="empty"><?php _e('No Latest Listings', 'modern'); ?></p>
<?php } else { ?>
<style type="text/css">
ul.grid_view{margin: 8px 0px 22px 0px;}
.grid_view li {display: inline; list-style: none; width: 144px; height: 177px; float: left; margin: 4px 4px 8px 4px; text-align: center; border: 1px solid #12A5F4; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 2px rgba(0,0,0,.2); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.grid_view li h3{ margin: 5px; height: 27px; overflow: hidden; text-overflow: ellipsis; background: transparent; }
.grid_view li h3 a{ text-decoration: none; text-transform: capitalize;}
.grid_view li p{ height: 20px; overflow: hidden; text-overflow: ellipsis; margin: 4px 4px 4px 4px; text-align: center;background: #FF6600;font-size: 14px;}
.grid_view img{ border: 1px solid #C0C0C0;}
</style>
<ul class="grid_view">
<?php while ( osc_has_latest_items() ) { ?>
<?php if( osc_images_enabled_at_items() ) { ?>
<li>
<?php if( osc_count_item_resources() ) { ?>
<img src="<?php echo osc_resource_thumbnail_url() ; ?>" width="133px" height="110px" title="" alt="" />
<?php } else { ?>
<img src="<?php echo osc_current_web_theme_url('images/no_photo.gif') ; ?>" width="133px" height="110px" alt="" title=""/>

<?php } } ?>
<h3><a href="<?php echo osc_item_url();?>"><?php echo osc_item_title();?></a></h3>
<p>



<strong><?php if (osc_price_enabled_at_items()) { echo osc_item_formated_price(); }?></strong></li>
<?php } ?>
</ul>
<?php if( osc_count_latest_items() == osc_max_latest_items() ) { ?>
<p class='pagination'><?php echo osc_search_pagination(); ?></p>
<p class="see_more_link"><a href="<?php echo osc_search_show_all_url();?>"><strong><?php _e("See all offers", 'modern'); ?> &raquo;</strong></a></p>
<?php } ?>
<?php View::newInstance()->_erase('items'); } ?>
</div>
</div>

5. Simpan dan lihat hasilnya.
6. JIka masih bingung, semua kode pada main.php nya jadi seperti dibawah ini:
<?php
/*
* Osclass – software for creating and publishing online classified
* advertising platforms
*
* Copyright (C) 2012 OSCLASS
*
* This program is free software: you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as published by the Free Software Foundation, either version 3 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public
* License along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="<?php echo str_replace('_', '-', osc_current_user_locale()); ?>">
<head>
<?php osc_current_web_theme_path('head.php'); ?>
<meta name="robots" content="index, follow" />
<meta name="googlebot" content="index, follow" />
</head>
<body>
<?php osc_current_web_theme_path('header.php'); ?>
<div class="form_publish">
<?php osc_current_web_theme_path('inc.search.php'); ?>
</div>
<div class="content home">
<?php if (function_exists('carousel')) {carousel();} ?>
<div id="main">
<?php osc_current_web_theme_path('inc.main.php') ; ?>
<div class="latest_ads">
<h1><strong><?php _e('Latest Listings', 'modern'); ?></strong></h1>
<?php if( osc_count_latest_items() == 0) { ?>
<p class="empty"><?php _e('No Latest Listings', 'modern'); ?></p>
<?php } else { ?>
<style type="text/css">
ul.grid_view{margin: 8px 0px 22px 0px;}
.grid_view li {display: inline; list-style: none; width: 144px; height: 177px; float: left; margin: 4px 4px 8px 4px; text-align: center; border: 1px solid #12A5F4; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 2px rgba(0,0,0,.2); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.grid_view li h3{ margin: 5px; height: 27px; overflow: hidden; text-overflow: ellipsis; background: transparent; }
.grid_view li h3 a{ text-decoration: none; text-transform: capitalize;}
.grid_view li p{ height: 20px; overflow: hidden; text-overflow: ellipsis; margin: 4px 4px 4px 4px; text-align: center;background: #FF6600;font-size: 14px;}
.grid_view img{ border: 1px solid #C0C0C0;}
</style>
<ul class="grid_view">
<?php while ( osc_has_latest_items() ) { ?>
<?php if( osc_images_enabled_at_items() ) { ?>
<li>
<?php if( osc_count_item_resources() ) { ?>
<img src="<?php echo osc_resource_thumbnail_url() ; ?>" width="133px" height="110px" title="" alt="" />
<?php } else { ?>
<img src="<?php echo osc_current_web_theme_url('images/no_photo.gif') ; ?>" width="133px" height="110px" alt="" title=""/>

<?php } } ?>
<h3><a href="<?php echo osc_item_url();?>"><?php echo osc_item_title();?></a></h3>
<p>



<strong><?php if (osc_price_enabled_at_items()) { echo osc_item_formated_price(); }?></strong></li>
<?php } ?>
</ul>
<?php if( osc_count_latest_items() == osc_max_latest_items() ) { ?>
<p class='pagination'><?php echo osc_search_pagination(); ?></p>
<p class="see_more_link"><a href="<?php echo osc_search_show_all_url();?>"><strong><?php _e("See all offers", 'modern'); ?> &raquo;</strong></a></p>
<?php } ?>
<?php View::newInstance()->_erase('items'); } ?>
</div>
</div>
<div id="sidebar">
<div class="navigation">
<?php if(osc_count_list_cities() > 0 ) { ?>
<div class="box location">
<h3><strong><?php _e("Location", 'modern') ; ?></strong></h3>
<ul>
<?php while(osc_has_list_cities() ) { ?>
<li><a href="<?php echo osc_search_url( array( 'sCity' => osc_list_city_name() ) ) ; ?>"><?php echo osc_list_city_name() ; ?></a> <em>(<?php echo osc_list_city_items() ; ?>)</em></li>
<?php } ?>
</ul>
</div>
<?php } ?>
</div>
</div>
</div>
</body>
</html>
<?php osc_current_web_theme_path('footer.php') ; ?>
</body>
</html>

Cara print microsoft word arabic

Cara print microsoft word arabic

. Telah banyak posting dari teman-teman blogger yang menjelaskan tentang cara menulis arab / cara mengetik arab pada microsoft word begitu juga cara installnya. Setalah membaca posting tentang cara menulis arab /

cara mengetik arab pada microsoft word

tersebut dan lalu mengikuti, tentunya saudara telah berhasil mengikutinya.
Namun mungkin masih ada kendala saat melihat angka pada dokument tersebut dan saat akan mencetak / print dokumen tersebut yaitu huruf masih tetap membandel dengan font aslinya (belum berubah dengan font bahasa arab.
Wah panjang nian ceritonyo.

Kita langsung ke tentang cara print microsoft word arabic (untuk Ms. Office 2010)

.
1. Buka Ms. Word / File yang akan diprint
2. Klik File
3. Cari Option dan Klik jika sudah ketemu
Cara print microsoft word arabic
4. Jika menu Option telah dibuka, lalu cari Advanced, cari Numeral, ganti dengan Hindi
cara menulis arab di microsoft word

cara menulis huruf arab di microsoft word

Custom page not found blogger

Custom page not found blogger / pesan khusus untuk laman tidak ditemukan

. Banyak cara untuk mengkustomisasi pada Pesan Khusus Halaman tidak temukan di blogger. Ada hanya membuat redirect halaman error 404 ke halaman Home Page, ada juga yang membuat dengan berbagai macam animasi gambar ada juga membuat dengan menu pencarian.
Pada posting kali ini, ikhsanudin.com mencoba untuk membuat sebuah posting tentang kustomisasi pada :

Pesan Khusus Halaman tidak temukan /Custom page not found blogger

1. login ke blogger dengan email dan password tentunya
2. Masuk ke setting / pengaturan
3. Search preferences
4.

Custom Page Not Found

Custom page not found blogger
5. Masukkan kode berikut ke dalam kotak kustomisasi
<div class="ra ketemu">
<div class="links">
<h2>Maaf...! Halaman yang anda cari tidak ditemukan</h2>

<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGtOUnHMSD2NhIJ0jObqJNLj1uD1LL7ljb8J0bckAiveTMxS-4HkXvfficQK_4zpNGxTu_e7kCXcw3cCo8aWSzjaU0-vfU5sTyFxRtmm14lV8CXmCuQIHCyzWqgulxLIEL8kjBj1DFZHI/s1600/nangis+halaman+tidak+ditemukan.gif" alt="error 404" title="Halaman Tidak Ditemukan"/>


<h3>Silahkan cari kembali melalui kotak di bawah ini</h3>

<style>
#search-box {
position: relative;
width: 100%;
margin: 0;
}

#search-form
{
height: 40px;
border: 1px solid #999;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
background-color: #fff;
overflow: hidden;
}
#search-text
{
font-size: 14px;
color: #ddd;
border-width: 0;
background: transparent;
}

#search-box input[type="text"]
{
width: 90%;
padding: 11px 0 12px 1em;
color: #333;
outline: none;
}

#search-button {
position: absolute;
top: 0;
right: 0;
height: 43px;
width: 90px;
font-size: 13px;
color: #fff;
text-align: center;
line-height: 43px;
border-width: 0;
background-color: #418ddc;
-webkit-border-radius: 0px 3px 3px 0px;
-moz-border-radius: 0px 3px 3px 0px;
border-radius: 0px 3px 3px 0px;
cursor: pointer;
}
</style>

<div id='search-box'>
<form action='/search' id='search-form' method='get' target='_top'>
<input id='search-text' name='q' placeholder='Ketik disini' type='text'/>
<button id='search-button' type='submit'><span>Search</span></button>
</form>
</div>
</div>
</div>

6. Klik simpan, dan lihat hasilnya
Pesan Khusus Halaman tidak temukan
lihat demo Custom page not found blogger
Back To Top