Ajax Arama Modülü

By_Surmeneli

OpenCart-TR
Katılım
19 Tem 2010
Mesajlar
273
Tepkime puanı
0
Puanları
0
Yaş
37
Konum
Trabzon
Web sitesi
www.kodcenneti.com
RE: [MOD] Ajax Arama Modülü

skassas' Alıntı:
Dediklerini yapınca çalıştı mirac. Eline sağlık. Fakat bir ekleme yapmak istiyorum

catalog/controller/product/search.php Aç..

?> bul ve aşağıdaki kodu ekle yazmışsın ya aslında kod ?> dan önceki } in önüne eklenmesi gerek yoksa hatada vermiyor çalışmıyorda. Buna dikkat

Bütün değişiklikleri geri aldım mirac arkadaşımızın dedikleri gibi yaptım ama sizin belirttiğiniz hata oluşuyor nalamadım =?
 

momentmc

OpenCart-TR
Katılım
15 Eki 2010
Mesajlar
10
Tepkime puanı
0
Puanları
0
Elinize sağlık bende de çalıştı.

Sürüm: 1.4.9.2 - OK
 

Boshluk

OpenCart-TR
Katılım
16 Ara 2010
Mesajlar
2
Tepkime puanı
0
Puanları
0
Olmasına olduda . Footerdeki visa paypal mastercard logolarını kaldırdır ve footer ortada sitemin adı yazıyordu onu kaldırdı. Neden oldu olabilir. TEşekkürler modül içn.
 

fprot

OpenCart-TR
Katılım
11 Eki 2010
Mesajlar
15
Tepkime puanı
0
Puanları
0
Boshluk' Alıntı:
Olmasına olduda . Footerdeki visa paypal mastercard logolarını kaldırdır ve footer ortada sitemin adı yazıyordu onu kaldırdı. Neden oldu olabilir. TEşekkürler modül içn.

Muhtemelen Divi komple kaldırdığın için sitenin adı da kalkmıs oldu.
 

irembagi

OpenCart-TR
Katılım
21 Eyl 2010
Mesajlar
163
Tepkime puanı
0
Puanları
0
Yaş
47
Konum
Bursa
Web sitesi
www.bakkoop.com
RE: [MOD] Ajax Arama Modülü

eka7a' Alıntı:
o zaman sitene eklediğin flash koduna bu kodu ekle

home.tpl dosyasında

BUL
Kod:
so.addParam("menu", "false");

ALTINA EKLE
Kod:
so.addParam("wmode", "transparent");

eka merhaba ben aramayı kurdum çalışıyor ancak en üstteki menü ile gelişmiş slayt modülünün altında kalıyor ve yukarıda söylediğin kodlar ne home.tpl ne header.tpl nede footer.tpl içerisinde yok
gelişmiş slayt için eklediğim kodlar içerisindede böyle bir kod yok
nasıl düzeltebilirim yada eklemem gereken kodu nereye nasıl ekleyebilirim
sitem www.bakkoop.com
 

admin

Administrator
Yönetici
Katılım
13 Ağu 2009
Mesajlar
3,200
Tepkime puanı
1
Puanları
38
Yaş
38
Konum
Bursa
Web sitesi
www.opencart-tr.com
Ajax arama ile gelen css dosyasındaki z-index değeri diğer divlerin z-index değerlerinden yüksek olması gerekir. z-index değeri atanmamışsa ataman gerekir.
z-index hakkında bilgi almak için buradaki e-bookdan yararlanabilirsin
http://forum.opencart-tr.com/thread-1579.html
 

irembagi

OpenCart-TR
Katılım
21 Eyl 2010
Mesajlar
163
Tepkime puanı
0
Puanları
0
Yaş
47
Konum
Bursa
Web sitesi
www.bakkoop.com
malesef denedim ama yine olmadı

stylesheet.css dosyası
PHP:
html {
	overflow: -moz-scrollbars-vertical;
}
form, html, *{
	margin:0;
	padding:0;
}
body {
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;	
	background:#fff url(../image/bg-repeat.png) repeat-x top;	
}
body, td, th, input, textarea, select, a {
	font-size: 12px;
}
form {
	display: inline;
}
input, textarea, select {
	margin: 3px 0;
}

