|
»Forumlar »SE ? Plugins
»Sayfalara ve indexte göstermek
https://seditio.com.tr/eski1/forums.php?m=posts&q=796 |
| Author: TheRaskol, Posted: 2010-07-19 19:25 GMT. |
|
Merhaba Bir plugin'i index'te ve sayfalarda ayn? anda g?stermek i?in ne yapmal?y?z? ?u an sadece sayfalarda g?stertiyorum. Kod: [BEGIN_SED_EXTPLUGIN] Code=sunucubilgi Part=main File=sunucubilgi Hooks=list.tags Tags=sunucubilgi.tpl:{PLUGIN_sunucubilgi} Minlevel=0 Order=10 [END_SED_EXTPLUGIN] Te?ekk?r ederim. |
| Author: TR-Akdam, Posted: 2010-07-19 19:44 GMT. |
|
Eklenti sadece bir tplde g?sterir o y?zden plugins/eklentiad?/inc olusutr ana kodlar? burada yazabilirsin ve sonra eklentiad?.list.php eklentiad?.index.php olustur anadosya ile ba?lant?s? yap eiketini felan yerle?tir ancak boyle olur istedi?in |
| Author: Kaan, Posted: 2010-07-19 20:44 GMT. This post was edited by Kaan (2010-07-19 20:51 GMT, 5908 Gün ago) |
|
1 Tane dosya yeterli mesela sunucubilgi.php var elinde bir bunu list.tpl i?in yap index.tpl i?in ise bir tane daha php dosyas? olu?tur i?ine sadece alttaki etiket kodlar? ekle ba?ka her hangi bir kod ekleme nerek yok.. ?ndex.tpl i?in Kod: <?PHP /* ==================== Seditio - Website engine Copyright Neocrome http://www.neocrome.net [BEGIN_SED] File=plugins/sunucubilgi/sunucubilgi.php Version=121 Updated=2007-oct-10 Type=Plugin Author=Kaan Description= [END_SED] [BEGIN_SED_EXTPLUGIN] Code=sunucubilgi Part=index.main File=sunucubilgi Hooks=index.tags Tags=index.tpl:{PLUGIN_sunucubilgi} Minlevel=0 Order=10 [END_SED_EXTPLUGIN] ============ */ if ( !defined('SED_CODE') ) { die("Wrong URL."); } ?> List.tpl i?in Kod: [BEGIN_SED_EXTPLUGIN] Code=sunucubilgi Part=list.main File=sunucubilgi Hooks=list.tags Tags=list.tpl:{PLUGIN_sunucubilgi} Minlevel=0 Order=10 [END_SED_EXTPLUGIN] |
| Powered by Seditio | Print version |