#3198 editSection template blocks link error

Slash 2.3/2.4
open
5
2004-11-27
2004-11-27
Moss
No

The edit section screen using the
editSection;sections;default has been upgraded since
2.2.6; looks good. But it still has a deficiency in the links
to edit blocks. It is using

admin.pl?op=blocks&bid=suchandsuchblock

but looking at admin.pl it uses bid1 and/or bid2, not bid.
A corresponding blocked1 and/or blocked2 must be set to
Edit+Block to be effective. The link still works, but only
gets the block edit page up with the first entry in each
type-of-block selection. With the following link

admin.pl?op=blocks&bid1=suchandsuchblock&blocked1=Edi
t+Block

the block edit page opens with the specified block already
loaded for editing. The way the blockEdit code in
admin.pl works, it doesn't really matter whether you use
bid1 or bid2, so why bother figuring out if it is a portald
block?

So a simple one line change fixes it (makes it better, the
way it was intended to be.)

The new editSection came from cvs MAIN on 11-26-2004.

Discussion

  • Moss

    Moss - 2004-11-27

    diff -c of old-editSection; new

     
  • Jamie McCarthy

    Jamie McCarthy - 2004-11-27
    • assigned_to: jamiemccarthy --> cowboyneal
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks