FAQs for Admins

From SubjectsPlus

Jump to: navigation, search

Contents

Subject Splash Page

How do I change the guide types? I don't want to call them "Subject", "Course" and "Topic"

Go to control/includes/config.php. At the top of the file there is an array, $guides_types. Change the name of existing items, remove them, or add additional ones according to your lights. Note that if you already have guides with the old label, you need to update the "subject" table in MySQL or else those old guides will seem to disappear.

Example: You want to have guide types of "Subjects," "Donuts" and "Critters." You would make that array

$guide_types = array("Subjects", "Donuts", "Critters");

And since you have changed "Subject" to "Subjects," if you already have some guides with that label in place, you will need to update your subjects table with a query like this:

UPDATE subject SET type = 'Subjects' WHERE type = 'Subject'

Admin: Staff Info

How do I get people's pictures in place, rather than that generic silhouette?

You need to put an image called headshot.jpg in that person's user folder. By default, the silhouette image is copied into the user's folder when that user is created. So, to add joe blow's picture--assuming his email is joeblow@yourcollege.edu, you'd navigate to assets/users/_jblow/ and replace the generic headshot.jpg with your own. I'd make all the headshots the same width (and pref size, I guess) for a more uniform look, but that's just me.

The next version will have a file uploader to simplify this, and hopefully allow the staff member to do this themselves.

How do I change what appears in that little "Subject Specialist" box

File:sample_librarian.jpg

You can set the email address, phone, etc., through the admin tab. You set the picture as detailed in the faq above.

If you want to change the label from "Subject Specialist" to something else--get thee to the pluslets table and change the "title" field to something more congenial. It's probably pluslet_id #3.

If you want to change the look and feel of this box, or its content, the pluslet itself is located in assets/fixed_pluslets/librarian.php

FCKEditor

I wish there were more WYSIWYG icons.

  • There are. SubjectsPlus uses the "Basic" set of icons, there is also a "Default" set, which includes an astonishing number of icons. If you want something in-between, you need to create a custom set.

So how do I get this "Default" set?

You just need to edit this line, which appears in control/include/functions.php in the "formulater" function (do a search in the file), and elsewhere:

    $oFCKeditor->ToolbarSet = 'Basic';

Change 'Basic' to 'Default' (Note that this is case-sensitive.)

How do I create a custom set?

There are instructions on the FCKeditor site. It's pretty easy, but remember to clear your browser cache or else you won't see the changes and you'll pull out your hair and very possibly go mad.

People have cut-and-pasted in weird code

For shame. Look at the "source" tab. It can be helpful to view the source this way to see exactly what is being saved in the DB. You'll often find a whole lot of exciting Microsoft XML after cutting and pasting out of a Word doc. This can be avoided by using the little "Paste from Word" icon in the FCKeditor toolbar.

Personal tools