Show Entries Plugin

Creating and modifying plugins.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Doh, I made an error; at the ned of line 89 there was a ";" missing at the end of the line after $serendipty['GET']['viewAuthor']...

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/
azel
Regular
Posts: 265
Joined: Thu Apr 21, 2005 4:28 am
Contact:

Post by azel »

Well...tried posting a new entry under the mini blog category. It still won't work. :cry:
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Hm, the problem is that this fetchEntries code should not append an "LIMIT 15,15" clause.

Once you have more than 15 entries in your mini blog category, they should begin to show up, but something or some plugin is telling serendipity that it shall display the second page of your mini blog category instead of the first page. Some somewhere that $serendipity['GET']['page'] is set to "1" instead of "0".

Aaarrr. Now I see it. :-D

You have enabled the setting "Hide entries already displayed on frontpage" of the plugin! That is why the first 15 entries are skipped, because formerly the plugin could not show different categories than on the startpage.

If you disable that setting, you should get the desired output...

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/
azel
Regular
Posts: 265
Joined: Thu Apr 21, 2005 4:28 am
Contact:

Post by azel »

Goodness....I feel silly for showing it to hide the entries on the main page.

Is there any way to hide the new entries posted...like only have them show on the sidebar?

Thanks for everything!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

You should be able to hide the "moblog" category entries by using the "serendipity_event_startcat" ("Set start page category / Hide categories") plugin.

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/
azel
Regular
Posts: 265
Joined: Thu Apr 21, 2005 4:28 am
Contact:

Post by azel »

Awesome, thanks for your help, Garvin. ;D
Post Reply