Embedded Install-Controlling blog listings

Discussion corner for Developers of Serendipity.
Post Reply
tass23
Posts: 2
Joined: Mon Feb 03, 2014 7:36 pm

Embedded Install-Controlling blog listings

Post by tass23 » Mon Feb 03, 2014 7:49 pm

Hi everyone :)
I'm new to Serendipity, but so far I've been very pleased with what I've seen. So keep it up!

That being said, I have an issue that doesn't seem to have come up anywhere in these forums yet. I have a website that has different profile pages for different users. I have embedded Serendipity into the existing profile page (it looks messy right now), but what I need to do is only show those blog entries by that user and remove a lot of the extra stuff that isn't needed there. To make things even more simplified, maybe just having the links to each of that individual's blog entries is fine. In looking at the page, the blog entries would be on the far left side and when you click on them, they would be displayed in the center of the page. I've been sifting through the index.php file and the serendipity_config_inc.php to try and thin some of these things out, but every change I make seems to break the entire setup. You can take a look at one of the pages here: http://www.tapdd.com/members/models/tc.php
SS1.jpg
Screenshot
SS1.jpg (118.45 KiB) Viewed 1381 times
I understand that what I'm doing will likely require coding individual pages to pull the proper blog entry and that's okay.

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

Re: Embedded Install-Controlling blog listings

Post by garvinhicking » Tue Feb 04, 2014 12:04 pm

Hi!

You might want to prefer using the s9y api to call serendipity_fetchEntries / serendipity_printEntries() yourself. Did you have a look at http://www.s9y.org/78.html#A7 ? Something along those lines would be it...

HTH,
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/

tass23
Posts: 2
Joined: Mon Feb 03, 2014 7:36 pm

Re: Embedded Install-Controlling blog listings

Post by tass23 » Tue Feb 04, 2014 4:23 pm

Thanks Garvin, that looks to be exactly what I need. I'll give it a shot :)

Post Reply