Site, Server Genel » AWBS Destek

Awbs'de Ek Sayfalar nasıl Yapılır ?

http://forum.whmdestek.com/

Go Back   WHM/cPanel Support Platform » Türkçe » Site, Sunucu Sorunlarınız ve Çözümleri » Site, Server Genel » AWBS Destek
 


Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 29.08.07, 23:24
Tickhi's Avatar
Athlon Dual Core
 
Join Date: Jul 2007
Location: Bulgaria
Posts: 368
Rep Power: 6
Tickhi is just really niceTickhi is just really niceTickhi is just really niceTickhi is just really niceTickhi is just really nice
Send a message via MSN to Tickhi Send a message via Yahoo to Tickhi Send a message via Skype™ to Tickhi
Awbs'de Ek Sayfalar nasıl Yapılır ?

Awbs de kendinizin olan ek sayfaları ilave etmek oldukça basittir. Nasıl mı ?




Buluduğun yer : templates/(templatesadı)/

header.php
Bütün satfalarınızın üstünde görünecek sayfadır, ve tüm metataglerde burdadır.

top.php
Bütün sayfalarınızın üstünde çıkacak alandır.banner i logo vs menüleri burdan düzenleyebilirsiniz.


left.php

Sitenizde bütün sayfalarınızda çıkacak alandır.Bir kolun gibidir.Dilediğiniz gibi editlebilirsiniz, menünüz solda ise menü alanını unutmayınız.

right.php
Same as left, but on the right of all pages.

bottom.php
Sitenizin altında çıkacak olan ve bütün sayfalarda görünecek alandır.Buraya dilediğiniz resmi vs koyabilirsiniz.



Resimler:

Değiştrimek istediğiniz resimlerin bazılar awbs templates içinde devkit dizini içinde psd formatında bulunmaktadır.

Sayfa Ekleme:


Awbs de sayfa ekelebilmek için önce templates/ dizini içindeki basicphptemplate.php dosyasını bulunuz...

Notpad editör veya bir başka editor yardımı ile sayfayı açınız...

1-Bir başka editör yardımı ile yaptığınız html sayfada olabilir... Yani sizin kendi tasarımınız olan sayfanın kodlarını alın ve basicphptemplate.php sayfası içinde



<!--begin page content--add rows - start with <tr> and end with </tr> and you will be fine....-->

Yaptığınız sayfa kodlarını bu araya yapıştırnız

<!--end page content-->


Daha sonra bu sayfayı farklı kayded yapın ve kaydedin..... ( Örneğin : bayi.php )

ve bu sayfayı sitenize upload ediniz.... templates/ ..... templates dizini içine


2- Şimdi ana dizin içinde bulunan basicphptemplate.php sayfasını bulun ve yine editor yardımı ile açınız

orda şöyle bir koda göreceksiniz :

print $template->parse("basictemplate.php"); burdaki basictemplate yazısısını daha önce yapmış olduğunuz sayfaya vermiş olduğunuz isimle değiştriniz
Örnek :

print $template->parse("bayi.php"); ve farkı kaydet deyip , sayfayı bir önceki yapmış olduğunuz sayfa ile aynı isimde kaydedip... Serverinizdeki ana dizine gönderin.... Hepsi bu

Daha sonra test için Örnek : domainadi.com gibi sayfayı çağırdığınızda sayfanız gelecektir.



Hepinize kolay gelsin.....

Alıntıdır
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 30.08.07, 12:08
sinangunay's Avatar
FULL DESTEK SUNUCULAR
 
Join Date: Jul 2007
Location: biLi biLi boP
Age: 28
Posts: 1,664
Rep Power: 1073
sinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond repute
tebrikler güzel paylaşım
__________________
-----------------------------------------------------------------------------------------
>> LÜTFEN ÜCRETSİZ DESTEK TALEP ETMEK İÇİN MSN ADRESLERİMİZİ EKLEMEYİNİZ. HER TÜRLÜ ÜCRETSİZ DESTEK İÇİN FORUMLARIMIZI KULLANINIZ. TEŞEKKÜRLER <<
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 30.08.07, 19:10
Tickhi's Avatar
Athlon Dual Core
 
Join Date: Jul 2007
Location: Bulgaria
Posts: 368
Rep Power: 6
Tickhi is just really niceTickhi is just really niceTickhi is just really niceTickhi is just really niceTickhi is just really nice
Send a message via MSN to Tickhi Send a message via Yahoo to Tickhi Send a message via Skype™ to Tickhi
Awbs de Menü Ekleme

Öncelikle dil dosyası içindeki global.php dosyasını bulun...

Tahminen 114. Satırda başlayan sol menü için