/* Layout Styles */

#wrapper-outer{
	width:100%;
	background:url(../image/bg.png) no-repeat center top;
}
#wrapper{
	width: 960px;
	margin-left: auto;
	margin-right: auto;
}

/* Header Styles Starts */

#header-top{
	height:40px;
	overflow:hidden;
}
#header{
	height:90px;
	overflow:hidden;
}
.logo{
	float:left;
	padding:4px 0 0 0;
}
#search-wrap{
	padding:30px 0 0 0;
	float:right;
}
	#search{
		background:url(../image/search-bg.png) no-repeat;
		width:297px;
		height:32px;
	}
	.search-input{
		width:220px;
		height:29px;
		line-height:29px;
		color:#fff;
		margin:0;
		padding:0 10px 0 18px;
	}
	.search-button{
		width:32px;
		height:32px;
		float:right;
	}
	.search-input, .search-button{
		background:none;
		outline:none;
		border:none;
	}
#menu{
	height:40px;
	background:url(../image/menu_bg.png) no-repeat;
	padding:0 15px;
}
	#menu ul{
		list-style:none;
	}
		#menu li{
			position:relative;
			padding:0 5px;
			z-index:2000;
		}
			#menu li, #menu li a, #menu li a span, #menu li a.selected, #menu li a.selected span{
				display:block;
				float:left;
				height:40px;
				line-height:40px;
				font-weight:normal;
				font-size:13px;
				color:#232323;
				cursor:pointer;
				text-decoration:none;
				outline:none;
			}
			#menu li a{
				padding:0 0 0 8px;
			}
				#menu li a span{
					padding:0 18px 0 10px;
				}
			#menu li a:hover, #menu li a.selected{
				background:url(../image/menu_h_left.png) no-repeat left;
			}
				#menu li a:hover span, #menu li a.selected span{
					background:url(../image/menu_h_right.png) no-repeat right;
				}
			#menu li a:hover, #menu li a:hover span, #menu li a.selected, #menu li a.selected span{
				color:#fff;
			}
#banner{
	height:250px;
	margin:10px 0;
}
#breadcrumb {
	padding-bottom:5px;
	height: 13px;
	margin-bottom: 5px;
	color: #000000;
	text-align:left;
}
#breadcrumb a{
	padding:0 5px;
}
.switcher {
	float: right;	
	margin-top: 9px;
	margin-left: 10px;
	text-align:left;
}
.switcher a {
	text-decoration: none;
	display: block;
}
.switcher .selected {
	background: #840109;
}
.switcher .selected a {
	border: 1px solid #b00007;
	background: url('../image/arrow_down.png') 116px center no-repeat;
	color: #fff;
	padding: 2px 5px 2px 5px;
	width: 121px;
}
.switcher .selected a:hover {
	background: #690007 url('../image/arrow_down.png') 116px center no-repeat;
}
.switcher .option {	
	position: absolute;
	z-index: 3;
	border-left: 1px solid #b00007;
	border-right: 1px solid #b00007;
	border-bottom: 1px solid #b00007;
	background-color: #690007;
	display: none;
	width: 131px;
}
.switcher .option a {
	color: #fff;
	padding: 3px 5px 3px 5px;
}
.switcher .option a:hover {
	background: #840109;
}
.switcher img {
	position: relative;
	top: 1px;
}

/* Header Styles Ends */

#container {
	text-align: left;
}
.container1{
	margin-top:-10px;
}

/* Column Left & Right Styles Starts */

#column_left {
	float: left;
	width: 180px;
	margin-right: 10px;
	clear: left;
}

#column_right {
	float: right;
	width: 180px;
	margin-left: 10px;
	clear: right;
}

/* Box Styles Starts */

.box {
	margin-bottom: 10px;
	background: url('../image/box_top.png') no-repeat;
}
.box .top {
	padding: 0 0 0 27px;
	color: #fff;
	font-size: 13px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	text-transform: uppercase;
	height:30px;
	line-height:30px;
}
.box .top img {
	float: left;
	margin-right: 5px;
	display:none;
}
.box .middle {
	background: #FFFFFF;
	padding: 10px;
}
.box .middle img{
	padding-right:10px;
}
.box .bottom {
	height: 5px;
}

