Skinning and designing Serendipity (CSS, HTML, Smarty)
-
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?
-
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
-
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.
-
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
-
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"}
-
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
-
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}
-
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
-
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
-
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.