[Phpslash-devel] problem with submission block and user errors...
Brought to you by:
joestewart,
nhruby
From: Ajay S. <ss...@od...> - 2003-02-23 22:51:47
|
Hey, I'm starting to play around with the phpslash 0.7 series and I'm noticing that when I log into the site there's a list of all the submissiosn... nice! Problem is that the 'next' button doesn't work on the submission block. The '$first' variable isn't being set in Block_render_submission.class::submissions so I threw in a: $first = $_GET['next']; at the top of the method and it now works fine. This is kind of a hack way to do it, I wasn't sure if the GET variables were supposed to be pulled in via the $block_info var or what. A lot of code in this method is just copied from Submission.class::listSubmission? Is that a good idea? I think it we should be trying to reuse the code from the Submission class in the block instead of having it set in two different places... Also, I was playing around with the user account stuff. So I registered me a new account. I could log in a stuff but I couldn't change any of my user settings. The only way I could change stuff (like the url, quote, etc...) was to logout, login as an admin, then change it throught the author interface. later, ajay -------------------------------------------------------------------- Satyajot (Ajay) Sharma ss...@od... -------------------------------------------------------------------- |