ricardormz
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Event Calendar / Scheduler] Features requestThis plugin is amazingly awesome. dhtmlx deserves a happy life and millions for this.
enseignement, im not sure if you are asking for this. To display the calendar on the front page all i had to do is this:
<?php echo apply_filters('the_content', 'scheduler_plugin' );?>
You guys made my week!
Forum: Fixing WordPress
In reply to: WP HTTP Error: couldn’t connect to hostSame host, same problem. I will get back here if i found any solution.
Forum: Plugins
In reply to: [Plugin: Front-end Editor] Problem with paragraph tags <p>Thanks! Its working now
Forum: Fixing WordPress
In reply to: Need help caluclating future date in the Loop using custom fieldThere is a problem with:
meta_key=date&orderby=meta_value
If your meta_value date format is mm-dd-yyyy, will sort like this:
(01) January 2010
(02) february 2010
(10) october 2009
(11) november 2009
(12) december 2009Instead of:
(10) october 2009
(11) november 2009
(12) december 2009
(01) January 2010
(02) february 2010Guess what this is really sorting? I think its simply because is not an actual date, but a string.
Unfortunatelly this:
orderby=date(meta_value)
does not work.I can’t use custom select query because this brakes a couple of plugins im using.
Any ideas?
Forum: Plugins
In reply to: [Plugin: Front-end Editor] It breaks when the loop is a custom select queryIm using FEE to build a front-end interface easy to use. My coworkers dont know anything about wordpress, but they know how to doble click and type.
Forum: Plugins
In reply to: [Plugin: Front-end Editor] It breaks when the loop is a custom select queryThis did the trick:
<?php query_posts('cat=85&showposts=12&meta_key=Fecha&orderby=date(meta_value, Y m j)&order=ASC'); ?>
I didnt know that i could use date() inside the query_posts();
Thanks for your time. Your plugin is gonna help me alot.
Just to let you know, im using it to build an event planner. I have to come up with events and parties at least twice a week. We are 5 people working on this. So i needed a nice clean (and shared) way to keep everyone up to date.
So with the help of custom-field-templates plugin I established the variables (date, cost, description of the event, bands playing, and image).
Now, I will creat a bunch of posts because i already know that i have to plan an event, lets say 8 weeks from now. I will set the date for every single one and i will keep them in a category called future_event (which isnt shown on the public website).
Once the post is edited and done, then we will change the category to public_event to become a public post. So its a cool way to do everything just once. Everything is there in the post before it goes public.
Thanks again.
Forum: Plugins
In reply to: [Plugin: Front-end Editor] It breaks when the loop is a custom select queryWhat im going to do is a query_posts loop. The only problem i have with this is that my custom field DATE is a string (mm/dd/yy), not an actual date. So if i sort it like this:
<?php query_posts('meta_key=date&orderby=meta_value&order=ASC'); ?>;
Will return this:
Jan 2010
Feb 2010
Oct 2009
Nov 2009
Dic 2009Instead of:
Oct 2009
Nov 2009
Dec 2009
Jan 2010
Feb 2010I know this have absolutely nothing to do with this plugin. But just to let everyone know that this plugin doesnt work well with custom select query loops.
Forum: Fixing WordPress
In reply to: Upload an image from the frontendThis doesn’t make it a post attachment
Forum: Plugins
In reply to: [Plugin: Front-end Editor] Use the_terms() to change the categoryDoing this places the_category(); in a double-clickable
<ul>
area. Im going to keep with this solution until i find something else or someone can help me.$response = get_the_term_list($post_id, 'category', '<ul>');
The only thing that i dont like about all this is that i have to be careful when writing the category name. A check-box feature in the future would be cool.
Forum: Plugins
In reply to: [Plugin: Front-end Editor] Use the_terms() to change the categoryBelow is my working solution.
Now this: the_category() displays the category link, double clicking links to site.com/?cat=#, so, i cant edit it. The same with tags (wich is cored). Im going to try to find a solution.
Here is the frontEd_category class (or whatever its called):
// Handles the_category field class frontEd_category extends frontEd_basic { function wrap($content, $before, $after) { if ( empty($content) ) $content = self::placeholder(); return $before . parent::wrap($content) . $after; } function get($post_id) { $categories = get_the_category($post_id); if ( empty($categories) ) return; foreach ( $categories as &$category ) $category = $category->cat_name; return implode(', ', $categories); } function save($post_id, $categories) { wp_set_post_terms($post_id, $categories, 'category'); $response = get_the_term_list($post_id, 'category', '', ', '); if ( empty($response) ) return self::placeholder(); return $response; } }
The registration:
'the_category' => array( 'title' => __('Post category', 'front-end-editor'), 'class' => 'frontEd_category', 'argc' => 3, ),
Forum: Plugins
In reply to: [Plugin: Front-end Editor] Use the_terms() to change the categoryWhat i need to do is change the categorie of the post… Id number and all.
With the help of your plugin im going to do a nice clean editor for posts in onprogress category. When the process of editing the post is done and ready (with some custom fields) to be published, i want to change the category to publicresult so it can be sorted in category-publicresult.php…
So i want to actually change the category, not just the name.
What i meant about using single_cat_title(); is that if i use the_category, it will display the category name as a link, and then wont be editable (i think).
Forum: Plugins
In reply to: [Plugin: Front-end Editor] Use the_terms() to change the categoryI think what im looking for is being able to display:
single_cat_title();
so i can edit the category right there.I hope someone helps on this one. I join the list of people searching for this feature.
Forum: Plugins
In reply to: Help on mysql query (select attachment ID)It seems that by default attachments are uncategorized, thats why the result was null. I had to install this plugin
Attachment Category Updater Plugin
“Normally (at least with WordPress 2.3.2), the categories of post attachments do not get updated when the post categories change. There is also no way to manually make these updates through the admin. The Attachment Category Updater keeps your posts and attachments in sync.”
The query was OK. The attachment’s category wasn’t.