/* Box Styles Ends */

#category ul, #information ul{
}
#category ul li, #information ul li{
	padding:5px 0 5px 16px;
	background:url(../image/arrow.gif) no-repeat 5px 10px;
	border-bottom:1px dotted #222;
	list-style:none;
}
#category ul li a, #information ul li a{
	color:#333;
	text-decoration:none;
	font-size:11px;
	font-weight:normal;
}
#category ul li a:hover, #information ul li a:hover{
	color:#000;
	text-decoration:underline;
}
/* Column Left & Right Styles Ends */

/* Central Column Styles Starts */

#content {
	margin-left: 190px;
	margin-right: 190px;
	margin-bottom: 10px;
}

/* Box Styles Starts */

#content .top .left {
	background: url('../image/content_top_left.png') no-repeat;
	width: 5px;
	height: 32px;
	float: left;
}
#content .top .right {
	background: url('../image/content_top_right.png') no-repeat;
	width: 5px;
	height: 32px;
	float: right;
}
#content .top .center {
	background: url('../image/content_top_center.png') repeat-x;
	margin-left: 5px;
	margin-right: 5px;
}
#content .top h1, .heading {
	padding: 8px 0px 8px 7px;
}
#content h1, .heading {
	color: #fff;
	font-size: 13px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	text-transform: uppercase;
	margin: 0px;
}
#content .middle {
	background: #FFFFFF;
	padding: 10px 10px 1px 10px;
	min-height: 30px;
}
#content .bottom .left {
	width: 5px;
	height: 5px;
	float: left;
}
#content .bottom .right {
	width: 5px;
	height: 5px;
	float: right;
}
#content .bottom .center {
	height: 5px;
	margin: 0 5px 10px 5px;
}

/* Box Styles Ends */

.content {
	background: #F7F7F7;
	border: 1px solid #DDDDDD;
	padding: 10px;
	margin-top: 3px;
	margin-bottom: 10px;
}
.list {
	margin-bottom: 10px;
	width: 100%;
}
.list td {
	text-align: center;
	vertical-align: top;
	padding-top: 10px;
	padding-right: 5px;
	padding-bottom: 10px;
	padding-left: 10px;
    border: 1px solid #A8CDFF;

}
.list   img {
	border: 1px solid #DFDFDF;
}
.selectedRow {
    background-color: #ACCEFF;
    cursor: pointer;
	-moz-border-radius:5px;
	border-radius:5px;
	-webkit-border-radius:5px;
}
.sort {
	margin-bottom: 10px;
	background: #F8F8F8;
	height: 30px;
	width: 100%;
}
.sort .div1 {
	float: right;
	margin-left: 5px;
	padding-top: 6px;
	padding-right: 9px;
}
.sort .div2 {
	text-align: right;
	padding-top: 9px;
}
.sort select {
	font-size: 11px;
	margin: 0;
	padding: 0;
}

/* Pagination Styles Starts */

.pagination {
	display: inline-block;
	width: 100%;
	background: #F8F8F8;
	margin-bottom: 10px;
}
.pagination .links, .pagination .results {
	padding: 7px;
}
.pagination .links {
	float: left;
}
.pagination .links a {
	border: 1px solid #CCCCCC;
	padding: 4px 7px;
	text-decoration: none;
	color: #000000;
}
.pagination .links b {
	border: 1px solid #CCCCCC;
	padding: 4px 7px;
	text-decoration: none;
	color: #000000;
	background: #FFFFFF;
}
.pagination .results {
	float: right;
}

/* Pagination Styles Ends */

/* Tabs Styles Starts */

