Power to the Smart(y) People!

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Power to the Smart(y) People!

Post 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
Last edited by garvinhicking on Wed Feb 08, 2006 11:54 am, edited 1 time in total.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hoshi
Regular
Posts: 8
Joined: Fri May 27, 2005 1:37 pm
Location: Limerick, Ireland
Contact:

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Guest

Post by Guest »

I installed today's nightly and had some Smarty compiler errors. Make some more tests tomorrow. More info soon.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Guest

Post 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"}
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Guest,

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

First the fetching, then the printing. *g*

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hoshi
Regular
Posts: 8
Joined: Fri May 27, 2005 1:37 pm
Location: Limerick, Ireland
Contact:

Post 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}
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Thanks for hinting me at that! I'll fix it! :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
MySchizoBuddy
Regular
Posts: 340
Joined: Sun Jun 12, 2005 5:28 am

Post by MySchizoBuddy »

hoshi
u have a very cool archive page
how did u make it.
how come ur using wordpess :S
Image
Hoshi
Regular
Posts: 8
Joined: Fri May 27, 2005 1:37 pm
Location: Limerick, Ireland
Contact:

Post by Hoshi »

Didn't make the change yet but I am working on it. More stuff after Christmas I need a holiday. Merry christmas.
Post Reply