Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » Breadcrumb links
Breadcrumb links [message #3056] Mon, 27 August 2012 11:16 Go to next message
gpatti is currently offline  gpatti
Messages: 283
Registered: August 2008
Senior Member
Not sure if I have discovered a bug, or am just mis-using the framework:

I have a list2 screen which then allows navigation to a further list2 screen (so grandparent, parent, child) but don't really want to use a list3 pattern.

However, when I click on the breadcrumb to go back to the parent list2 screen, the grandparent list3 screen is diplayed with an error that nothing has been selected.

Is it necessary to use a list3 pattern?

Edit: This can be demonstrated in the DICT subsystem when going from tables to columns. If you then click on the tables breadcrumb you are returned to the database list with the error message 'Please select an item first'.

[Updated on: Mon, 27 August 2012 11:23]

Report message to a moderator

Re: Breadcrumb links [message #3057 is a reply to message #3056] Tue, 28 August 2012 11:55 Go to previous message
AJM is currently offline  AJM
Messages: 2347
Registered: April 2006
Location: Surrey, UK
Senior Member
This is actually a bug Embarassed

The fix is as follows - in file 'include.session.inc' is a function called 'scriptNext()', and at line 2153 (or thereabouts) you shoud see the following code:
if (!empty($current_task)) {
   $script_vars['current_task'] = $current_task;
} // if

Change this to the following:
$script_vars['current_task'] = $GLOBALS['task_id'];

Try this and check that it works OK.


Previous Topic: Error reporting on UPD3 screen
Next Topic: How to search all searchable fields of a table at the same time
Goto Forum:
  


Current Time: Wed Apr 24 09:54:11 EDT 2024

Total time taken to generate the page: 0.00949 seconds