A list of recent entry titles on the main page

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Fencer
Regular
Posts: 28
Joined: Fri Aug 11, 2006 9:26 am
Contact:

A list of recent entry titles on the main page

Post by Fencer »

Hello,

I would like to know if it is possible to show a list of most recent entry titles (with author names) at a box, possibly at the main page top, just below the blog name and description section.

It would be handy if a large number or new entries is posted every day and the oldest ones could easily disappear from the main page before being spotted by visitors.

I have tried to find a plugin which would do this job but couldn't find any. Is there a solution of this issue?

Thanks.
Filip
http://BrainKing.com - play 80+ popular board games for free, 30,000+ registered users
http://BrainKing.info - the official blog of the BrainKing game site
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: A list of recent entry titles on the main page

Post by garvinhicking »

Hi!

Yes, you can do that. There are three plugins that deal with displaying a list of recent entries:

1. The 'JS backend' plugin, which uses javascript to place recent entries where you want them

2. The 'recent entries' sidebar plugin which can show recent entries

3. The 'show entries' sidebar plugin which can show a customized list of entries including their content.

Using the smarty {serendipity_hookPlugin} function (documented on www.s9y.org) you can then also put the output of a sidebar plugin anywhere else in your template where you like it.


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/
Fencer
Regular
Posts: 28
Joined: Fri Aug 11, 2006 9:26 am
Contact:

Post by Fencer »

Thank you Garvin. :) I'll try these options.

Filip
http://BrainKing.com - play 80+ popular board games for free, 30,000+ registered users
http://BrainKing.info - the official blog of the BrainKing game site
digitalfilm
Regular
Posts: 40
Joined: Wed Feb 07, 2007 8:04 pm
Location: New York City
Contact:

How do I eliminate the '); document.write from the output

Post by digitalfilm »

This does work well, but I get a weird output when I type the ?options command: '); document.write

you can see the examle at http://group8020.com/blog/plugin/backend?num=30

document.write('Time Management is a Joke
'); document.write('80-20 Software - Solutions for Corporate Governance, Risk Management and Compliance
'); document.write('Multi-variate landing page optimization: 80/20 at Work
'); document.write('It\'s not \"Either/Or\" but \"Both/And\" That Solves the Problem
'); document.write('No Plan Survives Contact With The Enemy
'); document.write('How To Calculate Bang-For-The-Buck Using Mind Maps
'); document.write('3 Ways To Get Advice You Can Trust
'); document.write('Ishikawa Diagrams And Toyota\'s A3 Report
'); document.write('Would You Spend $100MM to Earn $18MM?
'); document.write('Pareto Plus Pharma Equals Profit
'); document.write('I Look Good With A Five O\'Clock Shadow But I Still Use Ockham\'s Razor
'); document.write('Yahoo! Performance Research and 80/20
'); document.write('Embrace your enemy\'s technology
'); document.write('Don\'t do stuff that doesn\'t create a return on investment
'); document.write('jetBlue uses YouTube to reach customers 80/20 Style
'); document.write('What is RSS? How Can You Use It As A Competitive Advantage?
'); document.write('Noam Chomsky on the 80/20 Rule
'); document.write('What has your agency done for you lately?
'); document.write('How to increase organic search engine traffic 1258% in a month
'); document.write('Geo-Coding Hot Dogs in New Jersey

Thank you anyone who takes time to read this and reply!!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: How do I eliminate the '); document.write from the outpu

Post by garvinhicking »

Hi!

What is the problem with that? The output is Javascript, it needs to be embedded in your HTML via

Code: Select all

<script type="text/javascript" src="http://group8020.com/blog/plugin/backend?num=30"></script>
:-)

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/
digitalfilm
Regular
Posts: 40
Joined: Wed Feb 07, 2007 8:04 pm
Location: New York City
Contact:

Only problem is my limited IQ

Post by digitalfilm »

Thank you! the only problem is how dangerous I am when possessing just a bit of knowledge.
Post Reply