Page 1 of 1

Power to the Smart(y) People!

Posted: Mon Nov 28, 2005 12:33 pm
by garvinhicking
I've added some latest and greatest feature documentation for some new Serendipity 1.0 template features here: http://blog.s9y.org/archives/85-More-Po ... marty.html

Comments and/or questions are welcome here! :)

Regards,
Garvin

Posted: Mon Nov 28, 2005 10:41 pm
by Hoshi
As mentioned before this all sounds very good to me and probably gives a lot of people the chance to build a custom blog without any hassles.

My problem at the moment: I'd like to use {serendipity_printFetchEntries} instead of {$CONTENT} but somehow it's not working.
I'd love to have something like (you read my previous posting):

{serendipity_printFetchEntries category="36"}

and then:

{serendipity_printFetchEntries category="30"}

Any suggestions?

Posted: Tue Nov 29, 2005 12:53 am
by garvinhicking
But this is exactly how it should work. What do you mean by "somehow it's not working"? I would need a specific error to understand what's going on.

And did you download today's nightly?

Regards,
Garvin

Posted: Tue Nov 29, 2005 1:00 am
by Guest
I installed today's nightly and had some Smarty compiler errors. Make some more tests tomorrow. More info soon.

Posted: Tue Nov 29, 2005 1:16 am
by garvinhicking
It might be that the today's nightly did not yet contain the smarty function? Tell me the exact errors tomorrow, we'll see! :)

Regards,
Garvin

Posted: Wed Nov 30, 2005 9:32 pm
by Guest
I had the following error today:

Code: Select all

Fatal error: Smarty error: [in /home/www/nch772/html/blog/s9y/templates/vindaloo/index.tpl line 87]: syntax error: unrecognized tag 'serendipity_printFetchEntries' (Smarty_Compiler.class.php, line 580) in /home/www/nch772/html/blog/s9y/bundled-libs/Smarty/libs/Smarty.class.php on line 1088
used the tag the following way in my index.tpl:
{serendipity_printFetchEntries category="1"}

Posted: Thu Dec 01, 2005 11:50 am
by garvinhicking
Guest,

the function is called "fetchPrintEntries", not "printFetchEntries". :-)

First the fetching, then the printing. *g*

Regards,
Garvin

Posted: Thu Dec 01, 2005 12:00 pm
by Hoshi
Thanks again Gavin. The function is working right now and I can finally set up my new blog.

Besides, there's a typo I think:
http://www.s9y.org/78.html
It says {serendipity_printFetchEntries}

Posted: Thu Dec 01, 2005 12:04 pm
by garvinhicking
Thanks for hinting me at that! I'll fix it! :)

Regards,
Garvin

Posted: Fri Dec 09, 2005 1:58 pm
by MySchizoBuddy
hoshi
u have a very cool archive page
how did u make it.
how come ur using wordpess :S

Posted: Thu Dec 15, 2005 12:28 am
by Hoshi
Didn't make the change yet but I am working on it. More stuff after Christmas I need a holiday. Merry christmas.