Adding Multiple TXT files to a Blog post
Installation and Configuration
one way it could be done immediately would be to store the attachments in the first comment of the blog post.
(.mp4 screencast is in the .zip file attached.)
$_conf['jrCore_base_url'] = 'http://itembo.com';
function xxSomething_show_error_message(){
$('.my_error_message').remove();
$('.form_submit_box').prepend('<div class="my_error_message page_notice error">Some message before the SUBMIT button</div>');
}
$_tmp = array(
'name' => 'profile_id',
'label' => 'profile name',
'type' => 'live_search',
'help' => 'Select the profile to reset the business settings for',
'validate' => 'not_empty',
'required' => true,
'error_msg' => 'You have selected an invalid Profile - please try again',
'target' => jrCore_get_base_url() . "/{$_post['module_url']}/search_business_profiles"
);
jrCore_form_field_create($_tmp);
jrCore_alert('this is an alert message, but pretty')
// set a notice in php
jrCore_set_form_notice('error', 'invalid something');
// get any notices that were set
jrCore_get_form_notice();