HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


7.2 alpha1

Login / Search

 [ Join | More ]
 
Posted
Rating:
#75424 (In Topic #15630)
Avatar

Two of our bestest fans have kindly sponsored development of a raft of improvements to the ocPortal catalogues system.
View topic: Catalogue improvements - ocPortal

These have been fully developed, passed our testing tools, and will be included in 7.2.

However, as there appears to be a stream of back-to-back ocPortal projects currently in development by ocProducts, all of which include some small amount of functionality that will be fed back into the ocPortal distribution, we're going to leave a bit of time until 7.2 is out, so as to make the most of it. I'm quite excited about some of the stuff that may get done.

In the meanwhile, here is "7.2 alpha1", which includes all changes. I am not aware of any instabilities, but it is likely we've accidentally created a few bugs in the catalogue system that we'll fix as they get found. I also can't guarantee that there'll be an upgrade path between this and 7.2-final so I'm not recommending it's live usage and we can't support any migration issues that could happen.

Attachment


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#75435
Avatar

Community saint

Jeez, this makes me so antsy to get started testing. If only I didn't need any sleep, I could get so much more done.

I'm glad to hear that paying work is finding its way to ocPortal even in this difficult economy.

Bob
Back to the top
 
Posted
Rating:
#75438
Avatar

Community saint

Chris Graham said

Two of our bestest fans have kindly sponsored development of a raft of improvements to the ocPortal catalogues system.

'Name & Shame' them, I say. Especially if they are active members of this forum.

Seriously, I doff my hat in their direction.

thanks whomever you are!



Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#75441
Avatar

Community saint

We already knows who they are Fletch.

Take that hat off completely and put on a thinking cap.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#75442
Avatar

Community saint

Bummer! Got suckered with that post.

hehehe

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#75445
Avatar

Community saint

No, not suckered, I think just excited at that prospect of there being more sponsoring members  :lol: .

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#75462
Avatar

Community saint

temp1024 said

No, not suckered, I think just excited …
You nailed it!

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#75628
Avatar

Community saint

I do not know where to post issues for this version as I cannot register with the tracker page so I am posting this here:

Localhost Setup: Apache 2.2.11, PHP 5.3.0, MySQL 5.1.36

Browser used FF 3.6.23

Issue 1: Editing an existing Catalogue I notice I no longer have the "Comcode Allowed" Text options. Neither briefline or box.

Issue 2: When trying to add a New Catalogue I get this error:

A critical parameter, id, was missing.

Stack Trace:

File'C:\wamp\www\ocp72a1\sources\failure.php'
Line'674'
Function'get_html_trace'
Args 

File'C:\wamp\www\ocp72a1\sources\global2.php'
Line'969'
Function'_fatal_exit'
Argsobject


File'C:\wamp\www\ocp72a1\sources\failure.php'
Line'232'
Function'fatal_exit'
Argsobject


File'C:\wamp\www\ocp72a1\sources\global2.php'
Line'929'
Function'_generic_exit'
Argsobject

'WARN_SCREEN'


File'C:\wamp\www\ocp72a1\sources\failure.php'
Line'146'
Function'warn_exit'
Argsobject


File'C:\wamp\www\ocp72a1\sources\global2.php'
Line'1,407'
Function'improperly_filled_in'
Args'id'

false

array ( 'page' => 'cms_catalogues', 'type' => 'add_catalogue', 'keep_fatalistic' => '1', )


File'C:\wamp\www\ocp72a1\sources\global2.php'
Line'1,364'
Function'__param'
Argsarray ( 'page' => 'cms_catalogues', 'type' => 'add_catalogue', 'keep_fatalistic' => '1', )

'id'

false


File'C:\wamp\www\ocp72a1\cms\pages\modules\cms_catalogues.php'
Line'1,323'
Function'get_param'
Args'id'