.tabs {
	width: 100%;
	height: 31px;
	margin-bottom: 0px;
}
.tabs a {
	float: left;
	display: block;
	padding: 6px 15px 7px 15px;
	margin-right: 2px;
	background:#FFFFFF url('../image/tab_hover.png') repeat-x;
	color: #fff;
	font-weight: bold;
	font-size: 12px;
	text-decoration: none;
	z-index: 1;
	position: relative;
	top: 1px;
}
.tabs a:hover{
	text-decoration:none;
	color:#fff;
}
.tabs a.selected {
	background:#FFFFFF url('../image/tab.png') repeat-x;
	border-bottom: 0px;
	padding-bottom: 8px;
	z-index: 3;
}
.tab_page {
	border: 1px solid #DDDDDD;
	background: #FFFFFF;
	padding: 10px;
	display: block;
	z-index: 2;
	margin-bottom: 10px;
}

/* Tabs Styles Ends */

/* Central Column Styles Ends */

/* Success & Error Messages Styles Starts */

.success {
	padding: 5px 0px;
	margin-bottom: 10px;
	background: #E4F1C9;
	border: 1px solid #A5BD71;
	font-size: 11px;
	font-family: Verdana, Geneva, sans-serif;
	text-align: center;
}
.warning {
	padding: 5px 0px;
	margin-bottom: 10px;
	background: #FFDFE0;
	border: 1px solid #FF9999;
	font-size: 11px;
	font-family: Verdana, Geneva, sans-serif;
	text-align: center;
}
.wait {
	padding: 5px 0px;
	margin-bottom: 10px;
	background: #FBFAEA;
	border: 1px solid #EFEBAA;
	font-size: 11px;
	font-family: Verdana, Geneva, sans-serif;
	text-align: center;
}
.required {
	color: #FF0000;
	font-weight: bold;
}
.error {
	color: #FF0000;
	display: block;
}
.help {
	cursor: pointer;
}
.tooltip {
	border: 1px solid #FDDA5C;
	background: #FBFF95;
	padding: 5px;
	font-size: 11px;
	width: 250px;
}
.clear { /* generic container (i.e. div) for floating buttons */
	overflow: hidden;
	width: 100%;
}

/* Success & Error Messages Styles Starts */

/* Buttons Styles Starts */

.button {
	padding-left: 8px;
	display: inline-block;
	margin-right: 5px;
	background: url('../image/button_left.png') top left no-repeat;
	text-decoration: none;
	color:#FFF;
}
.button span {
	color: #FFF;
	display: block;
	padding: 4px 12px 5px 5px;
	background: url('../image/button_right.png') top right no-repeat;
}
.buttons {
	background: #F8F8F8;
	border: 1px solid #DDDDDD;
	padding: 5px;
	margin-bottom: 10px;
}
.buttons input {
	padding: 0px;
	margin: 0px;
}
.buttons table {
	width: 100%;
	border-collapse: collapse;
}
.buttons table td {
	vertical-align: middle;
}

/* Buttons Styles Ends */

/* Cart Style Starts */

.cart {
	border-collapse: collapse;
	width: 100%;
	border: 1px solid #EEEEEE;
	margin-bottom: 10px;
}
.cart th {
	background: #EEEEEE;
	padding: 5px;
	font-weight: normal;
}
.cart td {
	padding: 5px;
}
.tags, .tags a {
	font-style: italic;
	font-size: x-small;
}
#module_cart .middle {
	padding: 5px;
}
.cart_module_total {
	padding: 0 3px 0 3px;
	font-size: 0.9em; 
	color: #222;
}
.cart_remove {
	margin-top: 3px;
	background: url('../image/list_remove_btn.gif') no-repeat left center transparent;
	padding-right:10px;
	cursor:pointer;
}
.cart_remove_loading {
	margin-top: 3px;
	background: url('../image/ajax_load.gif') no-repeat transparent;
	padding-right:10px;
}
.button_add_small, a.button_add_small:visited {
	margin-top: 3px;
	background: url('../image/button_add_small.png') no-repeat left center transparent;
	padding:5px;
	text-decoration: none;
	cursor:pointer;
}
#content .middle .box {
	float: left;
	margin: 0 6px 10px 6px;
	min-height: 0px;
}
#content .middle .box .middle {
	width: 158px;
	min-height: 0px;
}

/* Footer Styles Starts */

