Differentiated layout - Newest Blog item in different styles

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
systemaddict
Regular
Posts: 5
Joined: Wed Oct 20, 2004 11:10 am

Differentiated layout - Newest Blog item in different styles

Post by systemaddict »

Hello

I was wondering if it is possible (of course it is, but is it easy) to make s9y display the Blog items in the following way:

*************************
*...................*....................*
* Blog Item 1 * Blog Item 2 *
* ..................*....................*
*************************
................Blog Item 3 ...........
*************************
.............. Blog Item 4 ..........
*************************

And so on and on.....

Blog Item 1 and 2 being the latests entries.

Thanks,

Soren
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Differentiated layout - Newest Blog item in different st

Post by garvinhicking »

Well, you could do it with CSS 2.0, but it wouldn't be supported in InternetExplorer.

The other way is to use Smarty templating in our next release 0.8 (we're working on it currently).

The last way is to patch the file serendipity_functions.inc.php, function serendipity_printEntries() - but that would mean you'd have to do that every time you update your s9y installation with our release files.

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/
systemaddict
Regular
Posts: 5
Joined: Wed Oct 20, 2004 11:10 am

Post by systemaddict »

Thanks Garvin

I'll hack serendipity_printEntries() until Smarty is available.

It's a great product you've made. Rarely, have I seen a more user friendly admin interface. Great work.

Thanks for swift reply.

Soren
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Thanks a lot for your compliments :)

You might want to check out our Smarty-Snapshots (on http://www.s9y.org/4.html) - our current rewrite is already quite usable. :)

Best 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/
CJ000
Regular
Posts: 14
Joined: Fri Jan 14, 2005 6:50 pm
Location: Seattle

Post by CJ000 »

Hi. Any forecast estimate on the release of 0.8?

Cj
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Mid to End of March. The first release candiate should be released this month.

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/
Post Reply