RE: [SubjectsPlus] SP Records add to ANY guide

14 views
Skip to first unread message

McManus, Molly

unread,
Feb 1, 2012, 4:41:37 PM2/1/12
to subjec...@googlegroups.com
Someone correct me if I'm wrong, but these are my notes on how Andrew helped me fix that problem.

If you want to have the option to add any old subject to a record when you have admin or e-resource manager privs, go to sp\control\includes\classes\sp_Record.php and change this line

$subject_string = getSubBoxes('', 50);

to this

if ($_SESSION["admin"] == "1" || $_SESSION["eresource_mgr"] == "1") {
$subject_string = getSubBoxes('', 50, 1);
} else {
$subject_string = getSubBoxes('', 50);
}

This allows the ADMIN and eres librarian (person with eresource_mgr permission)
to add a record to any subject.

Molly


-----Original Message-----
From: subjec...@googlegroups.com [mailto:subjec...@googlegroups.com] On Behalf Of nathan2103
Sent: Wednesday, February 01, 2012 2:31 PM
To: SubjectsPlus
Subject: [SubjectsPlus] SP Records add to ANY guide

In SP version 0.8 we were able to add any SP record to Any Guide. In
the SP record edit screen there is a section called Subjects with a
dropdown list of guides to which that SP record might be added. Under
SP version 1.0.1 you may only add an SP record onto guide which you
are editor or co-editor.

We really need to be able to add an SP record to any Guide. So if a
user has the ability to edit SP records, then they should be able to
add a record to any guide.

I found the //Subjects in the control/includes/classes/sp_Record.php
line 208

I think it involves changing this line...
$_SESSION["eresource_mgr"] == "1")

to
$_SESSION["records"] == "1")

I tried this change and it did not make all //Subjects appear in the
list on the SP edit records page.

Also, it might be helpful it there was an ADD ALL button.

By the way, I think Andrew is doing an awesome job with SP! Kudos

--
You received this message because you are subscribed to the Google Groups "SubjectsPlus" group.
To post to this group, send email to subjec...@googlegroups.com.
To unsubscribe from this group, send email to subjectsplus...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/subjectsplus?hl=en.

Nathan Schwartz

unread,
Feb 1, 2012, 4:59:22 PM2/1/12
to subjec...@googlegroups.com

Yes, it worked!

Thank you

nathan2103

unread,
Feb 1, 2012, 3:31:08 PM2/1/12
to SubjectsPlus
Reply all
Reply to author
Forward
0 new messages