#footer-wrap{
	width:100%;
	background:url(../image/footer_bg.png) repeat-x;
}
	#footer{
		height:50px;
		width:960px;
		margin:0 auto;
	}
	#footer, #footer a{
		color:#fff;
		line-height:50px;
		text-decoration:none;
		font-size:12px;
	}
	#footer br{
		display:none;
	}
	#footer a:hover{
		text-decoration:underline;
	}

/* Footer Styles Ends */

/* Genric Styles Starts */

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
.clearfix {
	display: inline-block;
}
html[xmlns] .clearfix {
	display: block;
}
* html .clearfix {
	height: 1%;
}
a, a:visited {
	color: #222;
	text-decoration: none;
	cursor: pointer;
}
a:hover{
	text-decoration: underline;
	color:#b40101;
}
a img{
	border: none;
}
.floatleft{float:left;}
.floatright{float:right;}
.normal, .normal a{font-weight:normal;}
.textbold{font-weight:bold;}

.welcome {
   clear: both;
   margin: 3px 0px 3px 0px;
   text-align: left;font-size: 12px;
    border: 1px solid #e8e8e8;
	background: #B3D2FE;
padding: 1px;padding-left: 5px;
}
/* Genric Styles Ends */

livesearch.css dosyası
PHP:
#search {
	position: relative;
	top: 0px;
	left: 0px;
    z-index:5000;
    
}
#search_results {
	margin:0px;
	padding:5px;
	position: absolute;
	top: 30px;
	left: 52px;
	background-color: #1B57A3;
	list-style-type: none;
	z-index:5000;
}
#search_results li {
	padding: 2px 0px;
    z-index:5000;
}
#search_results a,
#search_results a:visited,
#search_results a:hover {
	color: #fff;
	text-decoration: none;
    z-index:5000;
}
#search_results a:hover {
	color: #FFF;
    z-index:5000;
}
#search_results li:hover {
	background-color: #0CC;
    z-index:5000;
}
#search_results .highlighted {
	background-color: #0CC;
    z-index:5000;
}

livesearch.css dosyasının tümüne z-index:5000; ekledim ama yinede olmadı

stylesheet.css dosyasının içerisindeki en yüksek değer 2000
ben heryere 5000 ekledim ama yinede olmadı
---------------------------
ancak şöyle bişey denedim
livesearch.css dosyasında

#search {
position: relative;
top: 0px;
left: 0px;
z-index:5000;


değerlerinden
position: relative;
sildim ve bu sefer sayfanın sağ başınta hem menü hem slaytın üstünde gösteriyor
 

admin

Administrator
Yönetici
Katılım
13 Ağu 2009
Mesajlar
3,200
Tepkime puanı
1
Puanları
38
Yaş
38
Konum
Bursa
Web sitesi
www.opencart-tr.com
#menu etiketine atamayı dene

z-index:2000;

ya da

position: relative;
z-index:2000;
 

irembagi

OpenCart-TR
Katılım
21 Eyl 2010
Mesajlar
163
Tepkime puanı
0
Puanları
0
Yaş
47
Konum
Bursa
Web sitesi
www.bakkoop.com
malesef yine olmadı
stylesheet.css dosyasına
söylediğin 2 farklı kodu ekledim ikisindede düzelmedi
 

mirac

OpenCart-TR
Katılım
7 Şub 2010
Mesajlar
1,383
Tepkime puanı
0
Puanları
36
Yaş
42
Konum
Beykoz____
Web sitesi
www.notebook-cantasi.com
livesearch.css inin search positionunu absolute yapıp index değerini 1000 yaparak left: 0px değerini right:150px gibi dene..:)

relative sildiğinde sol başına gelmesi lazım..
 

irembagi

OpenCart-TR
Katılım
21 Eyl 2010
Mesajlar
163
Tepkime puanı
0
Puanları
0
Yaş
47
Konum
Bursa
Web sitesi
www.bakkoop.com
ok dediğin gibi yaptım düzeldi
ya birde daha öncesindende türkçe karakter sorunu vardı bu konuyla ilgili forumda konularda mevcut ama hala çözebilmiş değilim
mesela arama kutusunda emek kelimesini arayp deneyebilirsiniz çıkan sonuçları
 

mirac

