tedzio
Forum Replies Created
-
Forum: Plugins
In reply to: [Facebook Page Photo Gallery] The plugin does not have a valid header.I just installed this plugin, got the same message, went back to ‘installed plugins’ and activated the plugin again from there. It seems to be working.
Forum: Plugins
In reply to: [WP Calendar] [Plugin: WP Calendar] orderdir="desc" not working?Ok, I got it sorted out, in the file fsCalendar.php, in the part:
static $valid_fields = array('eventid', 'subject', 'tsfrom', 'tsto', 'allday', 'description', 'location', 'categories', 'author', 'createdate', 'publishauthor', 'publishdate', 'state' );
replace ‘tsfrom’ and ‘tsto’ with ‘from’ and ‘to’
Forum: Plugins
In reply to: [WP Calendar] [Plugin: WP Calendar] orderdir="desc" not working?I too have a problem with orderdir. I want to show my events in reverse chronological order. I’ve tried different combinations of suggestions I found on this and other forums. I’m running WP-Calendar 1.5.0 on WordPress 3.4.2. My ‘tsfrom’ entries are NULL as in Ted’s case above. I’ve tried
'orderby' => 'from'
and'orderby' => array('from')
and it doesn’t seem to work, however, if I use'orderdir' => 'eventid'
it works, which could suggest there’s a problem somewhere in the date handling. Or maybe I’m missing something. Any help appreciated.echo fse_print_events(array( 'number' => 6, 'datefrom' => mktime(23,59,59,1,1,2010), 'orderby' => 'from', 'orderdir' => 'DESC', 'categories' => 5, 'pagination' => 1, 'before' => '<div id="back_issues_wrap">', 'after' => '<div class="clear_float"></div></div>', 'template' => '<div class="back_issue">{event_subject}<br />{event_description}</div>'));