»Forumlar »SE ? Plugins »galeri eklentisi lazım
  https://seditio.com.tr/eski1/forums.php?m=posts&q=1816
          Geri Dön      -      Sayfayı Yazdırmak için tıklayın
Author: kors@n, Posted: 2012-02-18 12:38 GMT.
galeride olu?turdu?umuz galeri katagorilerini anasayfada g?sterecek bir eklenti ar?yorum m?mk?nm??
Author: Kaan, Posted: 2012-02-18 19:09 GMT.
Elbette M?mk?n tabiki Alttaki ad?mlar? izlerseniz istedi?inize kavu?ucaks?n?z.

Bir klas?r olu?tur ad? gallist olsun.

gallist.php olarak kaydet alttaki kodlar?
:
hp]<?PHP



/* ====================

Seditio - Website engine

Copyright Neocrome

http://www.neocrome.net



[BEGIN_SED]

File=plugins/gallist/gallist.php

Version=165

Updated=2012-feb-24

Type=Plugin

Author=Kaan

Description=

[END_SED]



[BEGIN_SED_EXTPLUGIN]

Code=gallist

Part=index

File=gallist

Hooks=index.tags

Tags=index.tpl:{HOME_PFF_TITLE}

Tags=

Minlevel=0

Order=10

[END_SED_EXTPLUGIN]



==================== */



if ( !defined('SED_CODE') ) { die("Wrong URL."); }



$lis = sed_sql_query("SELECT * FROM  sed_pfs_folders

            WHERE pff_id ORDER BY pff_updated DESC LIMIT 5");

$ii=0;

while ($gal = sed_sql_fetcharray($lis))

        {

        $ii++;

        $folder = $gal['pff_title'];

        $fid = $gal['pff_id'];

        $gal_folder .= "#".$ii." <a href=\"plug.php?e=gallery&amp;amp;f=".$fid."\">".sed_cc($folder)."</a><br />";

        }

        $t-> assign(array(     

"HOME_PFF_TITLE" => $gal_folder,

            ));

       

?>

gallist.setup.php olarak kaydet.
:
hp]<?PHP



/* ====================

Seditio - Website engine

Copyright Neocrome

http://www.neocrome.net



[BEGIN_SED]

File=plugins/gallist/gallist.setup.php

Version=165

Updated=2012-feb-05

Type=Plugin

Author=Kaan

Description=

[END_SED]



[BEGIN_SED_EXTPLUGIN]

Code=gallist

Name=Galeri ?ndex List

Description=Pick up pages from a category and display the newest in the home page

Version=100

Date=2012-mar-10

Author=Kaan

Copyright=www.seditio-eklenti.com

Notes=

SQL=

Auth_guests=R

Lock_guests=W12345A

Auth_members=R

Lock_members=W12345A

[END_SED_EXTPLUGIN]



[BEGIN_SED_EXTPLUGIN_CONFIG]

[END_SED_EXTPLUGIN_CONFIG]



==================== */



if (!defined('SED_CODE')) { die('Wrong URL.'); }



?>

 

?ndex.tpl ye ekle
Kod:
{HOME_PFF_TITLE}


Limit olarak 5 Klas?r olarak ayarlanm??t?r.
Author: kors@n, Posted: 2012-02-19 00:28 GMT. This post was edited by kors@n (2012-02-19 00:30 GMT, 5271 Gün ago)
ilgin i?in te?ekk?rler ancak bu hatay? veriyor kuram?yorum Error: Setup file is missing !

son mesaj 2 dakika ?nce

hatay? d?zelttim kurdum ancak bu defa bu hata var Parse error: syntax error, unexpected '<' in D:\plugins\gallist\gallist.php on line 40
Author: Kaan, Posted: 2012-02-19 00:38 GMT. This post was edited by Kaan (2012-02-19 00:40 GMT, 5271 Gün ago)
Ekdeki eklentiyi indir.

0-gallist.rar

son mesaj 1 dakika

sed_sql_fetcharray yazan yeri sed_sql_fetchassoc olarak de?i?tir.
Author: kors@n, Posted: 2012-02-19 00:47 GMT.
?al??t? te?ekk?rler

Powered by SeditioPrint version