//leftmenu
define(TITLE1, "Hesap Menüsü");
define(TITLE2, "Hosting Hizmetleri");
define(TITLE3, "Ücretlendirme");
define(TITLE4, "Admin Menu");
define(TITLE5, "Domain Hizmetleri");
define(TITLE6, "Diğer Hizmetler");
define(TITLE7, "Bayilik Hizmetleri");
define(TITLE8, "Firma Bilgileri");
define(TITLE9, "Diğer Bilgiler");
define(LMENU1, "Ana Sayfa");
define(LMENU2, "Sepetim");
define(LMENU3, "Hesabım");
define(LMENU4, "Yeni Hesap");
define(LMENU5, "Giriş");
define(LMENU6, "Domain Yönetimi");
define(LMENU7, "Transfer Durumu");
define(LMENU8, "Hosting Paketleri");
define(LMENU9, "Domain Kayıt");
define(LMENU10, "Name Domain");
define(LMENU11, "Domain Transfer");
define(LMENU12, "E-mail Hosting");
define(LMENU13, "Domain Pazarı");
define(LMENU14, "Sunucu Kiralama");
define(LMENU15, "Bayi Hosting");
define(LMENU16, "Domain Bayilik");
define(LMENU17, "KAMPANYALAR");
define(LMENU18, "Whois Kontrol");
define(LMENU19, "Domain Ücretleri");
define(LMENU20, "Hosting Ücretleri");
define(LMENU21, "Admin Anasayfa");
define(LMENU22, "Windows Hosting");
define(LMENU23, "Diğer Hizmetler!");
define(LMENU24, "Windows Serverlar");
define(LMENU25, "Web Dizayn");
define(LMENU26, "Firma Bilgileri");
define(LMENU27, "Referanslarımız");
define(LMENU28, "Dikkatli Olun");
define(LMENU29, "S.S.Sorular");
define(LMENU30, "Yeni Menü");




Yeni menü yazdığımız gibi sizde istediğiniz kadar ekleyebilirsiniz..



Daha sonra templates dizini içinde gurup1menu.php yi açınız....


ve linkinizin hangi ana başlık altında çıkması istediğinize karar veriniz...

Örnek olarak yeni menü buttonu için... 6. Ana Menü başlığı altına koymak isiyorsak.... LMENU30 olarak değiştirip ve vermek istediğiniz link adresinizi giriniz....



<br><font face="verdana, Helvetica, san-serif" size="2"><?=TITLE6?></font><br>
<?php if($hosting_active==1){ ?>
<img src="templates/<?=$templatedir?>/images/bullet.gif" height="10" width="8">&nbsp;&nbsp;<a href="<?=$base?>/packages.php" class="menu"><?=LMENU30?></a>&nbsp;&nbsp;<br>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 23.09.07, 10:09
Celeron
 
Join Date: Jul 2007
Posts: 69
Rep Power: 2
goodboy is on a distinguished road
Exclamation

Quote:
Originally Posted by Tickhi View Post

<!--begin page content--add rows - start with <tr> and end with </tr> and you will be fine....-->

Yaptığınız sayfa kodlarını bu araya yapıştırnız

<!--end page content-->


Daha sonra bu sayfayı farklı kayded yapın ve kaydedin..... ( Örneğin : bayi.php )
burada sanırım bir hata var..
çünkü bu kodları yazınca sadece bayi.php sayfası açılıyor yani menü ve diğer kısımlar çıkmıyor..

bunun için sayfanızın başına,
Code:
<?=$header?>
<?=$top?>
<TABLE WIDTH="<?=$tablewidth?>" bgcolor="<?=$tablebackground?>" BORDER=0 CELLPADDING=0 CELLSPACING=0>
  <TR> 
    <?=$left?>
    <TD width="100%" align="<?=$contentalign?>" valign="top"> 
      <!--begin page content-->
sonuna da,
Code:
<!--end page content-->
    </td>
    <?=$right?>
  </tr>
</table>
<?=$bottom?>
yazmalısınız..

saygılar..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 25.09.07, 21:02
Tickhi's Avatar
Athlon Dual Core
 
Join Date: Jul 2007
Location: Bulgaria
Posts: 368
Rep Power: 6
Tickhi is just really niceTickhi is just really niceTickhi is just really niceTickhi is just really niceTickhi is just really nice
Send a message via MSN to Tickhi Send a message via Yahoo to Tickhi Send a message via Skype™ to Tickhi
bunlar standart ekli zaten başında ve sonunda dosyanın
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 26.09.07, 09:39
Celeron
 
Join Date: Jul 2007
Posts: 69
Rep Power: 2
goodboy is on a distinguished road
hayır ben kendi yaptığımız sayfalardan bahsediyorum yani kendi kodlarımızın yayınlayacağımız..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 27.09.07, 18:36
Tickhi's Avatar
Athlon Dual Core
 
Join Date: Jul 2007
Location: Bulgaria
Posts: 368
Rep Power: 6
Tickhi is just really niceTickhi is just really niceTickhi is just really niceTickhi is just really niceTickhi is just really nice
Send a message via MSN to Tickhi Send a message via Yahoo to Tickhi Send a message via Skype™ to Tickhi
basictemplates içinde yukarda var ve altta header ve footer kodları mevcut sadece araya eklenmesi gerektiğini yazıyor bilmeyenler için ama sıfır dan yaparken dediklerini yapmak şart dediğin gibi
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old 27.09.07, 20:57
Celeron
 
Join Date: Jul 2007
Posts: 69
Rep Power: 2
goodboy is on a distinguished road
ok bilgilendirme için teşekkürler bu arada unuttum bunu
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old 27.09.07, 22:45
Tickhi's Avatar
Athlon Dual Core
 
Join Date: Jul 2007
Location: Bulgaria
Posts: 368
Rep Power: 6
Tickhi is just really niceTickhi is just really niceTickhi is just really niceTickhi is just really niceTickhi is just really nice
Send a message via MSN to Tickhi Send a message via Yahoo to Tickhi Send a message via Skype™ to Tickhi
çok devrik cümle kurmuşum yukarda kusura bakmayın yurtdışında olmanın kötülüğü türkçeyi unuttuk
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old 10.10.07, 14:29
Sempron
 
Join Date: Oct 2007
Location: izmir
Posts: 36
Rep Power: 0
izmir is on a distinguished road
Bilgiler çok kıymetli en azından benim için teşekkürler...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Sign up for PayPal and start accepting credit card payments instantly.

Navigasyon
Menü