File'C:\wamp\www\ocp72a1\sources\aed_module.php'
Line'455'
Function'get_form_fields'
Class'Module_cms_catalogues_alt'
ObjectModule_cms_catalogues_alt::__set_state(array( 'lang_type' => 'CATALOGUE', 'select_name' => 'CATALOGUE', 'select_name_description' => 'DESCRIPTION_CATALOGUE', 'permissions_require' => 'cat_high', 'permission_module' => 'catalogues_catalogue', 'non_integer_id' => true, 'award_type' => 'catalogue', 'is_tree_catalogue' => false, 'menu_label' => 'CATALOGUES', 'javascript' => 'var fn=document.getElementById(\'title\'); if (fn) { var form=fn.form; fn.onchange=function() { if ((form.elements[\'name\']) && (form.elements[\'name\'].value==\'\')) form.elements[\'name\'].value=fn.value.toLowerCase().replace(/[^\w\d\.\-]/g,\'_\').replace(/\_+$/,\'\'); }; } var form=document.getElementById(\'new_field_0_name\').form; form.old_submit=form.onsubmit; form.onsubmit=function() { document.getElementById(\'submit_button\').disabled=true; var url=\'http://localhost/ocp72a1/data/snippet.php?snippet=exists_catalogue&name=\'+window.encodeURIComponent(form.elements[\'name\'].value); if (!do_ajax_field_test(url)) { document.getElementById(\'submit_button\').disabled=false; return false; } document.getElementById(\'submit_button\').disabled=false; if (typeof form.old_submit!=\'undefined\' && form.old_submit) return form.old_submit(); return true; }; ', 'module_type' => NULL, 'redirect_type' => NULL, 'code_require' => NULL, 'javascript_require' => NULL, 'skip_validation' => false, 'default_type' => NULL, 'author' => 'Chris Graham', 'organisation' => 'ocProducts', 'user_facing' => false, 'send_validation_request' => true, 'check_validation' => true, 'archive_entry_point' => NULL, 'archive_label' => NULL, 'view_entry_point' => NULL, 'protect_first' => 0, 'permission_page' => NULL, 'permissions_cat_require' => NULL, 'permissions_cat_name' => NULL, 'permissions_cat_require_b' => NULL, 'permissions_cat_name_b' => NULL, 'add_text' => '', 'edit_text' => '', 'extra_donext_entries' => NULL, 'extra_donext_categories' => NULL, 'extra_donext_whatever' => NULL, 'extra_donext_whatever_title' => NULL, 'do_next_editing_categories' => false, 'special_edit_frontend' => false, 'upload' => NULL, 'possibly_some_kind_of_upload' => false, 'cat_aed_module' => NULL, 'alt_aed_module' => NULL, 'seo_type' => NULL, 'posting_form_title' => NULL, 'posting_form_text' => '', 'posting_form_text_parsed' => NULL, 'type_code' => 'v', 'catalogue' => false, 'output_of_action_is_confirmation' => false, 'second_stage_preview' => false, 'add_submit_name' => NULL, 'edit_submit_name' => NULL, 'do_preview' => true, 'add_one_label' => NULL, 'add_one_cat_label' => NULL, 'edit_this_label' => NULL, 'edit_one_label' => NULL, 'edit_this_cat_label' => NULL, 'edit_one_cat_label' => NULL, 'do_next_description' => NULL, 'appended_actions_already' => false, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'posting_field_required' => true, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer' => NULL, 'table' => NULL, ))
Type'->'
Args 

File'C:\wamp\www\ocp72a1\sources\aed_module.php'
Line'236'
Function'ad'
Class'standard_aed_module'
ObjectModule_cms_catalogues_alt::__set_state(array( 'lang_type' => 'CATALOGUE', 'select_name' => 'CATALOGUE', 'select_name_description' => 'DESCRIPTION_CATALOGUE', 'permissions_require' => 'cat_high', 'permission_module' => 'catalogues_catalogue', 'non_integer_id' => true, 'award_type' => 'catalogue', 'is_tree_catalogue' => false, 'menu_label' => 'CATALOGUES', 'javascript' => 'var fn=document.getElementById(\'title\'); if (fn) { var form=fn.form; fn.onchange=function() { if ((form.elements[\'name\']) && (form.elements[\'name\'].value==\'\')) form.elements[\'name\'].value=fn.value.toLowerCase().replace(/[^\w\d\.\-]/g,\'_\').replace(/\_+$/,\'\'); }; } var form=document.getElementById(\'new_field_0_name\').form; form.old_submit=form.onsubmit; form.onsubmit=function() { document.getElementById(\'submit_button\').disabled=true; var url=\'http://localhost/ocp72a1/data/snippet.php?snippet=exists_catalogue&name=\'+window.encodeURIComponent(form.elements[\'name\'].value); if (!do_ajax_field_test(url)) { document.getElementById(\'submit_button\').disabled=false; return false; } document.getElementById(\'submit_button\').disabled=false; if (typeof form.old_submit!=\'undefined\' && form.old_submit) return form.old_submit(); return true; }; ', 'module_type' => NULL, 'redirect_type' => NULL, 'code_require' => NULL, 'javascript_require' => NULL, 'skip_validation' => false, 'default_type' => NULL, 'author' => 'Chris Graham', 'organisation' => 'ocProducts', 'user_facing' => false, 'send_validation_request' => true, 'check_validation' => true, 'archive_entry_point' => NULL, 'archive_label' => NULL, 'view_entry_point' => NULL, 'protect_first' => 0, 'permission_page' => NULL, 'permissions_cat_require' => NULL, 'permissions_cat_name' => NULL, 'permissions_cat_require_b' => NULL, 'permissions_cat_name_b' => NULL, 'add_text' => '', 'edit_text' => '', 'extra_donext_entries' => NULL, 'extra_donext_categories' => NULL, 'extra_donext_whatever' => NULL, 'extra_donext_whatever_title' => NULL, 'do_next_editing_categories' => false, 'special_edit_frontend' => false, 'upload' => NULL, 'possibly_some_kind_of_upload' => false, 'cat_aed_module' => NULL, 'alt_aed_module' => NULL, 'seo_type' => NULL, 'posting_form_title' => NULL, 'posting_form_text' => '', 'posting_form_text_parsed' => NULL, 'type_code' => 'v', 'catalogue' => false, 'output_of_action_is_confirmation' => false, 'second_stage_preview' => false, 'add_submit_name' => NULL, 'edit_submit_name' => NULL, 'do_preview' => true, 'add_one_label' => NULL, 'add_one_cat_label' => NULL, 'edit_this_label' => NULL, 'edit_one_label' => NULL, 'edit_this_cat_label' => NULL, 'edit_one_cat_label' => NULL, 'do_next_description' => NULL, 'appended_actions_already' => false, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'posting_field_required' => true, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer' => NULL, 'table' => NULL, ))
Type'->'
Args 

File'C:\wamp\www\ocp72a1\sources\zones.php'
Line'386'
Function'run'
Class'standard_aed_module'
ObjectModule_cms_catalogues::__set_state(array( 'lang_type' => 'CATALOGUE_ENTRY', 'select_name' => 'ENTRY', 'permissions_require' => 'mid', 'permissions_cat_require' => 'catalogues_catalogue', 'permissions_cat_name' => 'catalogue_name', 'permissions_cat_require_b' => 'catalogues_category', 'permissions_cat_name_b' => 'category_id', 'user_facing' => true, 'seo_type' => 'catalogue_entry', 'catalogue' => true, 'award_type' => 'catalogue_entry', 'possibly_some_kind_of_upload' => true, 'do_preview' => NULL, 'menu_label' => 'CATALOGUES', 'orderer' => 'ce_add_date', 'table' => 'catalogue_entries', 'title_is_multi_lang' => false, 'donext_category_id' => NULL, 'donext_catalogue_name' => NULL, 'module_type' => 'catalogues', 'redirect_type' => NULL, 'code_require' => NULL, 'javascript_require' => NULL, 'skip_validation' => false, 'default_type' => 'misc', 'author' => 'Chris Graham', 'organisation' => 'ocProducts', 'send_validation_request' => true, 'check_validation' => true, 'archive_entry_point' => NULL, 'archive_label' => NULL, 'view_entry_point' => NULL, 'protect_first' => 0, 'permission_page' => NULL, 'permission_module' => NULL, 'add_text' => '', 'edit_text' => '', 'extra_donext_entries' => NULL, 'extra_donext_categories' => NULL, 'extra_donext_whatever' => NULL, 'extra_donext_whatever_title' => NULL, 'do_next_editing_categories' => false, 'special_edit_frontend' => false, 'upload' => NULL, 'cat_aed_module' => Module_cms_catalogues_cat::__set_state(array( 'lang_type' => 'CATALOGUE_CATEGORY', 'select_name' => 'NAME', 'permissions_require' => 'cat_mid', 'permission_module' => 'catalogues_category', 'permissions_cat_require' => 'catalogues_catalogue', 'permissions_cat_name' => 'catalogue_name', 'seo_type' => 'catalogue_category', 'catalogue' => true, 'award_type' => 'catalogue_category', 'upload' => 'image', 'javascript' => 'var mt=document.getElementById(\'move_target\'); var form=mt.form; var crf=function() { var s=mt.selectedIndex==0; form.elements[\'move_days_lower\'].disabled=s; form.elements[\'move_days_higher\'].disabled=s; }; crf(); mt.onclick=crf;', 'menu_label' => 'CATALOGUES', 'table' => 'catalogue_categories', 'title_is_multi_lang' => false, 'orderer' => 'cc_title', 'donext_catalogue_name' => NULL, 'module_type' => NULL, 'redirect_type' => NULL, 'code_require' => NULL, 'javascript_require' => NULL, 'skip_validation' => false, 'default_type' => NULL, 'author' => 'Chris Graham', 'organisation' => 'ocProducts', 'user_facing' => false, 'send_validation_request' => true, 'check_validation' => true, 'archive_entry_point' => NULL, 'archive_label' => NULL, 'view_entry_point' => NULL, 'protect_first' => 0, 'permission_page' => NULL, 'permissions_cat_require_b' => NULL, 'permissions_cat_name_b' => NULL, 'add_text' => '', 'edit_text' => '', 'extra_donext_entries' => NULL, 'extra_donext_categories' => NULL, 'extra_donext_whatever' => NULL, 'extra_donext_whatever_title' => NULL, 'do_next_editing_categories' => false, 'special_edit_frontend' => false, 'possibly_some_kind_of_upload' => false, 'cat_aed_module' => NULL, 'alt_aed_module' => NULL, 'posting_form_title' => NULL, 'posting_form_text' => '', 'posting_form_text_parsed' => NULL, 'type_code' => 'c', 'non_integer_id' => false, 'output_of_action_is_confirmation' => false, 'second_stage_preview' => false, 'add_submit_name' => NULL, 'edit_submit_name' => NULL, 'do_preview' => true, 'add_one_label' => NULL, 'add_one_cat_label' => NULL, 'edit_this_label' => NULL, 'edit_one_label' => NULL, 'edit_this_cat_label' => NULL, 'edit_one_cat_label' => NULL, 'do_next_description' => NULL, 'appended_actions_already' => false, 'select_name_description' => NULL, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'posting_field_required' => true, 'table_prefix' => '', 'array_key' => 'id', )), 'alt_aed_module' => Module_cms_catalogues_alt::__set_state(array( 'lang_type' => 'CATALOGUE', 'select_name' => 'CATALOGUE', 'select_name_description' => 'DESCRIPTION_CATALOGUE', 'permissions_require' => 'cat_high', 'permission_module' => 'catalogues_catalogue', 'non_integer_id' => true, 'award_type' => 'catalogue', 'is_tree_catalogue' => false, 'menu_label' => 'CATALOGUES', 'javascript' => 'var fn=document.getElementById(\'title\'); if (fn) { var form=fn.form; fn.onchange=function() { if ((form.elements[\'name\']) && (form.elements[\'name\'].value==\'\')) form.elements[\'name\'].value=fn.value.toLowerCase().replace(/[^\w\d\.\-]/g,\'_\').replace(/\_+$/,\'\'); }; } var form=document.getElementById(\'new_field_0_name\').form; form.old_submit=form.onsubmit; form.onsubmit=function() { document.getElementById(\'submit_button\').disabled=true; var url=\'http://localhost/ocp72a1/data/snippet.php?snippet=exists_catalogue&name=\'+window.encodeURIComponent(form.elements[\'name\'].value); if (!do_ajax_field_test(url)) { document.getElementById(\'submit_button\').disabled=false; return false; } document.getElementById(\'submit_button\').disabled=false; if (typeof form.old_submit!=\'undefined\' && form.old_submit) return form.old_submit(); return true; }; ', 'module_type' => NULL, 'redirect_type' => NULL, 'code_require' => NULL, 'javascript_require' => NULL, 'skip_validation' => false, 'default_type' => NULL, 'author' => 'Chris Graham', 'organisation' => 'ocProducts', 'user_facing' => false, 'send_validation_request' => true, 'check_validation' => true, 'archive_entry_point' => NULL, 'archive_label' => NULL, 'view_entry_point' => NULL, 'protect_first' => 0, 'permission_page' => NULL, 'permissions_cat_require' => NULL, 'permissions_cat_name' => NULL, 'permissions_cat_require_b' => NULL, 'permissions_cat_name_b' => NULL, 'add_text' => '', 'edit_text' => '', 'extra_donext_entries' => NULL, 'extra_donext_categories' => NULL, 'extra_donext_whatever' => NULL, 'extra_donext_whatever_title' => NULL, 'do_next_editing_categories' => false, 'special_edit_frontend' => false, 'upload' => NULL, 'possibly_some_kind_of_upload' => false, 'cat_aed_module' => NULL, 'alt_aed_module' => NULL, 'seo_type' => NULL, 'posting_form_title' => NULL, 'posting_form_text' => '', 'posting_form_text_parsed' => NULL, 'type_code' => 'v', 'catalogue' => false, 'output_of_action_is_confirmation' => false, 'second_stage_preview' => false, 'add_submit_name' => NULL, 'edit_submit_name' => NULL, 'do_preview' => true, 'add_one_label' => NULL, 'add_one_cat_label' => NULL, 'edit_this_label' => NULL, 'edit_one_label' => NULL, 'edit_this_cat_label' => NULL, 'edit_one_cat_label' => NULL, 'do_next_description' => NULL, 'appended_actions_already' => false, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'posting_field_required' => true, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer' => NULL, 'table' => NULL, )), 'posting_form_title' => NULL, 'posting_form_text' => '', 'posting_form_text_parsed' => NULL, 'javascript' => NULL, 'type_code' => 'd', 'non_integer_id' => false, 'output_of_action_is_confirmation' => false, 'second_stage_preview' => false, 'add_submit_name' => NULL, 'edit_submit_name' => NULL, 'add_one_label' => NULL, 'add_one_cat_label' => NULL, 'edit_this_label' => NULL, 'edit_one_label' => NULL, 'edit_this_cat_label' => NULL, 'edit_one_cat_label' => NULL, 'do_next_description' => NULL, 'appended_actions_already' => false, 'select_name_description' => NULL, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'posting_field_required' => true, 'table_prefix' => '', 'array_key' => 'id', ))
Type'->'
Args 

File'C:\wamp\www\ocp72a1\sources\site.php'
Line'970'
Function'load_module_page'
Args'cms/pages/modules/cms_catalogues.php'

'cms_catalogues'


File'C:\wamp\www\ocp72a1\sources\site.php'
Line'753'
Function'request_page'
Args'cms_catalogues'

true


File'C:\wamp\www\ocp72a1\cms\index.php'
Line'50'
Function'do_site'
Args 
Back to the top
 
Posted
Rating:
#75640
Avatar

Tracker uses same usernames as the main site.

You can't change field types 100% freely, only between equivalent storage classes. You'd need to delete the field and recreate. To preserve data the CSV import/export feature can help.

I think you are using the alpha, I'm aware there was a bug adding a new catalogue. You can put &id=test onto the URL to trick it into working.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#75845
Avatar

Honoured member

Hi Chris,

could you post your latest version of ocPortal 7.2 ? I tried to use the new calendar and catalogue features, but got some errors their. I would like to test it, too :)

Is there already a topic for bug report or should we use the bug tracker?

Best regards
Falko

ANDROMEDA - Das junge Beobachterforum :)
Back to the top
 
Posted
Rating:
#75871
Avatar

Okay, here's an "alpha2". I haven't given any pre-releasing testing at all to this so it might be very buggy. And as before, upgrades won't be supported (I know for sure alpha1 won't upgrade to this, as further catalogue database changes have happened since and we don't track versioning between alpha releases).

Attachment


Regarding bug reports, tracker, forum, ticket, I'm not really bothered – they'll be found.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#75887
Avatar

Community saint

Man, I sense that 7.2 is going to be just a great release.

Bob
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: