Power to the Smart(y) People!

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

Power to the Smart(y) People!

Post by garvinhicking » Mon Nov 28, 2005 12:33 pm

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 » Mon Nov 28, 2005 10:41 pm

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?

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Tue Nov 29, 2005 12:53 am

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 » Tue Nov 29, 2005 1:00 am

I installed today's nightly and had some Smarty compiler errors. Make some more tests tomorrow. More info soon.

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Tue Nov 29, 2005 1:16 am

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 » Wed Nov 30, 2005 9:32 pm

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"}

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Thu Dec 01, 2005 11:50 am

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 » Thu Dec 01, 2005 12:00 pm

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}

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Thu Dec 01, 2005 12:04 pm

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 » Fri Dec 09, 2005 1:58 pm

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 » Thu Dec 15, 2005 12:28 am

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

Post Reply