OpenCart-TR
Katılım
7 Şub 2010
Mesajlar
1,383
Tepkime puanı
0
Puanları
36
Yaş
42
Konum
Beykoz____
Web sitesi
www.notebook-cantasi.com
Exelden ürünleri aktarıyorsan butür hatalar çıkabiliyor.. Tam anlamıyla decode etmiyormu araştırmadım açıkçası ama admin panelden hata aldığın ürünleri düzenle deyip kayıt ettiğinde sorun ortadan kalkıyor olması lazım..
 

irembagi

OpenCart-TR
Katılım
21 Eyl 2010
Mesajlar
163
Tepkime puanı
0
Puanları
0
Yaş
47
Konum
Bursa
Web sitesi
www.bakkoop.com
evet mirac şu an sitede son gelen ürünlerin içerisinde 2 deneme ürünü var türkçe karkter içeriyor
onlar admin panelden elle girilmiş ürünler
ve onlarda sorun çıkarmıyor
 

mirac

OpenCart-TR
Katılım
7 Şub 2010
Mesajlar
1,383
Tepkime puanı
0
Puanları
36
Yaş
42
Konum
Beykoz____
Web sitesi
www.notebook-cantasi.com
Şuan için dediğim gibi türkçe karakterleri ya excelden düzeltip sisteme atacaksın yada admin panelden hata aldığın ürünleri düzenle diyip kayıt edeceksin.. Alternatif bir çözüm hatırlamıyorum.. Pear kütüphanesi hakkında pek bilgim yok o yüzden genel bir çözüm bulmak istiyorsan yabancı sitelerde araştırma yapman gerekecek..
 

liberti

OpenCart-TR
Katılım
14 Şub 2011
Mesajlar
18
Tepkime puanı
0
Puanları
0
1.4.9 için de olurmu bu dosyalar

Notice: Undefined variable: model in /var/www/vhosts/yeniege.org/httpdocs/catalog/view/theme/6color_sb/template/product/search.tpl on line 40 Notice: Undefined variable: entry_model in /var/www/vhosts/yeniege.org/httpdocs/catalog/view/theme/6color_sb/template/product/search.tpl on line 45
hata veri

YA ANLAMDIM GITTI BIRSI BIRSEY YAPMIS BIRSI BİRSEYyazmıs konu oradan oraya gitmiş ..dağınıkklı hakım..
bu dosyaları ftp ile atıyorım aynısı var dıyor.. uzrine yazsam dosyalar bozulacak....
bunu hangı dosyayı nereye yazmıyor...
 

mirac

OpenCart-TR
Katılım
7 Şub 2010
Mesajlar
1,383
Tepkime puanı
0
Puanları
36
Yaş
42
Konum
Beykoz____
Web sitesi
www.notebook-cantasi.com
Dosyalarda değişiklik olduğu için değiştirmeye izin vermezseniz hatayı almanız doğal.. Yedeklerinizi alıp değişim iznine onay veriniz..
 

vlknn

OpenCart-TR
Katılım
15 May 2010
Mesajlar
40
Tepkime puanı
0
Puanları
0
Mesela bu modülde arama adetlerini sınırlandırmayı nasıl yapacağız?
Arama sonuçlarında 10 tane üründen fazla görünmesin ancak yanda bir kaydırma çubuğu çıksınki müşteri uzun bir listeye bakmak zorunda kalmasın kaydırma yöntemiyle tek tek inceleme fıssatıda olmuş olur.
 

halit

OpenCart-TR
Katılım
1 Kas 2010
Mesajlar
9
Tepkime puanı
0
Puanları
0
www.bitiklakapinda.com bu sitede js hatası veriyor acaba sorun nerden kaynaklanıyordur ?


Web sayfası hata ayrıntıları

Kullanıcı Aracısı: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET CLR 1.1.4322; .NET CLR 3.0.04506.30; .NET4.0C; .NET4.0E)
Tarih damgası: Tue, 26 Apr 2011 13:13:23 UTC


İleti: Nesne bekleniyor
Satır: 81
Karakter: 1
Kod: 0
URI: http://www.bitiklakapinda.com/catalog/view/javascript/livesearch.js
 
Üst