Show entries via javascript

Creating and modifying plugins.
Post Reply
Shoup
Regular
Posts: 26
Joined: Mon Jul 10, 2006 9:25 pm

Show entries via javascript

Post by Shoup »

The Backend URl (Show entries via javascript) plugin is able to show categories, but can it show entries by author as well?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Show entries via javascript

Post by garvinhicking »

Hi!

This functionality is not yet implemented into the plugin, but it could be added without too much work. Would you like to have a try?

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/
Shoup
Regular
Posts: 26
Joined: Mon Jul 10, 2006 9:25 pm

Post by Shoup »

I'd like to try, but shouldn't because I have no php programming experience. However, if it can be done by reusing existing code and then changing some variables I might be able to do that.

As another route, do you know if anyone has parsed the xml feed into a static file?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

I just added a 'categoryid' and 'authorid' variable that you can use in version 0.2 of the plugin. It should be available in Spartacus in the next 48 hours!

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/
Shoup
Regular
Posts: 26
Joined: Mon Jul 10, 2006 9:25 pm

Post by Shoup »

Awesome! Thanks a million!
Shoup
Regular
Posts: 26
Joined: Mon Jul 10, 2006 9:25 pm

Post by Shoup »

Works great. Now all it needs is the ability to specify a date range, like only showing entries from today, or the previous 4 days, etc. :)

I'll start working on my Learn PHP boook.
Post Reply