← Back to team overview

mahara-contributors team mailing list archive

[Bug 1044877] Re: Go back to the page on which you had started

 

Hi Jose,

Thanks for the suggestion! That does sound like the correct way to
implement it; it's a variant on the pattern of including a "backurl" in
a request so that the form knows which page to return to after it's
done. :)

There is some developer documentation of Mahara up here:
https://wiki.mahara.org/index.php/Developer_Area

However, it's true that Mahara is still somewhat poorly documented.

One thing that can help you to find where the code for something lives,
is language strings. Every string displayed to the user in Mahara is
abstracted out for localization purposes, and stored in a file in one of
the "lang" directories of the project. So if you were looking for a
button that says "Make public", you could search through the files in
those "lang directories", find the language string itself with its
unique identifier ($string['makepublic'] = "Make public";), and then
locate all the places in the code that pass that 'makepublic' occurs.

I also use Eclipse-PDT with the XDebug debugger. This allows line-by-
line debegging, which can make it a lot quicker to see where the code is
going.

Anyway, if you want to implement your fix and send us a patch, that'd be
much appreciated. :)

Cheers,
Aaron

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contrib members
https://bugs.launchpad.net/bugs/1044877

Title:
  Go back to the page on which you had started

Status in Mahara ePortfolio:
  Triaged

Bug description:
  When you have multiple pages of notes or portfolios, e.g. 13, and you
  delete a note from say page 10, you are taken back to page 1 after you
  deleted the note instead of being taken back to page 10. It would be
  good to go back to the original page, in this case 10, to continue
  where you left off.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1044877/+subscriptions


References